Page 1 of 1
Nagios XI VMware Monitoring Wizard Installation fails
Posted: Tue Jun 12, 2018 9:17 am
by mzimny
Hello,
I´m trying to install the "Configuration Wizard: VMware" via
https://assets.nagios.com/downloads/nag ... 1527583422
I downloaded VMware-vSphere-Perl-SDK-6.7.0-8156551.x86_64.tar.gz for my Centos 6.9 and Nagios XI v. 5.4.13 installation.
After using
./vmware-install.pl EULA_AGREED=yes
the following happens:
Code: Select all
[root@vmnagios54prd01 vmware-vsphere-cli-distrib]# ./vmware-install.pl EULA_AGREED=yes
Creating a new vSphere CLI installer database using the tar4 format.
Installing vSphere CLI 6.7.0 build-8156551 for Linux.
WARNING: The http_proxy environment variable is not set. If your system is
using a proxy for Internet access, you must set the http_proxy environment
variable .
If your system has direct Internet access, you can ignore this warning .
WARNING: The ftp_proxy environment variable is not set. If your system is
using a proxy for Internet access, you must set the ftp_proxy environment
variable .
If your system has direct Internet access, you can ignore this warning .
Please wait while configuring CPAN ...
Below mentioned modules with their version needed to be installed,
these modules are available in your system but vCLI need specific
version to run properly
Module: Module::Build, Version: 0.4205
Do you want to continue? (yes/no) y
Please wait while configuring perl modules using CPAN ...
CPAN is downloading and installing pre-requisite Perl module "Time::Piece" .
CPAN is downloading and installing pre-requisite Perl module "Archive::Zip" .
CPAN is downloading and installing pre-requisite Perl module "Path::Class" .
CPAN is downloading and installing pre-requisite Perl module "Try::Tiny" .
CPAN is downloading and installing pre-requisite Perl module "UUID" .
CPAN is downloading and installing pre-requisite Perl module "LWP" .
CPAN is downloading and installing pre-requisite Perl module
"LWP::Protocol::https" .
CPAN is downloading and installing pre-requisite Perl module "Text::Template" .
Prototype mismatch: sub IO::Socket::SSL::NI_NUMERICHOST: none vs () at /usr/share/perl5/constant.pm line 115.
Prototype mismatch: sub IO::Socket::SSL::NI_NUMERICSERV: none vs () at /usr/share/perl5/constant.pm line 115.
CPAN is downloading and installing pre-requisite Perl module "Net::INET6Glue" .
CPAN not able to install following Perl modules on the system. These must be
installed manually for use by vSphere CLI:
UUID 0.27 or newer
Prototype mismatch: sub IO::Socket::SSL::NI_NUMERICHOST: none vs () at /usr/share/perl5/constant.pm line 115.
Prototype mismatch: sub IO::Socket::SSL::NI_NUMERICSERV: none vs () at /usr/share/perl5/constant.pm line 115.
I also tried
https://support.nagios.com/forum/viewto ... 99#p178278 but it didnt work either.
How to get this VMware Wizard working? Thanks for help in advance.
Greetings
Re: Nagios XI VMware Monitoring Wizard Installation fails
Posted: Tue Jun 12, 2018 4:45 pm
by cdienger
Run the following to install the uuid-perl module:
yum -y install uuid-perl
and then try the vmware installer again.
Re: Nagios XI VMware Monitoring Wizard Installation fails
Posted: Wed Jun 13, 2018 4:37 am
by mzimny
Thanks for the answer. I tried it out but it didnt work.
After successfully executing
yum -y install uuid-perl
Code: Select all
[root@vmnagios54prd01 vmware-vsphere-cli-distrib]# yum -y install uuid-perl
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.23media.de
* epel: mirror.23media.de
* extras: mirror.checkdomain.de
* updates: mirror.checkdomain.de
Resolving Dependencies
--> Running transaction check
---> Package uuid-perl.x86_64 0:1.6.1-10.el6 will be installed
--> Processing Dependency: uuid = 1.6.1-10.el6 for package: uuid-perl-1.6.1-10.el6.x86_64
--> Processing Dependency: libossp-uuid.so.16()(64bit) for package: uuid-perl-1.6.1-10.el6.x86_64
--> Running transaction check
---> Package uuid.x86_64 0:1.6.1-10.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================================
Installing:
uuid-perl x86_64 1.6.1-10.el6 base 27 k
Installing for dependencies:
uuid x86_64 1.6.1-10.el6 base 54 k
Transaction Summary
=============================================================================================================================================================================================
Install 2 Package(s)
Total download size: 80 k
Installed size: 164 k
Downloading Packages:
(1/2): uuid-1.6.1-10.el6.x86_64.rpm | 54 kB 00:00
(2/2): uuid-perl-1.6.1-10.el6.x86_64.rpm | 27 kB 00:00
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 366 kB/s | 80 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : uuid-1.6.1-10.el6.x86_64 1/2
Installing : uuid-perl-1.6.1-10.el6.x86_64 2/2
Verifying : uuid-perl-1.6.1-10.el6.x86_64 1/2
Verifying : uuid-1.6.1-10.el6.x86_64 2/2
Installed:
uuid-perl.x86_64 0:1.6.1-10.el6
Dependency Installed:
uuid.x86_64 0:1.6.1-10.el6
Complete!
and then again
./vmware-install.pl EULA_AGREED=yes
the unsuccessful result is this:
Code: Select all
[root@vmnagios54prd01 vmware-vsphere-cli-distrib]# ./vmware-install.pl EULA_AGREED=yes
Creating a new vSphere CLI installer database using the tar4 format.
Installing vSphere CLI 6.7.0 build-8156551 for Linux.
WARNING: The http_proxy environment variable is not set. If your system is
using a proxy for Internet access, you must set the http_proxy environment
variable .
If your system has direct Internet access, you can ignore this warning .
WARNING: The ftp_proxy environment variable is not set. If your system is
using a proxy for Internet access, you must set the ftp_proxy environment
variable .
If your system has direct Internet access, you can ignore this warning .
Please wait while configuring CPAN ...
Below mentioned modules with their version needed to be installed,
these modules are available in your system but vCLI need specific
version to run properly
Module: Module::Build, Version: 0.4205
Do you want to continue? (yes/no) y
Please wait while configuring perl modules using CPAN ...
CPAN is downloading and installing pre-requisite Perl module "UUID" .
CPAN is downloading and installing pre-requisite Perl module "Net::INET6Glue" .
CPAN not able to install following Perl modules on the system. These must be
installed manually for use by vSphere CLI:
UUID 0.27 or newer
Re: Nagios XI VMware Monitoring Wizard Installation fails
Posted: Wed Jun 13, 2018 11:07 am
by cdienger
I found this guide which has some deatails on what the installer expects:
https://vdc-download.vmware.com/vmwb-re ... -guide.pdf
Try installing the following:
yum install e2fsprogs-devel libuuid-devel
yum install glibc.i686
yum install perl-XML-LibXML
Re: Nagios XI VMware Monitoring Wizard Installation fails
Posted: Thu Jun 14, 2018 3:00 am
by mzimny
I installed the following:
yum install e2fsprogs-devel libuuid-devel
yum install glibc.i686
yum install perl-XML-LibXML
Results ok:
Code: Select all
[root@vmnagios54prd01 ~]# yum install e2fsprogs-devel libuuid-devel
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
epel/metalink | 29 kB 00:00
* base: mirror.23media.de
* epel: mirror.23media.de
* extras: mirror.checkdomain.de
* updates: mirror.checkdomain.de
base | 3.7 kB 00:00
cr | 2.9 kB 00:00
epel | 3.2 kB 00:00
epel/primary | 3.2 MB 00:00
epel 12511/12511
extras | 3.4 kB 00:00
nagios-base | 1.5 kB 00:00
nagiosxi-deps | 1.5 kB 00:00
updates | 3.4 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package e2fsprogs-devel.x86_64 0:1.41.12-23.el6 will be installed
---> Package libuuid-devel.x86_64 0:2.17.2-12.28.el6_9.2 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================================
Installing:
e2fsprogs-devel x86_64 1.41.12-23.el6 base 161 k
libuuid-devel x86_64 2.17.2-12.28.el6_9.2 updates 88 k
Transaction Summary
=============================================================================================================================================================================================
Install 2 Package(s)
Total download size: 249 k
Installed size: 574 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): e2fsprogs-devel-1.41.12-23.el6.x86_64.rpm | 161 kB 00:00
(2/2): libuuid-devel-2.17.2-12.28.el6_9.2.x86_64.rpm | 88 kB 00:00
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 819 kB/s | 249 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libuuid-devel-2.17.2-12.28.el6_9.2.x86_64 1/2
Installing : e2fsprogs-devel-1.41.12-23.el6.x86_64 2/2
Verifying : e2fsprogs-devel-1.41.12-23.el6.x86_64 1/2
Verifying : libuuid-devel-2.17.2-12.28.el6_9.2.x86_64 2/2
Installed:
e2fsprogs-devel.x86_64 0:1.41.12-23.el6 libuuid-devel.x86_64 0:2.17.2-12.28.el6_9.2
Complete!
[root@vmnagios54prd01 ~]# yum install glibc.i686
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.23media.de
* epel: epel.hysing.is
* extras: mirror.checkdomain.de
* updates: mirror.checkdomain.de
Resolving Dependencies
--> Running transaction check
---> Package glibc.i686 0:2.12-1.209.el6_9.2 will be installed
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.209.el6_9.2.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.209.el6_9.2.i686
--> Running transaction check
---> Package nss-softokn-freebl.i686 0:3.14.3-23.3.el6_8 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================================
Installing:
glibc i686 2.12-1.209.el6_9.2 updates 4.4 M
Installing for dependencies:
nss-softokn-freebl i686 3.14.3-23.3.el6_8 base 157 k
Transaction Summary
=============================================================================================================================================================================================
Install 2 Package(s)
Total download size: 4.5 M
Installed size: 14 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): glibc-2.12-1.209.el6_9.2.i686.rpm | 4.4 MB 00:00
(2/2): nss-softokn-freebl-3.14.3-23.3.el6_8.i686.rpm | 157 kB 00:00
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 3.6 MB/s | 4.5 MB 00:01
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : glibc-2.12-1.209.el6_9.2.i686 1/2
Installing : nss-softokn-freebl-3.14.3-23.3.el6_8.i686 2/2
Verifying : nss-softokn-freebl-3.14.3-23.3.el6_8.i686 1/2
Verifying : glibc-2.12-1.209.el6_9.2.i686 2/2
Installed:
glibc.i686 0:2.12-1.209.el6_9.2
Dependency Installed:
nss-softokn-freebl.i686 0:3.14.3-23.3.el6_8
Complete!
[root@vmnagios54prd01 ~]# yum install perl-XML-LibXML
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.23media.de
* epel: epel.hysing.is
* extras: mirror.checkdomain.de
* updates: mirror.checkdomain.de
Package 1:perl-XML-LibXML-1.70-5.el6.x86_64 already installed and latest version
Nothing to do
But it didn´t help executing successfully:
./vmware-install.pl EULA_AGREED=yes
Code: Select all
[root@vmnagios54prd01 vmware-vsphere-cli-distrib]# ./vmware-install.pl EULA_AGREED=yes
Creating a new vSphere CLI installer database using the tar4 format.
Installing vSphere CLI 6.7.0 build-8156551 for Linux.
Prototype mismatch: sub IO::Socket::SSL::NI_NUMERICHOST: none vs () at /usr/share/perl5/constant.pm line 115.
Prototype mismatch: sub IO::Socket::SSL::NI_NUMERICSERV: none vs () at /usr/share/perl5/constant.pm line 115.
WARNING: The http_proxy environment variable is not set. If your system is
using a proxy for Internet access, you must set the http_proxy environment
variable .
If your system has direct Internet access, you can ignore this warning .
WARNING: The ftp_proxy environment variable is not set. If your system is
using a proxy for Internet access, you must set the ftp_proxy environment
variable .
If your system has direct Internet access, you can ignore this warning .
Please wait while configuring CPAN ...
Below mentioned modules with their version needed to be installed,
these modules are available in your system but vCLI need specific
version to run properly
Module: Module::Build, Version: 0.4205
Do you want to continue? (yes/no) y
Please wait while configuring perl modules using CPAN ...
CPAN is downloading and installing pre-requisite Perl module "UUID" .
Prototype mismatch: sub IO::Socket::SSL::NI_NUMERICHOST: none vs () at /usr/share/perl5/constant.pm line 115.
Prototype mismatch: sub IO::Socket::SSL::NI_NUMERICSERV: none vs () at /usr/share/perl5/constant.pm line 115.
CPAN is downloading and installing pre-requisite Perl module "Net::INET6Glue" .
CPAN not able to install following Perl modules on the system. These must be
installed manually for use by vSphere CLI:
UUID 0.27 or newer
Re: Nagios XI VMware Monitoring Wizard Installation fails
Posted: Thu Jun 14, 2018 2:21 pm
by cdienger
It appears there is an additional perl module that is required. I was able to reproduce the problem and could see that the UUID package was downloaded to /root/.cpan/build/UUID-0.27-XXXXXX. When I tried to build it through I recieved an error that it required devel/checklib. I then ran:
yum install perl-Devel-CheckLib
and it was then able to install. Test this out and let me know your results. If you still run into the same error, go to the UUID build directory and run:
perl Makefile.PL
and let me know if it returns any messages.
Re: Nagios XI VMware Monitoring Wizard Installation fails
Posted: Fri Jun 15, 2018 9:29 am
by mzimny
The line
yum install perl-Devel-CheckLib
did it:
Code: Select all
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:
"/usr/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::SAX 0.99 or newer
XML::NamespaceSupport 1.12 or newer
XML::LibXML::Common 2.0129 or newer
XML::LibXML 2.0129 or newer
Socket6 0.28 or newer
IO::Socket::INET6 2.72 or newer
Enjoy,
--the VMware team
Thanks for your help!
Re: Nagios XI VMware Monitoring Wizard Installation fails
Posted: Fri Jun 15, 2018 9:30 am
by cdienger
Glad to hear