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.
Can a sensor be created or configured to monitor a service that has been in the stopping state for a
Modified on 2025-06-10 11:52:10 +0200
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
Disclaimer:
The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.
The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.
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