eG Monitoring
 

Measures reported by WinSvcStatusTest

The WinSvcStatusTest is specific to Microsoft Windows systems. This test discovers all the services that are configured for automatic startup on the system. Everytime the test executes, it checks if each of the automatic services is up or not. If a service is down and the maximum number of restart attempts has not been reached, then the test attempts to restart the service. Whether the service restarted successfully or not is reported as one of the measures of the test. If a service is down and the maximum number of restart attempts has been reached, the test takes no automatic action to restart the service. The measures made by this test are as follows:

Measurement Description Measurement Unit Interpretation
Service_availability Whether the service is currently running or not Percent A value of 100 is reported if the service is running when this test executes. If the service is down, the test attempts to restart the service and once again checks the service status. If the service has been restarted, availability is reported as 100. On the other hand, if the service has failed to restart, availability is reported as 0.
Successful_restart Whether the stopped service has been successfully restarted or not Number This measure is relevant only if the test execution has determined that the service has stopped. The value of 1 denotes that the service was successfully restarted by the test. Otherwise, this measure takes a value of 0.
Failed_restarts The number of restarts that have failed Number This measure has a value of 0 if the service does not have to be restarted by the test, or if a restart of the service by the test is successful. If a restart of the service by the test is not successful, this value is incremented by 1. If the value of this measure equals the RESTARTATTEMPTS parameter of the test, the eG agent stops attempting to restart the failed service.