VMWare configuration wizard plugins error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nortonhealthcare
Posts: 33
Joined: Thu Aug 10, 2017 8:22 am

VMWare configuration wizard plugins error

Post 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!
jforcier

Re: VMWare configuration wizard plugins error

Post 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
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: VMWare configuration wizard plugins error

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
nortonhealthcare
Posts: 33
Joined: Thu Aug 10, 2017 8:22 am

Re: VMWare configuration wizard plugins error

Post 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
nortonhealthcare
Posts: 33
Joined: Thu Aug 10, 2017 8:22 am

Re: VMWare configuration wizard plugins error

Post 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 .
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: VMWare configuration wizard plugins error

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
nortonhealthcare
Posts: 33
Joined: Thu Aug 10, 2017 8:22 am

Re: VMWare configuration wizard plugins error

Post 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?
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: VMWare configuration wizard plugins error

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked