ESX 6.0 U2 - Built in VMware check

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
gornm565
Posts: 72
Joined: Tue Nov 15, 2016 6:11 pm

ESX 6.0 U2 - Built in VMware check

Post 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
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: ESX 6.0 U2 - Built in VMware check

Post by avandemore »

Which sdk version did you install on XI?
Previous Nagios employee
gornm565
Posts: 72
Joined: Tue Nov 15, 2016 6:11 pm

Re: ESX 6.0 U2 - Built in VMware check

Post 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.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: ESX 6.0 U2 - Built in VMware check

Post 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
Previous Nagios employee
gornm565
Posts: 72
Joined: Tue Nov 15, 2016 6:11 pm

Re: ESX 6.0 U2 - Built in VMware check

Post by gornm565 »

There is a built in check under Configure - > Configuration Wizard -> VMware
vmware.JPG
You do not have the required permissions to view the files attached to this post.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: ESX 6.0 U2 - Built in VMware check

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

Code: Select all

# vmware-cmd --version
You do not have the required permissions to view the files attached to this post.
Previous Nagios employee
gornm565
Posts: 72
Joined: Tue Nov 15, 2016 6:11 pm

Re: ESX 6.0 U2 - Built in VMware check

Post by gornm565 »

vSphere SDK for Perl version: 5.1.0
Script 'vmware-cmd' version: 5.1.0
gornm565
Posts: 72
Joined: Tue Nov 15, 2016 6:11 pm

Re: ESX 6.0 U2 - Built in VMware check

Post 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
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: ESX 6.0 U2 - Built in VMware check

Post by avandemore »

Please run:

Code: Select all

# cpan -l | gzip > /tmp/cpan.txt.gz
Then attach the file /tmp/cpan.txt.gz
Previous Nagios employee
gornm565
Posts: 72
Joined: Tue Nov 15, 2016 6:11 pm

Re: ESX 6.0 U2 - Built in VMware check

Post 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!
Locked