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
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 195,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.