Page 1 of 4
Stats Null for ESXi host
Posted: Tue Feb 05, 2013 10:41 am
by thennessey
I looked at some previous posts on this topic, but none that I found matched my problem.
ESXi 5.1
Nagios xi 2012R1.4
All the stats for my esxi host are null / critical. Nagios can connect with it and ping checks work.
I followed the steps in the guide the best I could.
http://assets.nagios.com/downloads/nagi ... ios_XI.pdf
I couldn't find any place in the Monitoring Wizard page to "upload" the vmware wizard. Where can I upload?
There was already a vmware wizard installed so I figured, maybe it comes with this version of Nagios pre installed.
After installing the SDK script, it didn't say "Enjoy - The VMware Team" at the end. It said something like "some of the programs have to be installed manually, or separately." Something like that.
What am I missing here?
Thanks for the help!
Re: Stats Null for ESXi host
Posted: Tue Feb 05, 2013 10:46 am
by slansing
Can you show a screenshot of the service's returning Null? We should pin down which checks are returning that, "I have a feeling they will be datastore checks."
And yes the Wizard comes preinstalled with the current versions of Nagios XI.
Re: Stats Null for ESXi host
Posted: Fri Feb 08, 2013 12:31 pm
by thennessey
I think the steps in that tutorial are wrong. I found another guide on some blog and went back through the whole process according to the new steps and it worked. If I come across that guide again I will post the URL here. Thanks
Re: Stats Null for ESXi host
Posted: Fri Feb 08, 2013 12:35 pm
by slansing
That would be great thank you. Do you remember where they differed at all? Also, what version of ESX and XI are you using?
Re: Stats Null for ESXi host
Posted: Thu Jul 18, 2013 10:22 am
by cokj72
I have the same problem.
I' have Nagios XI last release and "VMware ESX Server 3 (Dali)"
The monitoring "Datastore usage per VMHost" (all monitoring on the VMWare agent) response "null":
I used this procedure:
http://assets.nagios.com/downloads/nagi ... ios_XI.pdf
Re: Stats Null for ESXi host
Posted: Thu Jul 18, 2013 10:40 am
by slansing
Please run the following to make sure the correct packages are available:
Code: Select all
yum clean all
yum erase perl-XML-SAX-Base-1.04-1.el6.rf.noarch
yum install perl-XML-SAX -y
yum install perl-Nagios-Plugin libuuid* perl-XML-LibXML -y
Re: Stats Null for ESXi host
Posted: Fri Jul 19, 2013 4:43 am
by cokj72
slansing wrote:Please run the following to make sure the correct packages are available:
Code: Select all
yum clean all
yum erase perl-XML-SAX-Base-1.04-1.el6.rf.noarch
yum install perl-XML-SAX -y
yum install perl-Nagios-Plugin libuuid* perl-XML-LibXML -y
This is response:
[root@nagios ~]#yum erase perl-XML-SAX-Base-1.04-1.el6.rf.noarch
Package(s) perl-XML-SAX-Base-1.04-1.el6.rf.noarch available, but not installed.
No Packages marked for removal
[root@nagios ~]#yum install perl-XML-SAX -y
Complete!
[root@nagios ~]#yum install perl-Nagios-Plugin libuuid* perl-XML-LibXML -y
Public key for libuuid-2.17.2-12.9.el6_4.3.x86_64.rpm is not installed
And the problem persists
Re: Stats Null for ESXi host
Posted: Fri Jul 19, 2013 5:22 am
by cokj72
now in the CCM->Services the 3 VMWare Service is:
Re: Stats Null for ESXi host
Posted: Fri Jul 19, 2013 6:26 am
by cokj72
I deleted the 3 vmware host and related services and the problem Missed Sync is closed (tested modify other services on the other Host).
but I have the problem of monitoring the 3 server VMWare...
The version of VMware wizard is:
Monitor a VMware host or guest VM.
Version: 1.5
And other post i find this check:
[root@nagios ~]# /usr/local/nagios/libexec/check_esx3.pl | head --lines=1 2&>1
Can't locate Nagios/Plugin.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/nagios/libexec/check_esx3.pl line 32.
BEGIN failed--compilation aborted at /usr/local/nagios/libexec/check_esx3.pl line 32.
[root@nagios ~]# echo $?
1
...
Help me

Re: Stats Null for ESXi host
Posted: Fri Jul 19, 2013 10:01 am
by slansing
Can you run the following and show any output:
Code: Select all
ps -ef | egrep 'rpm|yum' | grep -v 'grep'
If you have no output please run:
Code: Select all
yum install perl-Nagios-Plugin libuuid* perl-XML-LibXML -y