Page 1 of 2
VMware Perl SDK issue Xi
Posted: Tue Sep 22, 2015 3:55 am
by MichielvM
Hi all,
I've done this numerous times, but this time it won't work.
I'm trying to install the VMware Perl SDK in order to monitor VMware.
I tried the following steps:
Code: Select all
yum install perl-XML-SAX-0.96-7.el6.noarch
yum install perl-XML-LibXML perl-Crypt-SSLeay perl-Class-MethodMaker
export http_proxy=""
export ftp_proxy=""
tar xvzf VMware-vSphere-Perl-SDK-5.5.0-1384587.x86_64.tar.gz
cd vmware-vsphere-cli-distrib/
./vmware-install.pl -default
That should do it.
Now when I go to the Xi config wizard to monitor a vm host, it says:
Code: Select all
Error: It appears as though you have not installed the VMware SDK or ESX plugins on your Nagios XI server. You must have these components properly installed on your system before using this wizard.
Note: this is a nearly fresh install of Nagios Xi 2014R2.7 running on (virtual) Centos 6.6 64 bit.
Re: VMware Perl SDK issue Xi
Posted: Tue Sep 22, 2015 9:20 am
by hsmith
I've had to do it twice in certain cases. It may not hurt to restart your nagios service as well.
Re: VMware Perl SDK issue Xi
Posted: Mon Sep 28, 2015 9:47 am
by MichielvM
Still the same, restarted Nagios service a couple of times.
Followed the prescribed Nagios installation guide instead of my own notes (slightly different but workes in the past)
Any ideas?
Re: VMware Perl SDK issue Xi
Posted: Mon Sep 28, 2015 2:38 pm
by Box293
What output do you get when you run this command:
Code: Select all
/usr/local/nagiosxi/html/includes/configwizards/vmware/scripts/getguests.pl
Re: VMware Perl SDK issue Xi
Posted: Wed Oct 07, 2015 5:14 am
by MichielvM
Box293 wrote:What output do you get when you run this command:
Code: Select all
/usr/local/nagiosxi/html/includes/configwizards/vmware/scripts/getguests.pl
Server version unavailable at '
https://localhost:443/sdk/vimService.wsdl' at /usr/share/perl5/VMware/VICommon.pm line 726, <STDIN> line 2.
Re: VMware Perl SDK issue Xi
Posted: Wed Oct 07, 2015 2:32 pm
by jdalrymple
MichielvM wrote:I tried the following steps:
Code: Select all
yum install perl-XML-SAX-0.96-7.el6.noarch
yum install perl-XML-LibXML perl-Crypt-SSLeay perl-Class-MethodMaker
export http_proxy=""
export ftp_proxy=""
tar xvzf VMware-vSphere-Perl-SDK-5.5.0-1384587.x86_64.tar.gz
cd vmware-vsphere-cli-distrib/
./vmware-install.pl -default
That should do it.
Since you're not posting entire outputs we have no idea if any of this succeeded or failed. One thing is for sure - I don't see the step:
And if you didn't do that, it failed.
Re: VMware Perl SDK issue Xi
Posted: Thu Oct 08, 2015 5:35 am
by MichielvM
When I run that:
Code: Select all
Package(s) perl-XML-SAX-Base available, but not installed.
No Packages marked for removal
Re: VMware Perl SDK issue Xi
Posted: Thu Oct 08, 2015 3:00 pm
by hsmith
I can't tell you for sure if it's related, but is there a reason you're running the version that you are? I've had success with VMware-vSphere-Perl-SDK-6.0.0-2503617.x86_64.tar.
Re: VMware Perl SDK issue Xi
Posted: Fri Oct 09, 2015 6:22 am
by MichielvM
For some reason I retried the procedure recommended by Nagios, and it worked!
Re: VMware Perl SDK issue Xi
Posted: Fri Oct 09, 2015 9:52 am
by hsmith
Is there anything else we can do to help you with this one? Like I said originally, sometimes that one takes multiple tries, and I can't explain why.