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
------------------------------------------------------------------------------
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
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to