VMware configuration wizard error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
inas.labib
Posts: 170
Joined: Tue Sep 11, 2012 3:48 am

VMware configuration wizard error

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: VMware configuration wizard error

Post by scottwilkerson »

What version of XI are you running?

Did you follow this guide?
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
inas.labib
Posts: 170
Joined: Tue Sep 11, 2012 3:48 am

Re: VMware configuration wizard error

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: VMware configuration wizard error

Post by scottwilkerson »

Can you go to Admin -> Manage Config Wizards
Check for updates

and make sure you have the latest VMware Wizard
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
inas.labib
Posts: 170
Joined: Tue Sep 11, 2012 3:48 am

Re: VMware configuration wizard error

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

Re: VMware configuration wizard error

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
inas.labib
Posts: 170
Joined: Tue Sep 11, 2012 3:48 am

Re: VMware configuration wizard error

Post by inas.labib »

Hi Team

We have vSphere CLI 6.5.0 build-4566394 for Linux version same error is repeating.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: VMware configuration wizard error

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
inas.labib
Posts: 170
Joined: Tue Sep 11, 2012 3:48 am

Re: VMware configuration wizard error

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

Re: VMware configuration wizard error

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked