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 Windows servics monitoring

  • Windows servics monitoring

    Posted by Bty on December 1, 2010 at 14:16

    Using SNMP I’m able to retrieve the windows service status, but the problem is I’m unable to trigger an alarm when the service is down.

    Using the snmp query
    snmpwalk -v2c -c password HOSTNAME SNMPv2-SMI::enterprises.77.1.2.3.1.1.17.65.117.116.111.109.97.116.105.99.32.85.112.100.97.116.101.115

    I can get the status of Automatic update service, Pandora does read correctly when the service is available, but I can’t find a way to trigger the alarm when there is no response.

    In Pandora I can see the “Last contact” being red when the service is down.

    Any idea on how to trigger an alarm when “Last contact” is red?

    reditina1 replied 13 years, 10 months ago 3 Members · 4 Replies
  • 4 Replies
  • raul

    Member
    December 1, 2010 at 22:34
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I think the problem is the response. As you can see, it gives some text. Maybe you need to parse it to get 0 or 1, and then use it to launch the alert if it¡s 0.

  • Bty

    Member
    December 2, 2010 at 14:02
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    The problem is, if the service is down there won’t be a response from the SNMP query.

  • raul

    Member
    December 2, 2010 at 16:01
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    1
    Down
    Drop it
    ::

    Maybe you can create a small script that gives you 0 if no answer from snmpwalk, and 1 if you get the answer

  • reditina1

    Member
    April 29, 2011 at 11:11
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    thank you!!!