I have verified that the required dependencies and plugin are all present yet none of the service checks work.(Return code of 127 is out of bounds - plugin may be missing)
Return code of 127 is out of bounds - plugin may be missing
Return code of 127 is out of bounds - plugin may be missing
I recently had to rebuild a crashed Nagios XI vm and when attempting to use the check_esx3.pl plugin I receive the error message
Re: Return code of 127 is out of bounds - plugin may be miss
Could you run the following and post back the results?
Code: Select all
ls -l /usr/local/nagios/libexec/check_esx3.pl
/usr/local/nagios/libexec/check_esx3.pl --helpBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Return code of 127 is out of bounds - plugin may be miss
Code: Select all
# ls -l /usr/local/nagios/libexec/check_esx3.pl
-rwxr-xr-x 1 root root 82841 Dec 1 2014 /usr/local/nagios/libexec/check_esx3.pl
# /usr/local/nagios/libexec/check_esx3.pl --help
/usr/bin/perl: symbol lookup error: /usr/lib64/perl5/auto/XML/LibXML/Common/Common.so: undefined symbol: Perl_Tstack_sp_ptr
Re: Return code of 127 is out of bounds - plugin may be miss
It looks like the prerequisites may not of been installed. Can you run the following in a shell as root to install them?
If you receive any errors installing them, post them here so we can review them.
You may want to go through the install guide below.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Code: Select all
yum install perl-Nagios-Plugin libuuid* perl-XML-LibXML -yYou may want to go through the install guide below.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Return code of 127 is out of bounds - plugin may be miss
I ran through the installed and it looked as though all was fine but at the bottom of the install I got the following
Transaction Check Error:
file /usr/share/man/man3/XML::SAX::Base.3pm.gz conflicts between attempted installs of perl-XML-SAX-Base-1.04-1.el6.rf.noarch and perl-XML-SAX-0.96-7.el6.noarch
file /usr/share/man/man3/XML::SAX::Exception.3pm.gz conflicts between attempted installs of perl-XML-SAX-Base-1.04-1.el6.rf.noarch and perl-XML-SAX-0.96-7.el6.noarch
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Return code of 127 is out of bounds - plugin may be miss
We have instructions to follow that get you past this problem:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Read the prerequisites carefully.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Read the prerequisites carefully.
Re: Return code of 127 is out of bounds - plugin may be miss
sure enough that fixed the issue thanks.
Re: Return code of 127 is out of bounds - plugin may be miss
Glad it's resolved, I'll go ahead and close this thread.
Former Nagios Employee.
me.
me.