Pandora FMS community forums
How to setiup agent status module - Printable Version

+- Pandora FMS community forums (http://pandorafms.org/forum)
+-- Forum: Pandora FMS (http://pandorafms.org/forum/forum-3.html)
+--- Forum: Advanced troubleshooting and problems (http://pandorafms.org/forum/forum-11.html)
+--- Thread: How to setiup agent status module (/thread-7899.html)



How to setiup agent status module - Franklin Harry - 12-28-2015

Hi,

I want to monitor pandora agent status so I defined my module like


module_begin
module_name Agent status
module_type generic_data
module_exec /etc/init.d/pandora_agent_daemon status | grep running | wc -l
module_description Agent status
module_end



so how  to set alert for this module???

I set alert and down the agent but it is not able to filed alert. so please guide me how to set up alert for this.


Re: How to setiup agent status module - emilio - 12-28-2015

Hi Franklin,

You should actually change module_type from "generic_data" to "generic_proc" (boolean type of data).
Next thing to do will be assign critical alert by default to the module.

Regards,
Emilio.