Nagiosxi check sql instances with special characters

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nagios_sgit
Posts: 1
Joined: Mon Feb 06, 2017 4:11 am

Nagiosxi check sql instances with special characters

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagiosxi check sql instances with special characters

Post 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.
Former Nagios employee
Locked