CheckProcState

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rredmond
Posts: 48
Joined: Mon Feb 28, 2011 10:17 am
Location: New Hartford, NY

CheckProcState

Post by rredmond »

2 things really. Ive had several requests to monitor 2003 Server Windows Processes. When using the Wizard they allow me to add it nicelly and then when the config is applied they dissapear completely. Frustrated, I then proceded to create my own commands utilizing the NSClient. From everything Ive read this command should work:

$USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkprocstate -a showall $ARG1$=started

Service created with ARG1$ as my process. Applies but then returns the following:

CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.

I found nothing in the logs. Ive run the NSClient Test function on the host server AND Ive tested the command from the CL on the server utilizing the port in the command! They return an OK!OK. Im guessing this HAS to be how my service is configured in Nagios XI but Im at a complete loss. Any help on this would be greatly appreciated!

Randy
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: CheckProcState

Post by mguthrie »

Could you show us a sample service definition that has that $ARG1$ in it?

Does that argument have any spaces in it? It will need to be quoted if it does.
rredmond
Posts: 48
Joined: Mon Feb 28, 2011 10:17 am
Location: New Hartford, NY

Re: CheckProcState

Post by rredmond »

I will try the quotes. Thank You!
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: CheckProcState

Post by rdedon »

Just post here if this doesn't work for you, thanks! :-)
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
Locked