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

Nygren, Ray rnygren at frhg.org
Tue Aug 30 20:09:16 CEST 2011


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/bfef6758/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/bfef6758/attachment.gif>

More information about the Devel mailing list