I know this question has been asked already, but maybe this is a feature on the newer versions of PRTG. There are some services that need to remain disabled unless something else is required for specific servers, so can i monitor the services to send a notification when the service is set to start? since they are disabled when i unpause the sensor it sends the error of "service stopped". Thanks
Article Comments
Hi,
Take a look at Custom Sensor PTF.ServiceStatus.
It retrieves the status of a Windows service and returns a value, where
1=Stopped, 2=StartPending, 3=StopPending, 4=Running, 5=ContinuePending, 6=PausedPending, 7=Paused
Using the sensors parameters, you can provide a comma seperated list of service statusses that will set your sensor in a warning or down state.
Regards,
Apr, 2013 - Permalink
Hello,
thank you very much for your KB-Post. I'm very much afraid this can only be done with a Custom Sensor. The normal query of the WMI Service sensors is:
So if you would use this query and only use the "State" it should be possible to notify upon the service having a state that is not desired. To check the possible values you can use our WMI Tester and run this query against a few different services in different states.
best regards.
Apr, 2013 - Permalink