Return code of 127 is out of bounds - plugin may be missing

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
dlyk
Posts: 4
Joined: Thu Oct 02, 2014 7:30 am

Return code of 127 is out of bounds - plugin may be missing

Post by dlyk »

I have a brand new Nagios 3.5 installation running on a Centos 7 machine. The installation of both the nagios and the nagios-plugins packages was done from the EPEL repository using yum. Everything looks configured correctly, but right now I cannot even monitor the localhost (the machine Nagios is running). Everything is red with the indication "Return code of 127 is out of bounds - plugin may be missing". Any ideas?
dlyk
Posts: 4
Joined: Thu Oct 02, 2014 7:30 am

Re: Return code of 127 is out of bounds - plugin may be miss

Post by dlyk »

Found the solution!
The correct package for the plugins IS NOT nagios-plugins but nagios-plugins-all. As before it is available only from the EPEL repository. Now everything is green except HTTP, which is odd, since Nagios depends on apache to serve the web-ui. Any ideas?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Return code of 127 is out of bounds - plugin may be miss

Post by slansing »

What output are you getting with that check? Is it a service that you are checking under a host? What is it's status output, still out of bounds? If possible, please share the service's configuration with us, as well as the command definition it is using.
Locked