check_mem.pl returns NRPE: Unable to read output

Scott Anderson sda at torand.org
Sun Dec 23 00:40:48 CET 2012


I am using the check_mem.pl script created buy Justin Ellison. I can run it
on my 64 bit box as the user nagios, with out a problem. my nrpe.cfg line
looks like this:

command[check_mem]=/usr/lib64/nagios/plugins/check_mem.pl -f -C -w 20 -c 10

but on the nagios page I get the Unable to read output..

I cannot figure out why this is since as the nagios user on the box I get
this as output..

outland /etc/nagios $sudo su - nagios
-sh-4.1$ /usr/lib64/nagios/plugins/check_mem.pl -f -C -w 20 -c 10
OK - 89.9% (3292024 kB) free.|TOTAL=3663148KB;;;; USED=371124KB;;;;
FREE=3292024KB;;;; CACHES=1043004KB;;;;

so it works as a stand alone but not within nrpe/nagios
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20121222/7b4baad1/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
-------------- 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