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
Return code of 127 for check of service
-
ricardowesley
- Posts: 21
- Joined: Thu Sep 05, 2013 1:16 pm
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Return code of 127 for check of service
Do you have the plugins package installed? Do you have the following directory with plugins inside of it?:
If so, make sure they are executable by the nagios user.
Code: Select all
/usr/local/nagios/libexec/-
ricardowesley
- Posts: 21
- Joined: Thu Sep 05, 2013 1:16 pm
Re: Return code of 127 for check of service
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.
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
Let us know. Cheers.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
ricardowesley
- Posts: 21
- Joined: Thu Sep 05, 2013 1:16 pm
Re: Return code of 127 for check of service
OOps...problem resolved thanks