Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support Advanced troubleshooting How to setiup agent status module

  • How to setiup agent status module

    Posted by franklin-harry on December 28, 2015 at 15:39

    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.

    serv24 replied 5 years ago 3 Members · 2 Replies
  • 2 Replies
  • emilio

    Member
    December 28, 2015 at 17:37
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    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.

  • serv24

    Member
    July 31, 2019 at 17:32
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Emilio’s answer was great I had this problem but it was solved.