Service monitoring

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
kwebb42
Posts: 19
Joined: Tue Sep 24, 2013 11:38 am

Service monitoring

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Service monitoring

Post by tmcdonald »

Do you have NSClient installed and properly configured on your target Windows machine?
Former Nagios employee
kwebb42
Posts: 19
Joined: Tue Sep 24, 2013 11:38 am

Re: Service monitoring

Post by kwebb42 »

Yes it works for all my other services
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Service monitoring

Post 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?
Former Nagios employee
kwebb42
Posts: 19
Joined: Tue Sep 24, 2013 11:38 am

Re: Service monitoring

Post by kwebb42 »

Thanks that was my problem. I knew it was something simple.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Service monitoring

Post by tmcdonald »

As a general rule I always try to start with simple. Saves a lot of headaches ;)
Former Nagios employee
Locked