Monitoring VMware doesn't work

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
CedricD
Posts: 15
Joined: Wed Nov 20, 2013 5:43 am

Monitoring VMware doesn't work

Post by CedricD »

Hello,

We're still settung up Nagios XI and want to monitor VMware.
This is what we get:

Image

Any ideas how to fix this?

Thanks.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Monitoring VMware doesn't work

Post 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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
CedricD
Posts: 15
Joined: Wed Nov 20, 2013 5:43 am

Re: Monitoring VMware doesn't work

Post 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)

Image


edit: It's vSphere 4.1 that we're using.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Monitoring VMware doesn't work

Post by slansing »

Please show the output of the following:

Code: Select all

ll -la /usr/local/nagios/libexec/check_esx3.pl
CedricD
Posts: 15
Joined: Wed Nov 20, 2013 5:43 am

Re: Monitoring VMware doesn't work

Post 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
CedricD
Posts: 15
Joined: Wed Nov 20, 2013 5:43 am

Re: Monitoring VMware doesn't work

Post 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 :)
Locked