What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Can a sensor be created or configured to monitor a service that has been in the stopping state for a

Votes:

0

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.

sensor windows-services wmi

Created on May 26, 2011 9:26:38 PM



1 Reply

Votes:

0

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

Created on May 27, 2011 11:57:42 AM by  Volker Uffelmann [Paessler Support]




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.