Page 1 of 1
VMWare 4.1 Monitoring
Posted: Mon Jan 20, 2014 4:31 pm
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.
Re: VMWare 4.1 Monitoring
Posted: Mon Jan 20, 2014 5:13 pm
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?
Re: VMWare 4.1 Monitoring
Posted: Mon Jan 20, 2014 5:57 pm
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
Re: VMWare 4.1 Monitoring
Posted: Tue Jan 21, 2014 1:19 pm
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.
Re: VMWare 4.1 Monitoring
Posted: Tue Jan 21, 2014 5:19 pm
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?
Re: VMWare 4.1 Monitoring
Posted: Tue Jan 21, 2014 5:53 pm
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,
Re: VMWare 4.1 Monitoring
Posted: Wed Jan 22, 2014 2:10 pm
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.