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
Return code of 127 is out of bounds - plugin may be missing
Re: Return code of 127 is out of bounds - plugin may be miss
The plugins should be in the libexec/ folder, not lib/.
Re: Return code of 127 is out of bounds - plugin may be miss
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.
-
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
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.
-
veesyndicate
- Posts: 3
- Joined: Wed Oct 17, 2012 9:53 pm
Re: Return code of 127 is out of bounds - plugin may be miss
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
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