Hi,
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
command[check_nrpe_test]=c:\program files\NRPE_NT\bin\test.cmd
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_name check_nrpe_test
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c check_nrpe_test
and the line in services.cfg looks like this:
check_command check_nrpe_test
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.
Thx
Mick