[Nagiosplug-devel] FW: SERVICESTATE fails with $ imbedded inregistry name

Nygren, Ray rnygren at frhg.org
Tue Aug 30 20:13:47 CEST 2011


Version 3.2.3 nagios debian linux and plugins 1.4.15

 

Micorsoft puts a $ in the SQL server services but your code truncates
the service registry name after the $

 

check_command           check_nt!SERVICESTATE! -d SHOWALL -l MSSQL$HEMS

 

returns service not found MSSQL$

 

Is there any solution? I tried single quotes, double quotes, \ and back
tick with same error

I even renamed the service without $ and still no go.(Not display name
but registry name) 

 

Ray Nygren

Database Administrator

(530) 740-1940 X3801

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20110830/66c184d1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 9771 bytes
Desc: image001.gif
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20110830/66c184d1/attachment.gif>


More information about the Devel mailing list