Wizard for VMware not able to use

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
s.wiki
Posts: 82
Joined: Sat Mar 04, 2017 11:02 am

Wizard for VMware not able to use

Post by s.wiki »

Hi,
I follow this link: https://assets.nagios.com/downloads/nag ... 1495783204
and have installed all the pre-requisite and Perl SDK for vSphere (tried both 6.5 and 6.0u2).

However I am still unable to use and the error display

Code: Select all

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.
Any idea where should i look for?

Thanks
s.wiki
Posts: 82
Joined: Sat Mar 04, 2017 11:02 am

Re: Wizard for VMware not able to use

Post by s.wiki »

Code: Select all

[root@imsvm dependencies_monitoring_plugin]# rpm -qil perl-Nagios-Plugin
Name        : perl-Nagios-Plugin           Relocations: (not relocatable)
Version     : 0.35                              Vendor: Fedora Project
Release     : 1.el6                         Build Date: Tue 17 May 2011 07:06:31 AM MYT
Install Date: Wed 14 Jun 2017 06:52:25 PM MYT      Build Host: ppc12.phx2.fedoraproject.org
Group       : Development/Libraries         Source RPM: perl-Nagios-Plugin-0.35-1.el6.src.rpm
Size        : 110989                           License: GPL+ or Artistic
Signature   : RSA/8, Wed 18 May 2011 06:45:17 PM MYT, Key ID 3b49df2a0608b895
Packager    : Fedora Project
URL         : http://search.cpan.org/dist/Nagios-Plugin/
Summary     : Family of perl modules to streamline writing Nagios plugins
Description :
Nagios::Plugin and its associated Nagios::Plugin::* modules are a family of
perl modules to streamline writing Nagios plugins. The main end user
modules are Nagios::Plugin, providing an object-oriented interface to the
entire Nagios::Plugin::* collection, and Nagios::Plugin::Functions,
providing a simpler functional interface to a useful subset of the
available functionality.
/usr/share/doc/perl-Nagios-Plugin-0.35
/usr/share/doc/perl-Nagios-Plugin-0.35/Changes
/usr/share/doc/perl-Nagios-Plugin-0.35/README
/usr/share/man/man3/Nagios::Plugin.3pm.gz
/usr/share/man/man3/Nagios::Plugin::Config.3pm.gz
/usr/share/man/man3/Nagios::Plugin::ExitResult.3pm.gz
/usr/share/man/man3/Nagios::Plugin::Functions.3pm.gz
/usr/share/man/man3/Nagios::Plugin::Getopt.3pm.gz
/usr/share/man/man3/Nagios::Plugin::Performance.3pm.gz
/usr/share/man/man3/Nagios::Plugin::Range.3pm.gz
/usr/share/man/man3/Nagios::Plugin::Threshold.3pm.gz
/usr/share/perl5/vendor_perl/Nagios
/usr/share/perl5/vendor_perl/Nagios/Plugin
/usr/share/perl5/vendor_perl/Nagios/Plugin.pm
/usr/share/perl5/vendor_perl/Nagios/Plugin/Config.pm
/usr/share/perl5/vendor_perl/Nagios/Plugin/ExitResult.pm
/usr/share/perl5/vendor_perl/Nagios/Plugin/Functions.pm
/usr/share/perl5/vendor_perl/Nagios/Plugin/Getopt.pm
/usr/share/perl5/vendor_perl/Nagios/Plugin/Performance.pm
/usr/share/perl5/vendor_perl/Nagios/Plugin/Range.pm
/usr/share/perl5/vendor_perl/Nagios/Plugin/Threshold.pm
[root@imsvm dependencies_monitoring_plugin]#

Code: Select all

[root@imsvm dependencies_monitoring_plugin]# /usr/local/nagios/libexec/check_esx3.pl
Can't locate Nagios/Monitoring/Plugin.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/nagios/libexec/check_esx3.pl line 34.
BEGIN failed--compilation aborted at /usr/local/nagios/libexec/check_esx3.pl line 34.
i downloaded perl-nagios-plugin from epel repo, because the pdf didnt provide any download link.
kindly assist. thanks
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Wizard for VMware not able to use

Post by scottwilkerson »

Actually there is an error in that doc, thanks for catching it!

You should remove

Code: Select all

yum remove perl-Nagios-Plugin
This was deprecated, what you need is Nagios::Monitoring::Plugin

Instructions here
https://support.nagios.com/forum/viewto ... 99#p178278
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
s.wiki
Posts: 82
Joined: Sat Mar 04, 2017 11:02 am

Re: Wizard for VMware not able to use

Post by s.wiki »

Solved,Thanks for your assistance. :D
Locked