problem installing VMware Perl SDK

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
c32577
Posts: 2
Joined: Wed Jun 11, 2014 6:48 pm

problem installing VMware Perl SDK

Post by c32577 »

Hi,

I'm having problem installing the VMware Perl SDK.

Here's what i've done:

Code: Select all

yum erase perl-XML-SAX-Base -y
yum install perl-XML-SAX --exclude=perl-XML-SAX-Base -y
yum install perl-Nagios-Plugin libuuid* perl-XML-LibXML

export http_proxy=192.168.100.10:8080
export ftp_proxy=192.168.100.10:8021

downloaded: VMware-vSphere-Perl-SDK-5.1.0-780721.x86_64.tar.gz
note: VMware-vSphere-SDK-for-Perl-4.0.0-161974.x86_64.tar.gz is no longer available on http://communities.vmware.com/community/developer/forums/vsphere_sdk_perl.. i was redirected to http://communities.vmware.com/community/developer/forums/vsphere_sdk_perl instead.

cd /tmp
tar xzf VMware-vSphere-Perl-SDK-5.1.0-780721.x86_64.tar.gz
cd vmware-vsphere-cli-distrib/
./vmware-install.pl

Creating a new vSphere CLI installer database using the tar4 format.
Installing vSphere CLI 5.1.0 build-780721 for Linux.
You must read and accept the vSphere CLI End User License Agreement to 
continue.
Press enter to display it. 
VMware(r) Software Development Kit (SDK) License Agreement
...
Rev 32312

Do you accept? (yes/no) yes

Thank you.

Please wait while configuring CPAN ...
Please wait while configuring perl modules using CPAN ...
CPAN is downloading and installing pre-requisite Perl module "Archive::Zip" .
Archive::Zip Install Command failed .
CPAN is downloading and installing pre-requisite Perl module 
"Class::MethodMaker" .
Class::MethodMaker Install Command failed .
CPAN is downloading and installing pre-requisite Perl module "UUID" .
UUID Install Command failed .
CPAN is downloading and installing pre-requisite Perl module "Data::Dump" .
Data::Dump Install Command failed .
CPAN is downloading and installing pre-requisite Perl module "SOAP::Lite" .
SOAP::Lite Install Command failed .
CPAN not able to install following Perl modules on the system. These must be 
installed manually for use by vSphere CLI:

Archive::Zip 1.28 or newer 
Class::MethodMaker 2.10 or newer 
UUID 0.03 or newer 
Data::Dump 1.15 or newer 
SOAP::Lite 0.710.08 or newer

cheers,
c32577
using: vSphere OVF Template (64-bit)/2014R1.1
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: problem installing VMware Perl SDK

Post by tmcdonald »

We can certainly help with that, but first have you checked out the new(ish) VMWare solution by Troy Lea?

http://exchange.nagios.org/directory/Pl ... re/details

This eliminates the need to install the SDK and offloads the check to the VMWare system, reducing load on the Nagios server. I would look into this solution and then decide if you want to use it or continue on with the SDK.
Former Nagios employee
c32577
Posts: 2
Joined: Wed Jun 11, 2014 6:48 pm

Re: problem installing VMware Perl SDK

Post by c32577 »

Hi,

Thanks!.. will check it now...
tmcdonald wrote:We can certainly help with that, but first have you checked out the new(ish) VMWare solution by Troy Lea?

http://exchange.nagios.org/directory/Pl ... re/details

This eliminates the need to install the SDK and offloads the check to the VMWare system, reducing load on the Nagios server. I would look into this solution and then decide if you want to use it or continue on with the SDK.
cheers,
c32577
using: vSphere OVF Template (64-bit)/2014R1.1
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: problem installing VMware Perl SDK

Post by slansing »

We're working on testing a wizard he has created for it as well. Let us know how that solution works out for you!
Locked