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
[email protected]
Posts: 4
Joined: Fri Aug 17, 2012 2:21 pm

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

Post by [email protected] »

Hi,
I have tried this setup 3 times now and I always have the same problem.
When I go to http://localhost/nagios and login.
The host (localhost) is considered down will all services listed as;
(Return code of 127 is out of bounds - plugin may be missing)

Any ideas?

Thanks
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

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

Post by jsmurphy »

Which setup guide are you following? Did you install the nagios-plugins package as well as the nagios package?

Need some more info... return code 127 means that it can't find the plugins required to execute checks, so they are probably either missing or installed in the wrong location or something. They could also just have incorrect permissions on the directories.
[email protected]
Posts: 4
Joined: Fri Aug 17, 2012 2:21 pm

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

Post by [email protected] »

Actually it turns out I was using the wrong install guide. I was using the Ubuntu Quickstart guide but I should have been using this one.
http://assets.nagios.com/downloads/nagi ... Source.pdf

Thanks for your help.
Regards
Locked