This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

How to monitor a stopped service?

I need to be able to monitor a service that is stopped. If the service is started, I need an alert.  Is this possible?

  • Hey chaldz,

    Originally I was going to say that this would be possible using a Custom SNMP Monitor, however, it turns out that if a service is not running, it simply does not exist in the OID branch.  As a result, the Monitor would fail automatically.

    The other option would be to simply monitor the process and if it is running, cause the Monitor to fail.  You can use the script found at the following location, however, set the Monitor to expect a 1 instead of a 0:

    Hopefully this gets you close to what you need.

    Sincerely,

    Chris Foley - SolarWinds - Support Specialist
    Support:866.530.8040 |Direct:512.682.9385 |Fax:512.857.0125
    network management simplified  |  solarwinds.com