Page 1 of 2
ESX 6.0 U2 - Built in VMware check
Posted: Wed May 31, 2017 10:26 am
by gornm565
I used the built-in Configuration Wizard in Nagios XI to monitor an ESX 6.0 U2 host. All of the monitoring is working fine except the 2 checks: "Networking for VMHost" and "VM Status for VMHost". The error that comes up is:
"ESX3 CRITICAL - Can't load class 'HostSriovInfo' at /usr/share/perl5/VMware/VIMRuntime.pm line 52." What could this be caused by?
I see someone had the same exact issue on this forum and opened a ticket on it but the solution was never posted:
https://support.nagios.com/forum/viewto ... 16&t=31941
Re: ESX 6.0 U2 - Built in VMware check
Posted: Wed May 31, 2017 11:28 am
by avandemore
Which sdk version did you install on XI?
Re: ESX 6.0 U2 - Built in VMware check
Posted: Wed May 31, 2017 11:30 am
by gornm565
Nagios XI is a VM that was provided to us - we deployed it from template and it was prepackaged by Nagios. We haven't installed anything on it.
Re: ESX 6.0 U2 - Built in VMware check
Posted: Wed May 31, 2017 12:43 pm
by avandemore
There isn't a built-in VMWare check that works by default, so how are you using that?
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Re: ESX 6.0 U2 - Built in VMware check
Posted: Wed May 31, 2017 12:47 pm
by gornm565
There is a built in check under Configure - > Configuration Wizard -> VMware
vmware.JPG
Re: ESX 6.0 U2 - Built in VMware check
Posted: Wed May 31, 2017 12:50 pm
by avandemore
True but that is a wizard not a check. It also comes up with this page on a pristine install:
vmware.png
You should be able to find your SDK version by:
Re: ESX 6.0 U2 - Built in VMware check
Posted: Wed May 31, 2017 12:58 pm
by gornm565
vSphere SDK for Perl version: 5.1.0
Script 'vmware-cmd' version: 5.1.0
Re: ESX 6.0 U2 - Built in VMware check
Posted: Wed May 31, 2017 1:27 pm
by gornm565
I updated the SDK to 6.0 and now everything works. new version:
vSphere SDK for Perl version: 6.0.0
Script 'vmware-cmd' version: 6.0.0
Re: ESX 6.0 U2 - Built in VMware check
Posted: Wed May 31, 2017 1:44 pm
by avandemore
Please run:
Code: Select all
# cpan -l | gzip > /tmp/cpan.txt.gz
Then attach the file /tmp/cpan.txt.gz
Re: ESX 6.0 U2 - Built in VMware check
Posted: Wed May 31, 2017 2:22 pm
by gornm565
The issue has been solved with installing the latest SDK.
the command you gave me doesn't work.
# cpan -l
Unknown option: l
Nothing to install!