Nagiosxi check sql instances with special characters
Posted: Thu Mar 02, 2017 10:45 am
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.
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.