NSClient CheckServiceState issue
Posted: Wed Jun 11, 2014 3:52 am
NagiosXI 2012R2.9
check_nrpe Version: 2.12
NSClient version 0,4,1,102
Can someone advice me how to check Windows Service Name that has () in the name?
I know I can use the short name but I want to use the long Desc.
Using Nscp test it seem fine but from check_nrpe it does not work
Without brackets in the name, works fine
[nagios@nagiosdevxi1 libexec]$ ./check_nrpe -H 10.103.4.22 -c CheckServiceState -a "Corona 76 Server" ShowAll=Long
OK: Corona 76 Server: started
With brackets does not work
[nagios@nagiosdevxi1 libexec]$ ./check_nrpe -H 10.111.1.111 -c CheckServiceState -a "Corona 76 xMi Service (corona 7.6)" ShowAll=Long
CRITICAL: Corona 76 xMi Service (corona 7.6): not found (critical)
I have tried escaping, doubling the brackets still does not work.
Thanks
check_nrpe Version: 2.12
NSClient version 0,4,1,102
Can someone advice me how to check Windows Service Name that has () in the name?
I know I can use the short name but I want to use the long Desc.
Using Nscp test it seem fine but from check_nrpe it does not work
Without brackets in the name, works fine
[nagios@nagiosdevxi1 libexec]$ ./check_nrpe -H 10.103.4.22 -c CheckServiceState -a "Corona 76 Server" ShowAll=Long
OK: Corona 76 Server: started
With brackets does not work
[nagios@nagiosdevxi1 libexec]$ ./check_nrpe -H 10.111.1.111 -c CheckServiceState -a "Corona 76 xMi Service (corona 7.6)" ShowAll=Long
CRITICAL: Corona 76 xMi Service (corona 7.6): not found (critical)
I have tried escaping, doubling the brackets still does not work.
Thanks