New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

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

Your Vote:

Up

Down

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 by  . . (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

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]



Please log in or register to enter your reply.


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.