I'm trying to monitor mssql service in OMD nagios, but with no success so far.
Communication port: 1433
instance name is like: MSSQL$instance
Here's my check:
check_command check_nt!SERVICESTATE!-l 'MSSQL$$instance' (like you've suggested here http://serverfault.com/questions/517291/monitor-services-with-in-the-service-name-in-icinga-nagios, nagios said: Failed to open service: MSSQL)
I've tried some other combinations:
MSSQL\$$instance (Failed to open service: MSSQL\$SQL2012)
MSSQL"$$"instance (Failed to open service: MSSQL"$"SQL2012)
"MSSQL"$$"instance" (Failed to open service: "MSSQL"$"SQL2012")
Any suggestions very appreciated.
Don't know what causes the problem.
Thanks in advance.