How to specify Windows Service Instance

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
cvantilborg
Posts: 4
Joined: Mon Nov 17, 2014 1:17 pm

How to specify Windows Service Instance

Post by cvantilborg »

I am attempting to monitor a service on a Windows host using NSClient++.

The service I am trying to monitor is called 'AOS60$01' because it is the first instance of that service. So my configuration is : check_xi_service_nsclient!WzR774eC!SERVICESTATE!-l AOS60$01 -d SHOWALL

This then returns: AOS60/bin/sh1: Error

What the correct way to monitor this service?

Running as a VM deployed on ESX 64 Bit Version 2014R2.0.

Any help would be appreciated.

Corey Vantilborg
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: How to specify Windows Service Instance

Post by lmiltchev »

Try this - click on the service under the "Service Details", click on Configure->Re-configure this service, and modify the command by changing this:

Code: Select all

check_xi_service_nsclient!WzR774eC!SERVICESTATE!-l AOS60$01 -d SHOWALL
to this:

Code: Select all

check_xi_service_nsclient!WzR774eC!SERVICESTATE!-l AOS60\$01 -d SHOWALL
Click on "Update" then schedule a forced immediate check to test it.
Be sure to check out our Knowledgebase for helpful articles and solutions!
cvantilborg
Posts: 4
Joined: Mon Nov 17, 2014 1:17 pm

Re: How to specify Windows Service Instance

Post by cvantilborg »

That was the solution. Thank you very much.

Regards,
Corey
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: How to specify Windows Service Instance

Post by lmiltchev »

I am glad I could help! :)
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked