Page 1 of 2

Error: It appears as though you have not installed the VMwar

Posted: Fri Jul 27, 2018 2:28 pm
by fraguillen
Hi:

I have this problem, I have reinstalled the Vmware Perl SDK several times with the same result:

Configuration Wizard: VMware - Step 1

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.

To complete the installation of the required components please follow the Monitoring VMware with Nagios XI documentation.


I have the following environment:

Nagios XI 5.5.0
----------------------------------------------------
Red Hat Enterprise Linux Server release 7.5 (Maipo)
----------------------------------------------------
yum list installed perl
Loaded add-ons:enabled_repos_upload, package_upload, product-id, search-disabled-repos, subscription-manager
Packages installed
perl.x86_64 4:5.16.3-292.el7 @rhel-7-server-rpms
Uploading Enabled Repositories Report
Loaded add-ons:product-id, subscription-manager
-----------------------------------------------------
rpm -qa | grep perl
perl-Data-OptList-0.107-9.el7.noarch
perl-DateTime-TimeZone-1.70-1.el7.noarch
perl-Email-Date-Format-1.002-15.el7.noarch
perl-Text-ParseWords-3.29-4.el7.noarch
perl-Time-Local-1.2300-2.el7.noarch
perl-IO-SessionData-1.03-1.el7.noarch
perl-threads-shared-1.43-6.el7.x86_64
uuid-perl-1.6.2-26.el7.x86_64
perl-Config-Tiny-2.14-7.el7.noarch
perl-libxml-perl-0.08-19.el7.noarch
perl-File-Listing-6.04-7.el7.noarch
perl-CPAN-1.9800-292.el7.noarch
perl-Net-SSLeay-1.55-6.el7.x86_64
perl-Number-Format-1.73-14.el7.noarch
perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64
perl-Business-ISBN-2.06-2.el7.noarch
perl-libwww-perl-6.05-2.el7.noarch
perl-List-MoreUtils-0.33-9.el7.x86_64
perl-Package-Stash-0.34-2.el7.noarch
perl-MIME-Lite-3.030-1.el7.noarch
perl-podlators-2.5.1-3.el7.noarch
perl-Storable-2.45-3.el7.x86_64
perl-IO-Socket-INET6-2.69-5.el7.noarch
perl-Scalar-List-Utils-1.27-248.el7.x86_64
perl-IO-Socket-SSL-1.94-7.el7.noarch
perl-Convert-BinHex-1.119-20.el7.noarch
perl-5.16.3-292.el7.x86_64
perl-Data-Dump-1.22-1.el7.noarch
perl-ExtUtils-Install-1.58-292.el7.noarch
perl-XML-SAX-0.99-9.el7.noarch
perl-Params-Validate-1.08-4.el7.x86_64
perl-DBI-1.627-4.el7.x86_64
perl-HTTP-Cookies-6.01-5.el7.noarch
perl-Thread-Queue-3.02-2.el7.noarch
perl-DateTime-Locale-0.45-6.el7.noarch
perl-Config-IniFiles-2.79-1.el7.noarch
perl-CGI-3.63-4.el7.noarch
perl-XML-Parser-2.41-10.el7.x86_64
perl-XML-NamespaceSupport-1.11-10.el7.noarch
perl-Pod-Perldoc-3.20-4.el7.noarch
perl-Exporter-5.68-3.el7.noarch
perl-Net-LibIDN-0.12-15.el7.x86_64
perl-File-Temp-0.23.01-3.el7.noarch
perl-MailTools-2.12-2.el7.noarch
perl-Monitoring-Plugin-0.38-1.el7.1.noarch
perl-Data-Dumper-2.145-3.el7.x86_64
perl-IO-HTML-1.00-2.el7.noarch
perl-ExtUtils-ParseXS-3.18-3.el7.noarch
perl-Module-Implementation-0.06-6.el7.noarch
perl-HTML-Tagset-3.20-15.el7.noarch
perl-DBD-MySQL-4.023-6.el7.x86_64
perl-SNMP_Session-1.13-5.el7.noarch
perl-HTTP-Message-6.06-6.el7.noarch
perl-srpm-macros-1-8.el7.noarch
perl-Digest-MD5-2.52-3.el7.x86_64
perl-Sub-Install-0.926-6.el7.noarch
perl-Class-Singleton-1.4-14.el7.noarch
perl-DateTime-1.04-6.el7.x86_64
net-snmp-perl-5.7.2-33.el7_5.2.x86_64
perl-HTTP-Server-Simple-0.44-6.el7.1.noarch
perl-Mozilla-CA-20130114-5.el7.noarch
perl-IO-Socket-IP-0.21-5.el7.noarch
perl-parent-0.225-244.el7.noarch
perl-Pod-Escapes-1.04-292.el7.noarch
perl-macros-5.16.3-292.el7.x86_64
perl-constant-1.27-2.el7.noarch
perl-Time-HiRes-1.9725-3.el7.x86_64
perl-File-Path-2.09-2.el7.noarch
perl-Class-Inspector-1.28-2.el7.noarch
perl-Pod-Simple-3.28-4.el7.noarch
perl-Error-0.17020-2.el7.noarch
perl-Test-Harness-3.28-3.el7.noarch
perl-Digest-SHA-5.85-4.el7.x86_64
perl-local-lib-1.008010-4.el7.noarch
perl-Try-Tiny-0.12-2.el7.noarch
perl-IO-Tty-1.10-11.el7.x86_64
perl-devel-5.16.3-292.el7.x86_64
perl-Encode-Detect-1.01-13.el7.x86_64
perl-Module-Runtime-0.013-4.el7.noarch
perl-Net-Daemon-0.48-5.el7.noarch
perl-Net-SNMP-6.0.1-7.el7.noarch
perl-URI-1.60-9.el7.noarch
perl-HTTP-Daemon-6.01-7.el7.noarch
perl-LWP-Protocol-https-6.04-4.el7.noarch
perl-Digest-HMAC-1.03-5.el7.noarch
perl-Net-DNS-0.72-6.el7.x86_64
perl-Params-Util-1.07-6.el7.x86_64
perl-SOAP-Lite-1.10-1.el7.noarch
perl-YAML-0.84-5.el7.noarch
openwsman-perl-2.6.3-3.git4391e5c.el7.x86_64
perl-Package-Stash-XS-0.26-3.el7.x86_64
perl-Sys-Syslog-0.33-3.el7.x86_64
perl-Socket6-0.23-15.el7.x86_64
perl-MIME-Types-1.38-2.el7.noarch
perl-HTTP-Tiny-0.033-3.el7.noarch
perl-libs-5.16.3-292.el7.x86_64
perl-PathTools-3.40-5.el7.x86_64
perl-Net-HTTP-6.06-2.el7.noarch
perl-Getopt-Long-2.40-3.el7.noarch
perl-Crypt-Rijndael-1.12-1.el7.x86_64
perl-Test-MockObject-1.20120301-3.el7.noarch
perl-ExtUtils-Manifest-1.61-244.el7.noarch
perl-ExtUtils-MakeMaker-6.68-3.el7.noarch
perl-XML-SAX-Base-1.08-7.el7.noarch
perl-Math-Calc-Units-1.07-9.el7.noarch
perl-PlRPC-0.2020-14.el7.noarch
perl-Digest-SHA1-2.13-9.el7.x86_64
perl-HTTP-Negotiate-6.01-5.el7.noarch
perl-Test-Simple-0.98-243.el7.noarch
perl-Package-DeprecationManager-0.13-7.el7.noarch
perl-IO-stringy-2.110-22.el7.noarch
perl-FCGI-0.74-8.el7.x86_64
perl-LWP-MediaTypes-6.02-2.el7.noarch
perl-Encode-2.51-7.el7.x86_64
perl-Socket-2.010-4.el7.x86_64
perl-Net-SMTP-SSL-1.01-13.el7.noarch
perl-threads-1.87-4.el7.x86_64
perl-Archive-Zip-1.30-11.el7.noarch
perl-Class-Accessor-0.34-12.el7.noarch
perl-Nagios-Plugin-0.36-7.el7.noarch
perl-HTTP-Date-6.02-8.el7.noarch
perl-Mail-IMAPClient-3.37-1.el7.noarch
perl-Compress-Raw-Zlib-2.061-4.el7.x86_64
perl-Crypt-SSLeay-0.64-5.el7.x86_64
perl-Business-ISBN-Data-20120719.001-2.el7.noarch
perl-WWW-RobotRules-6.02-5.el7.noarch
rrdtool-perl-1.4.9-1.el7.x86_64
perl-Class-Load-0.20-3.el7.noarch
perl-TermReadKey-2.30-20.el7.x86_64
perl-Config-General-2.61-1.el7.noarch
perl-Encode-Locale-1.03-5.el7.noarch
perl-Pod-Usage-1.63-3.el7.noarch
perl-Carp-1.26-244.el7.noarch
perl-Class-MethodMaker-2.20-1.el7.x86_64
perl-Filter-1.49-3.el7.x86_64
perl-MIME-tools-5.505-1.el7.noarch
perl-Digest-1.17-245.el7.noarch
perl-Devel-CheckLib-0.99-2.el7.noarch
perl-TimeDate-2.30-2.el7.noarch
perl-Parse-RecDescent-1.967009-5.el7.noarch
perl-XML-LibXML-2.0018-5.el7.x86_64
perl-Crypt-DES-2.05-20.el7.x86_64
perl-IO-Compress-2.061-2.el7.noarch
perl-HTML-Parser-3.71-4.el7.x86_64
-------------------------------------------------

which perl
/usr/bin/perl
------------------------------------------------

./vmware-install.pl
If your system has direct Internet access, you can ignore this warning .

Please wait while configuring CPAN ...

Do you want to continue? (yes/no) yes

Please wait while configuring perl modules using CPAN ...

CPAN is downloading and installing pre-requisite Perl module "Time::Piece" .

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.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.

Enjoy,

--the VMware team

Re: Error: It appears as though you have not installed the V

Posted: Fri Jul 27, 2018 4:03 pm
by scottwilkerson
Please run the following

Code: Select all

ls -al /usr/local/nagios/libexec/check_esx3.pl
LANG=C LC_ALL=C /usr/local/nagios/libexec/check_esx3.pl | head --lines=1

Re: Error: It appears as though you have not installed the V

Posted: Fri Jul 27, 2018 4:07 pm
by fraguillen
Hi:

# ls -al /usr/local/nagios/libexec/check_esx3.pl
-rwxr-xr-x 1 root nagios 82970 jul 12 15:43 /usr/local/nagios/libexec/check_esx3.pl

# LANG=C LC_ALL=C /usr/local/nagios/libexec/check_esx3.pl | head --lines=1
Usage: check_esx3.pl -D <data_center> | -H <host_name> [ -N <vm_name> ]

Re: Error: It appears as though you have not installed the V

Posted: Fri Jul 27, 2018 4:29 pm
by scottwilkerson
one more

Code: Select all

getenforce

Re: Error: It appears as though you have not installed the V

Posted: Fri Jul 27, 2018 4:31 pm
by fraguillen
# getenforce
Disabled

Re: Error: It appears as though you have not installed the V

Posted: Mon Jul 30, 2018 9:30 am
by scottwilkerson
Can you go to Admin -> Manage Config Wizards
find the vmware wizard and click the download button, please attach the zip to this post.

Thanks

Re: Error: It appears as though you have not installed the V

Posted: Mon Jul 30, 2018 9:49 am
by fraguillen
Good morning:

Attached as requested.

Best regards...

Re: Error: It appears as though you have not installed the V

Posted: Mon Jul 30, 2018 10:21 am
by scottwilkerson
Can you open a ticket and reference this thread
https://support.nagios.com/tickets/

I believe it may be useful for us to setup a quick remote session to debug the issue.

thanks

Re: Error: It appears as though you have not installed the V

Posted: Mon Jul 30, 2018 10:59 am
by fraguillen
Thanks Scott

I opened ticket 982156.


Best regards...

Re: Error: It appears as though you have not installed the V

Posted: Mon Jul 30, 2018 11:06 am
by scottwilkerson
Locking thread will continue in ticket