VMware Plug-In Install Issues
VMware Plug-In Install Issues
We were able to install the VMWare plug-in on our Red Hat Enterprise Linux server r7.4 (Maipo) with kernel version 3.10.0-693.5.2el7.x86_64 Nagios XI server. When we tried to use the Wizard we received an error...
Error: It appears as though you have not installed the VMware SDK or ESX plugins on your Nagios XI server. You must have the components properly installed on your system before using this wizard.
We found this information on the support site...
Common Problems
Below are some common problems encountered when using the VMware wizard.
The wizard shows a big red box that says the VMware SDK isn't installed. I installed it, so what's causing this?
Reinstall the VMware SDK. It's very easy to pass over an error in that install script. If you don't see "Enjoy--the VMware team" at the end of the install, then it did not install properly.
The other thing that can cause this is that the check_esx3.pl does not exist in /usr/local/nagios/libexec/. If this error persists past VMware SDK reinstall, then reinstall the wizard. If it persists past the wizard install, then manually place check_esx3.pl into /usr/local/nagios/libexec/ directory.
So, our Linux team uninstalled the plug-in and attempted a reinstallation.
The output showed an Error at the end...
Regards,
Martin Keey
Foot Locker, Inc.
mkeey@footlocker.com
Error: It appears as though you have not installed the VMware SDK or ESX plugins on your Nagios XI server. You must have the components properly installed on your system before using this wizard.
We found this information on the support site...
Common Problems
Below are some common problems encountered when using the VMware wizard.
The wizard shows a big red box that says the VMware SDK isn't installed. I installed it, so what's causing this?
Reinstall the VMware SDK. It's very easy to pass over an error in that install script. If you don't see "Enjoy--the VMware team" at the end of the install, then it did not install properly.
The other thing that can cause this is that the check_esx3.pl does not exist in /usr/local/nagios/libexec/. If this error persists past VMware SDK reinstall, then reinstall the wizard. If it persists past the wizard install, then manually place check_esx3.pl into /usr/local/nagios/libexec/ directory.
So, our Linux team uninstalled the plug-in and attempted a reinstallation.
The output showed an Error at the end...
Regards,
Martin Keey
Foot Locker, Inc.
mkeey@footlocker.com
Last edited by benjaminsmith on Tue Feb 19, 2019 11:44 am, edited 2 times in total.
Reason: log removed at request
Reason: log removed at request
Re: VMware Plug-In Install Issues
What error are you talking about? Is it the message about the outdated perl modules?
1. Install cpanm if you don't have it installed by running:
2. Update any perl module that you wish by running:
Example:
3. Verify the modfule version by running:
Example:
Hope this helps.
Many times, the vmware wizard works just fine, regardless of the outdated modules. Having said that, you could try updating the modules if you wish.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
LWP::Protocol::https 6.04 or newer
Socket6 0.23 or newer
IO::Socket::INET6 2.71 or newer
Net::HTTP 6.09 or newer
1. Install cpanm if you don't have it installed by running:
Code: Select all
curl -L http://cpanmin.us | perl - App::cpanminus
Code: Select all
cpanm <module>
Code: Select all
cpanm MIME::Base64
Code: Select all
cpan -D <module>
Code: Select all
cpan -D MIME::Base64
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: VMware Plug-In Install Issues
I have installed everything again and manually updated the "older" packages with cpanm and the Nagios wizard still says the plugin is not installed.
Last edited by benjaminsmith on Tue Feb 19, 2019 11:41 am, edited 1 time in total.
Reason: log output removed at request
Reason: log output removed at request
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: VMware Plug-In Install Issues
@mkeey, There's an official tutorial from Nagios on how to install all prereqs for this plugin:
https://assets.nagios.com/downloads/nag ... gJ8dPD_BwE
I was having a very similar problem where it seemed like I installed all the right modules but this plugin still refused to work. I ended up starting all over and followed the official guide and I no longer had any issues.
https://assets.nagios.com/downloads/nag ... gJ8dPD_BwE
I was having a very similar problem where it seemed like I installed all the right modules but this plugin still refused to work. I ended up starting all over and followed the official guide and I no longer had any issues.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: VMware Plug-In Install Issues
The document provided is the same document that we used for the installation process. If you look in the first installation log sent there were numerous items listed that needed to be updated. Those have all been updated successfully. If you look at the second log it shows the second installation of the plug-in was performed successfully. But when utilizing the VMware Configuration Wizard in Nagios XI it still says it's not installed.
Re: VMware Plug-In Install Issues
There may be other perl modules that could be missing or not updated causing the wizard to not run.
Can you run the following command on the Nagios server and post the output?
Please post the output so we can go from there.
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
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: VMware Plug-In Install Issues
Below is the output and Plugin.pm does not exist on the box.
Last edited by benjaminsmith on Tue Feb 19, 2019 11:42 am, edited 1 time in total.
Reason: Log output removed
Reason: Log output removed
Re: VMware Plug-In Install Issues
You need to install the missing Nagios Plugin perl module by running the following.
Then run the plugin from the command line it is returns the version number, then go ahead and run the Wizard.
Code: Select all
yum install perl-Nagios-Plugin -y
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: VMware Plug-In Install Issues
Making some progress. Now Nagios/Plugin.pm exists on the box but we still get an error that it cannot find it.
So check_esx3.pl is looking for /usr/share/perl5/vendor_perl/Nagios/Monitoring/Plugin.pm
and
The file is /usr/share/perl5/vendor_perl/Nagios/Plugin.pm
Installed: perl-Nagios-Plugin.noarch 0:0.36-7.el7
Dependency Installed: perl-Config-Tiny.noarch 0:2.14-7.el7 perl-Math-Calc-Units.noarch 0:1.07-9.el7
Complete!
So check_esx3.pl is looking for /usr/share/perl5/vendor_perl/Nagios/Monitoring/Plugin.pm
and
The file is /usr/share/perl5/vendor_perl/Nagios/Plugin.pm
Installed: perl-Nagios-Plugin.noarch 0:0.36-7.el7
Dependency Installed: perl-Config-Tiny.noarch 0:2.14-7.el7 perl-Math-Calc-Units.noarch 0:1.07-9.el7
Complete!
Last edited by benjaminsmith on Tue Feb 19, 2019 11:43 am, edited 1 time in total.
Reason: log output removed at request
Reason: log output removed at request
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: VMware Plug-In Install Issues
@mkeey, Please run the following command to install the Perl module:
Code: Select all
cpan -i Nagios::Monitoring::Plugin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.