Page 1 of 1

Nagiosxi check sql instances with special characters

Posted: Thu Mar 02, 2017 10:45 am
by nagios_sgit
hi all,
we have the last version nagiosxi running in a virtual env. We have some prob trying to check sql instances on a server running nsclient 0.5.0.62

this Is the reply for a force check of a mssql instance
Failed to open service MSSQL$SQLEXPRESS$: 1060: The specified service does not exist as an installed service

This is the service RUN Check Command

[nagios@nagiosxi ~]$ /usr/local/nagios/libexec/check_nrpe -H itssrv0013v.milano.local -c CheckServiceState -a ShowAll MSSQL\$SQLEXPRESS
OK: MSSQL$SQLEXPRESS: running|'MSSQL$SQLEXPRESS'=4;0;0


But works also fine with “MSSQL\$\SQLEXPRESS” and with “MSSQL\$SQLEXPRESS” and with MSSQL\$SQLEXPRESS

Thanks in advance for any hint.
Fabio M.

Re: Nagiosxi check sql instances with special characters

Posted: Thu Mar 02, 2017 3:12 pm
by tmcdonald
I see you have also opened an email ticket for this, so we will be locking this thread and continuing in the email ticket. In the future please only open one or the other so we are not duplicating our efforts.