VMWare 4.1 Monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
robertferguson
Posts: 5
Joined: Mon Mar 14, 2011 11:53 am

VMWare 4.1 Monitoring

Post by robertferguson »

I running in to similar issues as with the following forum articles:
http://support.nagios.com/forum/viewtop ... ere#p79296
http://support.nagios.com/forum/viewtop ... f=6&t=9208

I've tried to follow the instructions with them and have had no luck

I'm running ESXi 4.1 vSphere with vCenter and 4 hosts. The physical hosts, (vcenter and the hypervisors) respond to pings but all other checks for the cluster, datacenter, and image stores return (null) status. I'll be happy to send what ever info you need. Please see the screen prints I encluded.
vmc1.jpg
vhost.jpg
Thanks in advance.
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: VMWare 4.1 Monitoring

Post by slansing »

Did you follow this guide?:

http://assets.nagios.com/downloads/nagi ... ios_XI.pdf

What is the output of:

Code: Select all

yum list installed perl-XML-SAX perl-Nagios-Plugin libuuid* perl-XML-LibXML
Are you running a proxy on this layer of your network?
robertferguson
Posts: 5
Joined: Mon Mar 14, 2011 11:53 am

Re: VMWare 4.1 Monitoring

Post by robertferguson »

Thanks for your quick reply.
Yes, I did follow the documentation you listed.

Here is the output you requested.

[root@localhost ~]# yum list installed perl-XML-SAX perl-Nagios-Plugin libuuid* perl-XML-LibXML

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.linux.duke.edu
* epel: archive.linux.duke.edu
* extras: centos.supsec.org
* rpmforge: repoforge.spinellicreations.com
* updates: centosz3.centos.org
Installed Packages
libuuid.x86_64 2.17.2-12.14.el6 @base
libuuid-devel.x86_64 2.17.2-12.14.el6 @base
perl-Nagios-Plugin.noarch 0.35-2.el6.rf @rpmforge
perl-XML-LibXML.x86_64 1:1.70-5.el6 @base
perl-XML-SAX.noarch 0.96-7.el6 @base
robertferguson
Posts: 5
Joined: Mon Mar 14, 2011 11:53 am

Re: VMWare 4.1 Monitoring

Post by robertferguson »

slansing wrote:
Are you running a proxy on this layer of your network?

No, we are not running a proxy on the network.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: VMWare 4.1 Monitoring

Post by sreinhardt »

Generally when recieving null as a response to vmware plugins its one a few things.

1) is this a local vmware account, not with ad\ldap auth?
2) Which version of the vmware perl sdk did you install?
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.
robertferguson
Posts: 5
Joined: Mon Mar 14, 2011 11:53 am

Re: VMWare 4.1 Monitoring

Post by robertferguson »

Hi Spencer,

No, this is with an AD/user account. I didn't think about that, but I'm not sure how to get that setup either. Although, I did try to setup one of my hosts rather than going through the vCenter, and it never asked for a username/password for either setup. I am using the 'VMware ESX / vSphere / vCenter - Monitor a VMware® ESX® 3.x / vSphere® 4.x Host or vCenter® Server.' config wizard.

VMware-vSphere-Perl-SDK-5.1.0-780721.x86_64.tar.gz

Thanks,
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: VMWare 4.1 Monitoring

Post by lmiltchev »

Did you get any errors, while installing the SDK?

Can you run one of the failing checks from the command line, and show us the command and the output of it (hide sensitive info)?

You can also add the " --verbose" flag at the end of your command. Hopefully, we will get some extra info that might point us to the right direction.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked