Page 1 of 2

VMware configuration wizard error

Posted: Tue Feb 26, 2019 9:13 am
by inas.labib
Hi Team,

We are getting below error while we are using VMware Wizard

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.

We have installed all the plugins and place the check_esx3.pl file in /usr/local/nagios/libexcec file even though we are getting same.

Please do the needful.

Thanks

Re: VMware configuration wizard error

Posted: Tue Feb 26, 2019 3:41 pm
by scottwilkerson
What version of XI are you running?

Did you follow this guide?
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Re: VMware configuration wizard error

Posted: Thu Feb 28, 2019 4:12 am
by inas.labib
Hi,

yes we have followed the guidelines provided by the document. Even though we are getting same error .
at present we are using 5.5.9 nagios XI version.

Re: VMware configuration wizard error

Posted: Thu Feb 28, 2019 10:56 am
by scottwilkerson
Can you go to Admin -> Manage Config Wizards
Check for updates

and make sure you have the latest VMware Wizard

Re: VMware configuration wizard error

Posted: Thu Mar 07, 2019 6:00 am
by inas.labib
Hi team,


We have latest version of vmware plugin 1.7.2 even though we are getting same error.

Please let us know how to resolve. apologies for late reply

Thanks.

Re: VMware configuration wizard error

Posted: Thu Mar 07, 2019 3:44 pm
by npolovenko
@inas.labib, I've seen many users having issues with the latest SDK 6.7. I'd highly recommend reinstalling SDK and using version 6.5 instead.
https://pubs.vmware.com/vsphere-51/inde ... l.3.7.html

Also, please make sure to install all the prerequisite modules mentioned in this article:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Re: VMware configuration wizard error

Posted: Mon Mar 11, 2019 2:34 am
by inas.labib
Hi Team

We have vSphere CLI 6.5.0 build-4566394 for Linux version same error is repeating.

Re: VMware configuration wizard error

Posted: Mon Mar 11, 2019 12:19 pm
by npolovenko
@inas.labib, Please sign in as the nagios user, manually run the plugin from the command line and show me the output with errors:
su - nagios
cd /usr/local/nagios/libexec/
./check_esx3.pl
Sometimes this gives a more detailed message on what is actually missing.

Re: VMware configuration wizard error

Posted: Mon Mar 11, 2019 8:55 pm
by inas.labib
Hi

please find the below output.

nagios@host:~$ /usr/local/nagios/libexec/check_esx3.pl
Usage: check_esx3.pl -D <data_center> | -H <host_name> [ -N <vm_name> ]
-u <user> -p <pass> | -f <authfile>
-l <command> [ -s <subcommand> ]
[ -t <timeout> ] [ -w <warn_range> ] [ -c <crit_range> ]
[ -V ] [ -h ]

Missing argument: command
nagios@host:~$ /usr/local/nagios/libexec/check_esx3.pl -V
check_esx3.pl 0.2.0

command working fine , but in GUI we are getting the error.

Re: VMware configuration wizard error

Posted: Tue Mar 12, 2019 12:17 pm
by lmiltchev
Let's make sure that you installed all of the prerequisites. Run the following command and show the output:

Code: Select all

yum list installed | grep 'libxml2-devel\|xml2\|libuuid-devel'
Also, run:

Code: Select all

cpan -a > /tmp/cpan.txt
then post the "cpan.txt" file that was generated in the "/tmp" directory by the above command.

Note: Last command may take a while to complete.