Page 1 of 1

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

Posted: Tue Aug 21, 2012 5:28 pm
by tdsf
I am having a terrible time getting past this error message. I have installed Nagios on an opensuse server. The web interface comes up fine and I have setup a test windows server and configured it to check the default services: C:\ Drive Space, CPU Load, etc...

The plugins were installed to directory /downloads/nagios-plugins-1.4.16. I have copied everything from the plugins directory to /usr/local/nagios/lib and have granted full permissions to all nagios and apache accounts and groups on the LIB folder, yet I continue to get this error.

Following the openSUSE quickstart I should have had this up and running in 20 mins. So far I have spent 6 hrs working on this. Any advice on what I have done wrong and how to get things working will be greatly appreciated. I have installed nsclient++ on my test box.

Thanks,

PT

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

Posted: Wed Aug 22, 2012 11:43 am
by agriffin
The plugins should be in the libexec/ folder, not lib/.

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

Posted: Thu Aug 23, 2012 2:19 pm
by tdsf
I got this resolved by installing an older version of Nagios on opensuse 12.1. For whatever reason the plugin version I download (which is the most recent release) would not compile. the plugins were installed in /usr/local/nagios/lib not libexec. Everything is now functioning properly.

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

Posted: Thu Aug 23, 2012 4:34 pm
by slansing
Interesting, I would keep an eye on what directories are different for instance the Ubuntu community has a custom version of Nagios Core which creates a few paths which differ from that of those we use in our documentation.

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

Posted: Wed Oct 17, 2012 11:27 pm
by veesyndicate
I faces the same problem too. But i managed to fix it..

First thing you should do before installing all packages are running this command

sudo apt-get update
sudo apt-get dist-upgrade

It may take more than an hour to update your linux. So be patient.

Then don't forget to install libssl with other packages too at early time because i get know there is a bug that not fixed yet with nagios current version.

aptitude -y install libssl-dev