[Nagios-users] Nagios/NRPE script getting "No output returned from plugin"

Rick Munn rick at screenscape.net
Thu Oct 28 16:46:55 UTC 2010


Hi,

Getting a  "No output returned from plugin" error message from a Nagios/NRPE
script

1) Running Nagios v3.2.2 and v3.2.3(now) and NRPE v2.12
2) The script:

OK_STATE=0
UNAME=`/bin/uname -r`
echo "OK: Kernel Version=$UNAME"
exit $OK_STATE


2) Results on command line on Nagios Server using NRPE

 - Same OK results from both the root and nagios user:

> [nagios at cmonmm03 libexec]$ ./check_nrpe -H dappsi01b.dev.screenscape.local
-c check_kernel
OK: Kernel Version=2.6.18-194.11.3.el5

When I run the check_kernel.sh script on the machine locally it works there
too.

Help, any thoughts or known solution regarding this would be appreciated?

Thank you
Rick B. Munn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nagios.com/pipermail/nagios-users/attachments/20101028/fed47d4e/attachment.html>


More information about the Nagios-users mailing list