CheckProcState
Posted: Wed Mar 02, 2011 3:05 pm
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
$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