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
CheckProcState
Re: CheckProcState
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.
Does that argument have any spaces in it? It will need to be quoted if it does.
Re: CheckProcState
I will try the quotes. Thank You!
Re: CheckProcState
Just post here if this doesn't work for you, thanks! 