Strange Return code Error

Morris, Patrick patrick.morris at hp.com
Fri May 11 17:58:27 CEST 2007


> I just installed & configured nagios on a RHEL4 U4 64bit 
> 2.6.9-34.ELsmp
> [root at fisdb01 dist]# rpm -qa | grep nagios 
> nagios-2.9-1.el4.rf nagios-plugins-1.4.8-2.el4.rf 
> nagios-plugins-nrpe-2.5.2-1.el4.rf
> nagios-nrpe-2.5.2-1.el4.rf
> 
> And I get a "Return code of 127 for check of service 
> 'n-users' on host 'fisdb01' was out of bounds" Message on all 
> services on all hosts. 
> I saw on http://www.nagios.org/faqs/viewfaq.php?faq_id=17 
> that this was most likely a problem with the path to the executable.
> but if that was so I wouldn't be able to do this: 
> [root at fisdb01 services]# /usr/lib64/nagios/plugins/check_nrpe 
> -H localhost -c check_users USERS OK - 3 users currently 
> logged in |users=3;5;10;0 which proves it executes and in the 
> right place. Right?

No, it doesn't.  Always run your tests as the Nagios user.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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