Page 1 of 1

Return code of 127 for check of service

Posted: Thu Sep 05, 2013 3:19 pm
by ricardowesley
Added for additional info:I have a fresh install of Nagios Core w/nrpe on Red Hat 6.4.
In my /var/log/messages, Nagios is consistently receiving this message "Return code of 127 for check of service" for ping, ssh, http, etc
My Nagios Web interface is only monitoring itself currently and saying that the localhost is "Return code of 127 is out of bounds - plugin may be missing"
I have status Nagios via
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg and service nagios status---Nagios is up and running

Re: Return code of 127 for check of service

Posted: Thu Sep 05, 2013 3:26 pm
by slansing
Do you have the plugins package installed? Do you have the following directory with plugins inside of it?:

Code: Select all

/usr/local/nagios/libexec/
If so, make sure they are executable by the nagios user.

Re: Return code of 127 for check of service

Posted: Thu Sep 05, 2013 8:00 pm
by ricardowesley
I have installed this plugin nagios-plugins-1.4.16.tar.gz, are there any other plugins that I should have? I also installed nrpe.
Not currently able to verify that the plugins are in directory /usr/local/nagios/libexec/, will verify tomorrow morning.

Re: Return code of 127 for check of service

Posted: Fri Sep 06, 2013 9:26 am
by abrist
Let us know. Cheers.

Re: Return code of 127 for check of service

Posted: Tue Sep 10, 2013 1:18 pm
by ricardowesley
OOps...problem resolved thanks