Page 1 of 1

check "MSSQL$MICROSOFT##SSEE"

Posted: Mon Oct 19, 2015 7:27 am
by dcsid
hi !

I have some problem to check MSSQL
The service name is "MSSQL$MICROSOFT##SSEE"
When i use GUI to check it , it send the following result

Code: Select all

COMMAND: /usr/local/nagios/libexec/check_nt -H xxx.xxx.xxx -s "xxxxx"  -p 12489  -l  MSSQL\$MICROSOFT 
OUTPUT : Failed to open service MSSQL$MICROSOFT: 1060: Le service spécifié n'existe pas en tant que service installé.
I tried with
  • MSSQL$$MICROSOFT##SSEE --> not ok
    ]MSSQL\$MICROSOFT##SSEE --> not ok
Please help me

Thanking you

Re: check "MSSQL$MICROSOFT##SSEE"

Posted: Mon Oct 19, 2015 9:21 am
by hsmith
Are you using the test command on the GUI? If so, I wouldn't recommend that. It has issues with special characters. Can you make this work from the command line?

Re: check "MSSQL$MICROSOFT##SSEE"

Posted: Mon Oct 19, 2015 9:38 pm
by Box293
It needs \$$

Code: Select all

MSSQL\$$MICROSOFT##SSEE