Hi
please find the attachment and output of the mentioned commands
root@hostname:~$yum list installed | grep 'libxml2-devel\|xml2\|libuuid-devel'
libuuid-devel.x86_64 2.17.2-12.28.el6_9.2 @rhel-6-server-rpms
libxml2.x86_64 2.7.6-21.el6_8.1 @wdp-rhel
libxml2-devel.x86_64 2.7.6-21.el6_8.1 @rhel-6-server-rpms
libxml2-python.x86_64 2.7.6-21.el6_8.1 @wdp-rhel
xml2.x86_64 0.5-7.el6 @epel
VMware configuration wizard error
-
inas.labib
- Posts: 170
- Joined: Tue Sep 11, 2012 3:48 am
Re: VMware configuration wizard error
You do not have the required permissions to view the files attached to this post.
-
inas.labib
- Posts: 170
- Joined: Tue Sep 11, 2012 3:48 am
Re: VMware configuration wizard error
Hi
PFA and command output:
root@hostname:~$yum list installed | grep 'libxml2-devel\|xml2\|libuuid-devel'
libuuid-devel.x86_64 2.17.2-12.28.el6_9.2 @rhel-6-server-rpms
libxml2.x86_64 2.7.6-21.el6_8.1 @wdp-rhel
libxml2-devel.x86_64 2.7.6-21.el6_8.1 @rhel-6-server-rpms
libxml2-python.x86_64 2.7.6-21.el6_8.1 @wdp-rhel
xml2.x86_64 0.5-7.el6 @epel
PFA and command output:
root@hostname:~$yum list installed | grep 'libxml2-devel\|xml2\|libuuid-devel'
libuuid-devel.x86_64 2.17.2-12.28.el6_9.2 @rhel-6-server-rpms
libxml2.x86_64 2.7.6-21.el6_8.1 @wdp-rhel
libxml2-devel.x86_64 2.7.6-21.el6_8.1 @rhel-6-server-rpms
libxml2-python.x86_64 2.7.6-21.el6_8.1 @wdp-rhel
xml2.x86_64 0.5-7.el6 @epel
You do not have the required permissions to view the files attached to this post.
Re: VMware configuration wizard error
It seems like you have all of the required packages, so let's try the following:
1. Reinstall the VMWare SDK and post the last several lines of the output, showing the the SDK install succeeded.
Example:
2. Run the following commands from the CLI, and show the output:
where you substitute "ip address", "/usr/local/nagiosxi/etc/components/vmware/<hostname>_auth.txt", and "<guest>" with the actual values.
Note: If any of the above commands fail, rerun them by adding the "-vvv" at the end (for increased verbosity), and show the output.
Example:
3. Run the vmware wizard against the remote ESXi/Vsphere server and show us a screenshot of the error that you are getting.
1. Reinstall the VMWare SDK and post the last several lines of the output, showing the the SDK install succeeded.
Example:
Code: Select all
The installation of vSphere CLI 6.5.0 build-4566394 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.
The following Perl modules were found on the system but may be too old to work
with vSphere CLI:
MIME::Base64 3.14 or newer
Try::Tiny 0.22 or newer
LWP 6.15 or newer
Socket6 0.23 or newer
Net::HTTP 6.09 or newer
Enjoy,
--the VMware teamCode: Select all
/usr/local/nagios/libexec/check_esx3.pl -H "ip address" -f "/usr/local/nagiosxi/etc/components/vmware/<hostname>_auth.txt" -l "CPU"
/usr/local/nagios/libexec/check_vmware_api.pl -H "ip address" -f "/usr/local/nagiosxi/etc/components/vmware/<hostname>_auth.txt" -l "CPU"
/usr/local/nagios/libexec/check_esx3.pl -H "ip address" -f "/usr/local/nagiosxi/etc/components/vmware/<hostname>_auth.txt" -N "<guest>" -l "CPU"
/usr/local/nagios/libexec/check_vmware_api.pl -H "ip address" -f "/usr/local/nagiosxi/etc/components/vmware/<hostname>_auth.txt" -N "<guest>" -l "CPU"Note: If any of the above commands fail, rerun them by adding the "-vvv" at the end (for increased verbosity), and show the output.
Example:
Code: Select all
/usr/local/nagios/libexec/check_esx3.pl -H "ip address" -f "/usr/local/nagiosxi/etc/components/vmware/<hostname>_auth.txt" -l "CPU" -vvvBe sure to check out our Knowledgebase for helpful articles and solutions!
-
inas.labib
- Posts: 170
- Joined: Tue Sep 11, 2012 3:48 am
Re: VMware configuration wizard error
The file /lib/libgcc_s.so.1 that this program was about to install already
exists. Overwrite? [yes]
The installation of vSphere CLI 6.5.0 build-4566394 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.
The following Perl modules were found on the system but may be too old to work
with vSphere CLI:
MIME::Base64 3.14 or newer
Compress::Zlib 2.037 or newer
Compress::Raw::Zlib 2.037 or newer
IO::Compress::Base 2.037 or newer
IO::Compress::Zlib::Constants 2.061 or newer
LWP 6.15 or newer
LWP::Protocol::https 6.04 or newer
Socket6 0.23 or newer
Net::HTTP 6.09 or newer
Enjoy,
--the VMware team
nagios@hostname:~$ /usr/local/nagios/libexec/check_esx3.pl -H "ip address" -f "/usr/local/nagiosxi/etc/components/vmware/ipaddress_auth.txt" -l "CPU" -vvv
[extra-opts] check_esx3.pl -H ipaddress -f /usr/local/nagiosxi/etc/components/vmware/ipaddress_auth.txt -l CPU -vvv
ESX3 CRITICAL - Error: Cannot complete login due to an incorrect user name or password.
in GUI if we are clicck on vmware vizard we are getting below error:
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.
PFA of screen shot.
exists. Overwrite? [yes]
The installation of vSphere CLI 6.5.0 build-4566394 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.
The following Perl modules were found on the system but may be too old to work
with vSphere CLI:
MIME::Base64 3.14 or newer
Compress::Zlib 2.037 or newer
Compress::Raw::Zlib 2.037 or newer
IO::Compress::Base 2.037 or newer
IO::Compress::Zlib::Constants 2.061 or newer
LWP 6.15 or newer
LWP::Protocol::https 6.04 or newer
Socket6 0.23 or newer
Net::HTTP 6.09 or newer
Enjoy,
--the VMware team
nagios@hostname:~$ /usr/local/nagios/libexec/check_esx3.pl -H "ip address" -f "/usr/local/nagiosxi/etc/components/vmware/ipaddress_auth.txt" -l "CPU" -vvv
[extra-opts] check_esx3.pl -H ipaddress -f /usr/local/nagiosxi/etc/components/vmware/ipaddress_auth.txt -l CPU -vvv
ESX3 CRITICAL - Error: Cannot complete login due to an incorrect user name or password.
in GUI if we are clicck on vmware vizard we are getting below error:
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.
PFA of screen shot.
You do not have the required permissions to view the files attached to this post.
Re: VMware configuration wizard error
Can you open the /usr/local/nagiosxi/etc/components/vmware/ipaddress_auth.txt file in a text editor and review it? Make sure that you are using the correct credentials, then rerun the check, and show the output.nagios@hostname:~$ /usr/local/nagios/libexec/check_esx3.pl -H "ip address" -f "/usr/local/nagiosxi/etc/components/vmware/ipaddress_auth.txt" -l "CPU" -vvv
[extra-opts] check_esx3.pl -H ipaddress -f /usr/local/nagiosxi/etc/components/vmware/ipaddress_auth.txt -l CPU -vvv
ESX3 CRITICAL - Error: Cannot complete login due to an incorrect user name or password.
Try updating these modules via cpan. First, install cpanm by running:MIME::Base64 3.14 or newer
Compress::Zlib 2.037 or newer
Compress::Raw::Zlib 2.037 or newer
IO::Compress::Base 2.037 or newer
IO::Compress::Zlib::Constants 2.061 or newer
LWP 6.15 or newer
LWP::Protocol::https 6.04 or newer
Socket6 0.23 or newer
Net::HTTP 6.09 or newer
Code: Select all
curl -L http://cpanmin.us | perl - App::cpanminusCode: Select all
cpanm <name of the module>Code: Select all
cpanm Compress::ZlibCode: Select all
cpanm -f <name of the module>After upgrading all of the modules listed by the SDK installer, try rerunning the wizard (using the correct credentials). If you are still having issues after this, most likely we would need to move this to a ticket. You can open a support ticket via our support center here:
https://support.nagios.com/tickets/
Be sure to check out our Knowledgebase for helpful articles and solutions!