Page 1 of 1

Service monitoring

Posted: Wed Oct 02, 2013 12:12 pm
by kwebb42
Hello, I am trying to monitor running services on my Windows servers. Here is what I have set up for my check command

$USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2% %ARG3$
ARG1=SERVICESTATE
ARG2=-d SHOWALL -l
AGR3=w3sqlstate.exe

I cna not get it to run. Any help would be much appreciated.

Re: Service monitoring

Posted: Wed Oct 02, 2013 1:37 pm
by tmcdonald
Do you have NSClient installed and properly configured on your target Windows machine?

Re: Service monitoring

Posted: Wed Oct 02, 2013 1:42 pm
by kwebb42
Yes it works for all my other services

Re: Service monitoring

Posted: Wed Oct 02, 2013 1:58 pm
by tmcdonald
kwebb42 wrote:$USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2% %ARG3$
Are the percent signs in your config or is this a typo on the forums?

Re: Service monitoring

Posted: Wed Oct 02, 2013 3:05 pm
by kwebb42
Thanks that was my problem. I knew it was something simple.

Re: Service monitoring

Posted: Wed Oct 02, 2013 3:28 pm
by tmcdonald
As a general rule I always try to start with simple. Saves a lot of headaches ;)