Pandora FMS community forums
Script execution with plugin agent - Printable Version

+- Pandora FMS community forums (https://pandorafms.com/community-forums)
+-- Forum: Pandora FMS (https://pandorafms.com/community-forums/forum-3.html)
+--- Forum: Community support (English) (https://pandorafms.com/community-forums/forum-7.html)
+--- Thread: Script execution with plugin agent (/thread-15865.html)



Script execution with plugin agent - jgarlob - 09-15-2021

Hello,

 There is parameter called "module_condition", which is used to execute a script when some condition is reached.

 How can this be done when data are obtained from a plugin agent (just as plugin pandora_df_used)?

Thanks


RE: Script execution with plugin agent - vic - 09-17-2021

(09-15-2021, 10:36 AM)jgarlob Wrote: Hello,

 There is parameter called "module_condition", which is used to execute a script when some condition is reached.

 How can this be done when data are obtained from a plugin agent (just as plugin pandora_df_used)?

Thanks

Hi jgarlob,

I'm afraid that if the agent is generated by a plugin you won't be able to do this kind of monitoring.

On the other hand, if it's a software agent, you'll simply have to follow the examples in our wiki.
https://pandorafms.com/manual/en/documentation/03_monitoring/02_operations?s[]=module_condition#conditional_monitoring

Best regards,
Víctor.