I’m running check_nrpe v2 from Nagios, and am trying to monitor one of my Windows XP clients. I have installed NRPE_NT v0.8 on the XP machine and have added the following entry to nrpe.cfg
This .cmd file simply Echoes something to the stdout, and then exits with a code of 1.
The relevant entries in my checkcommands.cfg look like this:
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c check_nrpe_test
and the line in services.cfg looks like this:
When I scheduled this service check, Nagios shows a Status of ‘Warning’ and says that ‘No output returned form plugin’. The NRPE_NT.Log, shows that the command was called, and that it exited with a return code of 1.
If I manually run the command from …/libexec, it executes, but doesn’t display any result. Can anyone shed any light on why i’m not getting the return value back to Nagios.