Nagios/NRPE script getting "No output returned from plugin"

Rick Munn rick at screenscape.net
Thu Oct 28 18:46:55 CEST 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: <https://www.monitoring-lists.org/archive/users/attachments/20101028/fed47d4e/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list