Windows Service Check Issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
brandon.pal
Posts: 129
Joined: Wed Feb 19, 2014 10:18 pm

Windows Service Check Issue

Post 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?
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Windows Service Check Issue

Post 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
Locked