Page 1 of 1

VMWare configuration wizard plugins error

Posted: Wed Sep 12, 2018 10:36 am
by nortonhealthcare
CentOS Linux release 7.5.1804 (Core)
64 bit
Manual Install of XI
No specific configurations, no gnome, proxy, or SSL

Hello,

When attempting to run the Configuration Wizard for VMware, I get the following error message:

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

I have followed the directions here: https://assets.nagios.com/downloads/nag ... ios-XI.pdf

and here:

https://support.nagios.com/forum/viewto ... 99#p178278

I get the same error. Can you assist with this? Any help is greatly appreciated!

Re: VMWare configuration wizard plugins error

Posted: Wed Sep 12, 2018 11:46 am
by jforcier
Can you run the following command on the Nagios server and post the output?

Code: Select all

/usr/local/nagios/libexec/check_esx3.pl --version
If it is not found run the following:

Code: Select all

yum install perl-Nagios-Plugin -y
cpan -i Nagios::Monitoring::Plugin

Re: VMWare configuration wizard plugins error

Posted: Wed Sep 12, 2018 12:49 pm
by lmiltchev
What is the version of the Nagios XI and the Vmware wizard that you are currently using? What version of SDK are you trying to install?

Re: VMWare configuration wizard plugins error

Posted: Wed Sep 12, 2018 1:02 pm
by nortonhealthcare
[quote="jforcier"]Can you run the following command on the Nagios server and post the output?

Code: Select all

/usr/local/nagios/libexec/check_esx3.pl --version
[root@nhclnx59 ~]# /usr/local/nagios/libexec/check_esx3.pl --version
check_esx3.pl 0.7.1

Re: VMWare configuration wizard plugins error

Posted: Wed Sep 12, 2018 1:05 pm
by nortonhealthcare
lmiltchev wrote:What is the version of the Nagios XI and the Vmware wizard that you are currently using? What version of SDK are you trying to install?
Nagios is version 5.5.1. I installed VMware-vSphere-Perl-SDK-6.7.0-8156551.x86_64.tar.gz .

Re: VMWare configuration wizard plugins error

Posted: Wed Sep 12, 2018 1:32 pm
by lmiltchev
If the Vmware wizard version on this server is older than 1.7.1, update the wizard by going to Admin > Manage Config Wizards > Check for Updates > Install Updates. Then, try rerunning the wizard.

If this didn't solve the issue, try reinstalling the SDK by following these exact steps:

1. Install some perl modules before attempting SDK install

Code: Select all

cpan -i YAML
yum install libxml2-devel xml2
yum install libuuid-devel
cpan -i UUID
cpan -i XML::LibXML
cpan -i Socket
cpan -i Socket6
cpan -i IO::Socket::INET6
yum install perl-Module-Build
2. Install SDK

Code: Select all

cd /tmp/vmware-vsphere-cli-distrib/
./vmware-install.pl
Important: Some of these commands may take a very long time to execute. Just be patient and make sure that all required packages are installed.

3. Optionally, update some of the perl modules if you see a message that they may be too old. You can do this by running:

Code: Select all

curl -L http://cpanmin.us | perl - App::cpanminus
cpanm <module name>
Example:

Code: Select all

cpanm Net::HTTP

Re: VMWare configuration wizard plugins error

Posted: Wed Sep 12, 2018 2:08 pm
by nortonhealthcare
There were no updates for the VMWare configuration wizard (version is 1.7.1). I ran the following:

"
cpan -i YAML
yum install libxml2-devel xml2
yum install libuuid-devel
cpan -i UUID
cpan -i XML::LibXML
cpan -i Socket
cpan -i Socket6
cpan -i IO::Socket::INET6
yum install perl-Module-Build

cd /tmp/vmware-vsphere-cli-distrib/
./vmware-install.pl
"

and per your suggestion since I saw "The following Perl modules were found on the system but may be too old to work
with vSphere CLI:

Time::Piece 1.31 or newer
Try::Tiny 0.28 or newer
Crypt::SSLeay 0.72 or newer
XML::NamespaceSupport 1.12 or newer
LWP 6.26 or newer
LWP::Protocol::https 6.07 or newer
Socket6 0.28 or newer
Text::Template 1.47 or newer
Net::INET6Glue 0.603 or newer
Net::HTTP 6.09 or newer
"

I updated all of them. Unfortunately I'm still getting the same error message. Do you have any other suggestions?

Re: VMWare configuration wizard plugins error

Posted: Wed Sep 12, 2018 4:41 pm
by npolovenko
@nortonhealthcare, I suggest escalating this issue to a support ticket. That way we can schedule a remote session with you and make sure that you have all the right modules. Here's the link to open a ticket:
https://support.nagios.com/tickets