Hi,
I’m trying to use an external command with the nsclient++. but in Nagios get the message No output returned from plugin.
When I try the command from the commandline it is working.
nsc.ini
[NRPE Handlers]
testappl2=c:\nsclient\tstappl2.cmd
c:\tstappl2.cmd
@echo off
echo "Warning: appl2"
exit 1
Running the command I get
./check_nrpe -H x.x.x.x -p 5666 -c testappl2
"Warning: appl2"
But within nagios web I get: No output returned from plugin
I also use check_nrpe for some services and uptime and these are reported correctly within nagios
Regards,
Rene