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 Trigger an alert when losing agent contact

  • Trigger an alert when losing agent contact

    Posted by ivanhoe on January 5, 2010 at 16:44

    Is it possible to configure an alert if an agent doesn’t send/update any data during a certain amount of time. For example, if the agent doesn’t send any (synchronous) data in 30 minutes.

    I’ve experienced some difficulties to identify a problem when the remote host is OK (respond to ping, tcp ports, …) but the agent doesn’t send any data (see attached img)

    One more question:
    Is it possible to trigger an alert if any of the pandora servers doesn’t start (Data, Network, Recon, etc.)? I’d be really useful to identify problems.

    Thank you in advance!

    ivanhoe replied 15 years, 1 month ago 2 Members · 2 Replies
  • 2 Replies
  • Sancho

    Administrator
    January 5, 2010 at 20:45
    2321 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    First question: Yes, read more about the special module called “keepalive”; it’s just for that, BUT is not compatible with doing remote “keepalive” (using ping, for example) because it will change to critical status (keepalive module) ONLY if all agent has no contact in interval x 2 seconds.

    Second question: Yes, use the “extra” tool called pandor_watchdog, see more at:

    http://openideas.info/wiki/index.php?title=Pandora_3.0:Documentation_en:Server_Management

    (Note that this is for 3.0 but could be easily adapted to work on 2.x servers)

    Happy new year ! 🙂

    Is it possible to configure an alert if an agent doesn’t send/update any data during a certain amount of time. For example, if the agent doesn’t send any (synchronous) data in 30 minutes.

    I’ve experienced some difficulties to identify a problem when the remote host is OK (respond to ping, tcp ports, …) but the agent doesn’t send any data (see attached img)

    One more question:
    Is it possible to trigger an alert if any of the pandora servers doesn’t start (Data, Network, Recon, etc.)? I’d be really useful to identify problems.

    Thank you in advance!

  • ivanhoe

    Member
    January 11, 2010 at 19:42
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I tried both solutions and they worked fine! Your watchdog script is very cool. 🙂

    Thanks!