Page 1 of 1

Windows Service Check Issue

Posted: Tue Jun 10, 2014 8:28 am
by brandon.pal
Hi All,

I'm trying to monitor a service in windows but having issues with the service name.

Service Setup
Check Command: check_xi_service_nsclient
$ARG1$: **PASSWORD**
$ARG2$: SERVICESTATE
$ARG3$: -l "MSSQL$VEEAMSQL2008R2" -d SHOWALL

Results
MSSQL: Not Found

Now when I test the command form Service Management I get "OUTPUT: MSSQL$VEEAMSQL2008R2: Started" so I know it works.
It seems for some reason when XI is running the check that is ignoring the $ and everything after.

Any one have any ideas?

Re: Windows Service Check Issue

Posted: Tue Jun 10, 2014 8:44 am
by MSPk
Hi Brandon,

Nagios will not accept certain special characters, Please add two backslashes and a second dollar (\$) symbol to get this going.

$ARG3$: -l "MSSQL\\$$VEEAMSQL2008R2" -d SHOWALL