Just to check if it's a problem related to per missioni, chmod 777 the plugin<br><br>Scott Anderson <sda@torand.org> ha scritto:<br><br><div dir="ltr">I am using the <a href="http://check_mem.pl">check_mem.pl</a> 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:<div><br>
</div><div>command[check_mem]=/usr/lib64/nagios/plugins/<a href="http://check_mem.pl">check_mem.pl</a> -f -C -w 20 -c 10</div><div><br></div><div>but on the nagios page I get the Unable to read output.. </div><div><br></div>
<div>I cannot figure out why this is since as the nagios user on the box I get this as output.. <br clear="all"><div><br></div><div>outland /etc/nagios $sudo su - nagios</div><div>-sh-4.1$ /usr/lib64/nagios/plugins/<a href="http://check_mem.pl">check_mem.pl</a> -f -C -w 20 -c 10</div>
<div>OK - 89.9% (3292024 kB) free.|TOTAL=3663148KB;;;; USED=371124KB;;;; FREE=3292024KB;;;; CACHES=1043004KB;;;;</div><div><br></div></div><div style>so it works as a stand alone but not within nrpe/nagios </div><div style>
<br></div><div style><br></div><div><br></div></div>