Hi,
Nagios does not monitor windows service which is configured in Manual Mode startup Type, It only monitors and generates alerts for the service which are in Automatic Starts-up type.
Please assist how to monitor Windows services with Manual Mode Starts-up type.
Regards,
Harish P
Nagios is not monitoring Manul mode windows services
Re: Nagios is not monitoring Manul mode windows services
Using NSClient on the Windows Server in question, I am able to monitor any service that is started or stopped regardless of whether the startup type is Manual or Automatic. Can you give us some more detail about the check that you're running from Nagios? Below are a few examples that demonstrate this working for me (IEEtwCollectorService is a Manual service).
Code: Select all
[root@localhost libexec]# ./check_nrpe -H 192.168.x.x -c checkservicestate -a "IEEtwCollectorService"
OK: All services are in their appropriate state.
[root@localhost libexec]# ./check_nrpe -H 192.168.x.x -c checkservicestate -a "IEEtwCollectorService"
CRITICAL: IEEtwCollectorService: stopped (critical)
Re: Nagios is not monitoring Manul mode windows services
Hi,
Thanks for the update.
Here is the command i am running from my Nagios server:
[root@groundworks ~]# /usr/local/groundwork/nagios/libexec/check_nrpe -H 10.4.144.37 -c get_service -a 10.4.144.37 "MSDTC"
OK - MSDTC: Stopped and Manual
Regards,
Harish P
Thanks for the update.
Here is the command i am running from my Nagios server:
[root@groundworks ~]# /usr/local/groundwork/nagios/libexec/check_nrpe -H 10.4.144.37 -c get_service -a 10.4.144.37 "MSDTC"
OK - MSDTC: Stopped and Manual
Regards,
Harish P
Re: Nagios is not monitoring Manul mode windows services
Try 'checkservicestate' out instead - will that work for you?
Code: Select all
/usr/local/groundwork/nagios/libexec/check_nrpe -H 10.4.144.37 -c checkservicestate -a 10.4.144.37 "MSDTC"