Can a sensor be created or configured to monitor a service that has been in the stopping state for a specific amount of time? I would like a notification or run an external program if a service has been in the stopping state for over 30 seconds.


Article Comments

I'm afraid that's not possible with the built-in WMI service sensor.

However, you could write a Custom script sensor that processes the Status field in this WMI class:

http://msdn.microsoft.com/en-us/library/aa394418%28v=VS.85%29.aspx

and then configure your notification accordingly.

Kind regards,

- Volker


May, 2011 - Permalink