Nagios Monitoring Server, error: Return code of 127 is out of bounds–plugin could be missing

Source: Internet
Author: User
Tags snmp

A Negios server was set up in the company today. After adding the monitored server, several monitored services are OK, but the host display is down.

Environment Description:

Nagios Server:

Redhat 6.3 x64 Minimized installation

Turn off SELinux and iptables

Nagios-3.4.1.tar.gz

Nagios-plugins-2.0.3.tar.gz

Nrpe-2.15.tar.gz

Follow the previous manual step-by-step procedure. Used to be OK, do not know why this error.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4D/95/wKioL1RTol6Tub7CAAEbwHa1LdI628.jpg "title=" capture. PNG "alt=" Wkiol1rtol6tub7caaebwha1ldi628.jpg "/>

Baidu Search a large circle, see the solution is not the same as mine. I guess it's because the plugins I use and the version of Nrpe are all up to date.

Later search English documents, found a post has a solution. Follow the steps. Sure enough, OK.

Requires the following components to be installed on the server:

[Nagios-server]# Rpm-qa | grep net-snmpnet-snmp-libs-5.1.2-11.el4_6.11.2net-snmp-5.1.2-11.el4_6.11.2net-snmp-utils-5.1.2-11.el4.10

After installing the above components, reinstall the Nagios-plugin plugin.

[Email protected]]# tar xvf nagios-plugins-1.4.11.tar.gz[[email protected]]# CD Nagios-plugins-1.4.11[[email protected]]#./configure--with-nagios-user=nagios--with-nagios-group=nagios[[email protected]]# make[[email protected]]# make Install

Finally restart the Nagios service

[[email protected]] #service nagios restart

Wait 2 minutes or so and see the server state is up.


If you are the same as me, try it quickly.

Nagios Monitoring Server, error: Return code of 127 is out of bounds–plugin could be missing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.