Monitoring Automatic service on windows server and start

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Monitoring Automatic service on windows server and start

Post 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.
Regards,
Ranjit W
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Monitoring Automatic service on windows server and start

Post by hsmith »

Have you looked into even handlers? This should be able to meet your needs.
Former Nagios Employee.
me.
Locked