Can't locate UUID.pm in @INC/ VMware sdk 6.7 version
Posted: Mon Sep 17, 2018 2:45 pm
Hi,
I'm trying to monitor VMware ESXI hosts using nagios check_vmware_esx.pl plugin. I was able to successfully install the VMWare SDK 6.7 version on my nagios server.
[root@NagiosServer vmware-vsphere-cli-distrib]# ./vmware-install.pl --prefix=/opt/vmwarecli EULA_AGREED=yes --default
Creating a new vSphere CLI installer database using the tar4 format.
Installing vSphere CLI 6.7.0 build-8156551 for Linux.
Please wait while copying vSphere CLI files...
The installation of vSphere CLI 6.7.0 build-8156551 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command:
"/opt/vmwarecli/bin/vmware-uninstall-vSphere-CLI.pl".
This installer has successfully installed both vSphere CLI and the vSphere SDK
for Perl.
The following Perl modules were found on the system but may be too old to work
with vSphere CLI:
Crypt::SSLeay 0.72 or newer
XML::NamespaceSupport 1.12 or newer
XML::LibXML::Common 2.0129 or newer
XML::LibXML 2.0129 or newer
LWP 6.26 or newer
LWP::Protocol::https 6.07 or newer
Socket6 0.28 or newer
IO::Socket::INET6 2.72 or newer
Net::HTTP 6.09 or newer
Enjoy,
--the VMware team
when i tried executing the plugin i'm getting the following error:
[nagios@NagiosServer libexec]$ ./check_vmware_esx.pl
Can't locate UUID.pm in @INC (@INC contains: /usr/lib64/perl5/libwww-perl-5.837/lib /usr/lib64/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5 .) at /usr/share/perl5/VMware/SSOConnection.pm line 27.
BEGIN failed--compilation aborted at /usr/share/perl5/VMware/SSOConnection.pm line 27.
Compilation failed in require at /usr/share/perl5/VMware/VICommon.pm line 25.
BEGIN failed--compilation aborted at /usr/share/perl5/VMware/VICommon.pm line 25.
Compilation failed in require at /usr/share/perl5/VMware/VIRuntime.pm line 15.
Compilation failed in require at ./check_vmware_esx.pl line 1237.
BEGIN failed--compilation aborted at ./check_vmware_esx.pl line 1237.
Can you please help with the issue.
Thanks!
I'm trying to monitor VMware ESXI hosts using nagios check_vmware_esx.pl plugin. I was able to successfully install the VMWare SDK 6.7 version on my nagios server.
[root@NagiosServer vmware-vsphere-cli-distrib]# ./vmware-install.pl --prefix=/opt/vmwarecli EULA_AGREED=yes --default
Creating a new vSphere CLI installer database using the tar4 format.
Installing vSphere CLI 6.7.0 build-8156551 for Linux.
Please wait while copying vSphere CLI files...
The installation of vSphere CLI 6.7.0 build-8156551 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command:
"/opt/vmwarecli/bin/vmware-uninstall-vSphere-CLI.pl".
This installer has successfully installed both vSphere CLI and the vSphere SDK
for Perl.
The following Perl modules were found on the system but may be too old to work
with vSphere CLI:
Crypt::SSLeay 0.72 or newer
XML::NamespaceSupport 1.12 or newer
XML::LibXML::Common 2.0129 or newer
XML::LibXML 2.0129 or newer
LWP 6.26 or newer
LWP::Protocol::https 6.07 or newer
Socket6 0.28 or newer
IO::Socket::INET6 2.72 or newer
Net::HTTP 6.09 or newer
Enjoy,
--the VMware team
when i tried executing the plugin i'm getting the following error:
[nagios@NagiosServer libexec]$ ./check_vmware_esx.pl
Can't locate UUID.pm in @INC (@INC contains: /usr/lib64/perl5/libwww-perl-5.837/lib /usr/lib64/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5 .) at /usr/share/perl5/VMware/SSOConnection.pm line 27.
BEGIN failed--compilation aborted at /usr/share/perl5/VMware/SSOConnection.pm line 27.
Compilation failed in require at /usr/share/perl5/VMware/VICommon.pm line 25.
BEGIN failed--compilation aborted at /usr/share/perl5/VMware/VICommon.pm line 25.
Compilation failed in require at /usr/share/perl5/VMware/VIRuntime.pm line 15.
Compilation failed in require at ./check_vmware_esx.pl line 1237.
BEGIN failed--compilation aborted at ./check_vmware_esx.pl line 1237.
Can you please help with the issue.
Thanks!