Windows Service check

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rmank
Posts: 20
Joined: Tue Apr 14, 2015 6:35 am

Windows Service check

Post by rmank »

Hello ,

we in the phase of moving to NAGIOS XI from PATROL .So there is a very specific need to monitor

-->Windows services which are down (set with automatic)
-->Trying with checkServiceState

[root libexec]# ./check_nrpe -H XXXX -p XXX -t 30 -c CheckServiceState -a CheckAll
CRITICAL: AeLookupSvc: stopped (critical), AudioSrv: stopped (critical), Zabbix Agent: stopped (critical)

but the concern is here that ,we will get only one alert ,even when there are multiple services are going down .So is there a way to set
-->to get individual alerts when there is a service failure
-->get two individual alerts if there are two process down at the same time ..

a sample view is attached from Patrol here ...
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Windows Service check

Post by rkennedy »

You should be able to create a new service with Nagios, for each service you'd like to check. The command can be adjusted to use specific services. See below for an example -

Code: Select all

[root@suse11 libexec]# ./check_nrpe -H 192.168.5.47 -c CheckServiceState -a MMCSS
CRITICAL: MMCSS: stopped delayed ()|'MMCSS'=1;0;4
Former Nagios Employee
rmank
Posts: 20
Joined: Tue Apr 14, 2015 6:35 am

Re: Windows Service check

Post by rmank »

thanks a lot .so in general we have to explicitly set the service name unless we sort it with own split script ...
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Windows Service check

Post by rkennedy »

-->to get individual alerts when there is a service failure
-->get two individual alerts if there are two process down at the same time ..
In order for you to see alert changes per status, yes, and for notifications sake, yes.
Former Nagios Employee
rmank
Posts: 20
Joined: Tue Apr 14, 2015 6:35 am

Re: Windows Service check

Post by rmank »

thanks a lot !
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Windows Service check

Post by bwallace »

Were there any other questions or may we lock this thread?
Be sure to check out the Knowledgebase for helpful articles and solutions!
rmank
Posts: 20
Joined: Tue Apr 14, 2015 6:35 am

Re: Windows Service check

Post by rmank »

certainly we can close it ...........
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Windows Service check

Post by rkennedy »

No problem, am I good to mark this thread as resolved?
Former Nagios Employee
Locked