Hi all, i’m using Nagios version 3.0.6 and i have problem with command check_nt, following is my command:
define service{
use generic-service
host_name winserver
service_description W3SVC
check_command check_nt!SERVICESTATE!-d SHOWALL -l MSSQL$MYSERVICE
}
with the service have normal name i can get service status normally, but with this service, because service name have special character $ caused i got problem with nagios reply back the service name like MSSQL so can not found the service from remote host, i had been tried something like MSSQL**$MYSERVICE or ‘MSSQL$MYSERVICE’ till got problem but on this time system reply back that can not found service MSSQL$MYSERVICE$** :shock: why have more $ character like this. How to solve this problem, any one can help me.