Page 1 of 1

Monitoring Automatic service on windows server and start

Posted: Mon Jan 25, 2016 6:56 am
by ranjitw
Hi ,

Please suggest the approach to perform below :

Nagios would be monitoring all the automatic services on a server .
When an "automatic" service is down, Nagios should try to restart it automatically.
If the service is back, then Nagios clears the corresponding alert.

Here is the mapping used between the status of the service and the value of the parameter "ServiceStatus" :
0 = OK - running (used for any startup type service)
1 = OK - not running (used for "manual" services)
2 = WARNING - not running (used for "automatic" services)
3 = CRITICAL - not running (used for "automatic" services)

=> By default, when an "automatic" service is down, Nagios should sets the value to 3, so it sends a CRITICAL alert.

Re: Monitoring Automatic service on windows server and start

Posted: Mon Jan 25, 2016 10:21 am
by hsmith
Have you looked into even handlers? This should be able to meet your needs.