Page 1 of 1
Monitoring VMware doesn't work
Posted: Mon Nov 25, 2013 6:16 am
by CedricD
Hello,
We're still settung up Nagios XI and want to monitor VMware.
This is what we get:
Any ideas how to fix this?
Thanks.
Re: Monitoring VMware doesn't work
Posted: Mon Nov 25, 2013 10:44 am
by sreinhardt
did you follow our documentation on
monitoring vmware? In most cases this is going to be due to a dependency not being met, or the sdk not being installed properly.
Re: Monitoring VMware doesn't work
Posted: Tue Nov 26, 2013 5:42 am
by CedricD
We have did this now:
Code: Select all
yum erase perl-XML-SAX-Base -y
yum install perl-XML-SAX --exclude=perl-XML-SAX-Base -y
yum install perl-Nagios-Plugin libuuid* perl-XML-LibXML
Now we're getting this error: (Return code of 127 is out of bounds - plugin may be missing)
edit: It's vSphere 4.1 that we're using.
Re: Monitoring VMware doesn't work
Posted: Tue Nov 26, 2013 11:45 am
by slansing
Please show the output of the following:
Code: Select all
ll -la /usr/local/nagios/libexec/check_esx3.pl
Re: Monitoring VMware doesn't work
Posted: Wed Nov 27, 2013 6:34 am
by CedricD
Thnx for your replay.
Here is the output:
Code: Select all
[root@company ~]# ll -la /usr/local/nagios/libexec/check_esx3.pl
-rwxrwxrwx 1 nagios nagios 82841 Oct 14 04:23 /usr/local/nagios/libexec/check_esx3.pl
Re: Monitoring VMware doesn't work
Posted: Wed Nov 27, 2013 10:17 am
by CedricD
Sorry for the bump. Found the solution in this topic:
http://support.nagios.com/forum/viewtop ... f=6&t=9208
Code: Select all
yum install perl-Class-MethodMaker
was not installed
