Page 1 of 1

How to specify Windows Service Instance

Posted: Mon Nov 17, 2014 1:27 pm
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

Re: How to specify Windows Service Instance

Posted: Mon Nov 17, 2014 3:48 pm
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.

Re: How to specify Windows Service Instance

Posted: Mon Nov 17, 2014 4:18 pm
by cvantilborg
That was the solution. Thank you very much.

Regards,
Corey

Re: How to specify Windows Service Instance

Posted: Tue Nov 18, 2014 9:17 am
by lmiltchev
I am glad I could help! :)