VMware Perl SDK issue Xi

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Gritadmin
Posts: 2
Joined: Thu Apr 05, 2018 8:21 am

Re: VMware Perl SDK issue Xi

Post by Gritadmin »

Hi,
I have exactly the same issue and can't seem to solve it.
Re-installed the VMware SDK multiple times with the instructions given before but no joy.
I keep getting the error that not all modules are install yet when I try to add an ESX machine (or try something else out of that module).

Some code and output:, i'm running on the latest version of XI as i've just downloaded the trial OVF.

Code: Select all

[root@localhost vmware-vsphere-cli-distrib]# yum erase -y perl-XML-SAX-Base
Loaded plugins: fastestmirror
Setting up Remove Process
No Match for argument: perl-XML-SAX-Base
Loading mirror speeds from cached hostfile
 * base: mirror.nforce.com
 * epel: epel.mirror.wearetriple.com
 * extras: centos.mirror.transip.nl
 * updates: centos.mirror.transip.nl
No Packages marked for removal
[root@localhost vmware-vsphere-cli-distrib]# yum install -y perl-XML-SAX --exclu                                                                                                                                              de=perl-XML-SAX-Base
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.nforce.com
 * epel: epel.mirror.wearetriple.com
 * extras: centos.mirror.transip.nl
 * updates: centos.mirror.transip.nl
Package perl-XML-SAX-0.96-7.el6.noarch already installed and latest version
Nothing to do
[root@localhost vmware-vsphere-cli-distrib]# yum install -y libuuid* perl-XML-Li                                                                                                                                              bXML e2fsprogs-devel
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.nforce.com
 * epel: epel.mirror.wearetriple.com
 * extras: centos.mirror.transip.nl
 * updates: centos.mirror.transip.nl
Package libuuid-2.17.2-12.28.el6_9.2.x86_64 already installed and latest version
Package libuuid-devel-2.17.2-12.28.el6_9.2.x86_64 already installed and latest v                                                                                                                                              ersion
Package 1:perl-XML-LibXML-1.70-5.el6.x86_64 already installed and latest version
Package e2fsprogs-devel-1.41.12-23.el6.x86_64 already installed and latest versi                                                                                                                                              on
Nothing to do

Code: Select all

Installing vSphere CLI 6.5.0 build-4566394 for Linux.

This vSphere CLI installer includes precompiled Perl modules for RHEL.
Answering yes will install the precompiled modules, and answering no will
install from CPAN.
Do you want to install precompiled Perl modules for RHEL?
[yes]

In which directory do you want to install the executable files?
[/usr/bin]

Please wait while copying vSphere CLI files...

The installation of vSphere CLI 6.5.0 build-4566394 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:

MIME::Base64 3.14 or newer
Compress::Zlib 2.037 or newer
Compress::Raw::Zlib 2.037 or newer
version 0.78 or newer
IO::Compress::Base 2.037 or newer
IO::Compress::Zlib::Constants 2.061 or newer
LWP 6.15 or newer
LWP::Protocol::https 6.04 or newer
Socket6  0.23 or newer
IO::Socket::INET6 2.71 or newer
Net::HTTP 6.09 or newer

Enjoy,

--the VMware team

Code: Select all

[root@localhost libexec]# ls
check_apt          check_dummy               check_ifoperstatnag     check_mrtg                    check_nntps        check_real               check_snmp_env.pl             check_ssh               check_wmi_plus.pl
check_asterisk.pl  check_em01.pl             check_ifoperstatus      check_mrtgtraf                check_nrpe         check_rpc                check_snmp_generic.pl         check_ssmtp             check_xisla.php
check_bl           check_email_delivery      check_ifstatus          check_mssql                   check_nt           check_rrdtraf            check_snmp_int.pl             check_swap              folder_watch.pl
check_bpi.php      check_email_delivery_epn  check_imap              check_mssql_database.py       check_ntp          check_rrdtraf.php        check_snmp_linkproof_nhr.pl   check_tcp               negate
check_breeze       check_email_loop.pl       check_imap_receive      check_mssql_server.py         check_ntp_peer     check_sensors            check_snmp_load.pl            check_tftp.sh           process_perfdata.pl
check_by_ssh       check_esx3.pl             check_imap_receive_epn  check_mysql                   check_ntp_time     check_simap              check_snmp_load_wizard.pl     check_time              send_nsca
check_clamd        check_file_age            check_ircd              check_mysql_health            check_nwstat       check_sip                check_snmp_mem.pl             check_udp               urlize
check_cluster      check_flexlm              check_jabber            check_mysql_query             check_oracle       check_smtp               check_snmp_nsbox.pl           check_ups               utils.pm
check_dhcp         check_fping               check_ldap              check_nagios                  check_overcr       check_smtp_send          check_snmp_process.pl         check_uptime            utils.sh
check_dig          check_ftp                 check_ldaps             check_nagioslogserver.php     check_ping         check_smtp_send_epn      check_snmp_process_wizard.pl  check_users
check_dir          check_ftp_fully           check_load              check_nagios_performance.php  check_pnp_rrds.pl  check_snmp               check_snmp_storage.pl         check_wave
check_disk         check_hpjd                check_log               check_nagiosxiserver.php      check_pop          check_snmp_boostedge.pl  check_snmp_storage_wizard.pl  check_webinject.sh
check_disk_smb     check_http                check_mailq             check_ncpa.py                 check_postgres.pl  check_snmp_cpfw.pl       check_snmp_vrrp.pl            check_win_snmp_disk.pl
check_dns          check_icmp                check_mongodb.py        check_nna.py                  check_procs        check_snmp_css_main.pl   check_snmp_win.pl             check_wmi_plus.conf
check_domain.php   check_ide_smart           check_mountpoints.sh    check_nntp                    check_radius.py    check_snmp_css.pl        check_spop                    check_wmi_plus.ini
[root@localhost libexec]#
Gritadmin
Posts: 2
Joined: Thu Apr 05, 2018 8:21 am

Re: VMware Perl SDK issue Xi

Post by Gritadmin »

Hi,
This article solved the problem:
https://support.nagios.com/forum/viewto ... dk#p239337
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: VMware Perl SDK issue Xi

Post by lmiltchev »

I am glad your issue has been resolved! I am locking this topic. If you have any more questions/issues, please start a new thread.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked