Box293 wrote:The brackets and $ signs need to be escaped with a backslash '\'.PhilG wrote:check_xi_service_nsclient!<pass>!SERVICESTATE!-l GxEvMgrC(Instance001) -d SHOWALL
check_xi_service_nsclient!<pass>!SERVICESTATE!-l GxCVD(Instance001) -d SHOWALL
check_xi_service_nsclient!<pass>!SERVICESTATE!-l MSSQLFDLauncher$UWCX01 -d SHOWALL
check_xi_service_nsclient!<pass>!SERVICESTATE!-l MSSQL$UWCX01 -d SHOWALL
Code: Select all
check_xi_service_nsclient!<pass>!SERVICESTATE!-l GxEvMgrC\(Instance001\) -d SHOWALL check_xi_service_nsclient!<pass>!SERVICESTATE!-l GxCVD\(Instance001\) -d SHOWALL check_xi_service_nsclient!<pass>!SERVICESTATE!-l MSSQLFDLauncher\$UWCX01 -d SHOWALL check_xi_service_nsclient!<pass>!SERVICESTATE!-l MSSQL\$UWCX01 -d SHOWALL
How about Services that have spaces in them, ex. "BMC FootPrints Asset Core Agent". I would have to add a backslash in front of each space then or are spaces acceptable and don't require the escape character?