hi,
i had follow https://assets.nagios.com/downloads/nag ... ios-XI.pdf
but i still got error on nagiosxi gui,
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.
can you pls assist us?
Kr,
vmware monitor nagios xi
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: vmware monitor nagios xi
Hello, @pkrk. Seems like you might have some problems with pearl_sdk. I'd recommend to redownload the latest sdk http://communities.vmware.com/community ... e_sdk_perl and reinstall it After the installation is complete make sure that you get the "Enjoy the VMware" message.
After you reinstall it run the following commands on your XI
Let us know if that fixed the issue.
Code: Select all
cd /tmp
tar xzf VMware-vSphere*SDK*.tar.gz
cd vmware-vsphere-cli-distrib/
./vmware-install.pl EULA_AGREED=yes --defaultAfter you reinstall it run the following commands on your XI
Code: Select all
service nagios restart
service httpd restartAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: vmware monitor nagios xi
i have that
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
IO::Socket::INET6 2.71 or newer
Net::HTTP 6.09 or newer
Enjoy,
--the VMware team
but it still does not work in gui interface when i select vmware ...
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
IO::Socket::INET6 2.71 or newer
Net::HTTP 6.09 or newer
Enjoy,
--the VMware team
but it still does not work in gui interface when i select vmware ...
Re: vmware monitor nagios xi
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
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: vmware monitor nagios xi
@pkrk, Can you go to /usr/local/nagios/libexec on your XI machine and see if you have check_esx3.pl plugin in there. If you do, try a test command to see if you can check the VMware bypassing the wizard.
Also can you send us some information: version of your Nagios XI, version of the Perl, and the list of installed Perl modules.
Code: Select all
./check_esx3.pl -H yourIP -u yourLogin -p Password -l runtimeAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: vmware monitor nagios xi
./check_esx3.pl -H 172.26.... -u vsphere60 -p Password -l runtime
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 ./check_esx3.pl line 34.
BEGIN failed--compilation aborted at ./check_esx3.pl line 34.
No package perl-Nagios-Plugin available.
yum install -y perl-XML-SAX perl-Nagios-Plugin libuuid* perl-XML-LibXML e2fsprogs-devel
Loaded plugins: package_upload, product-id, search-disabled-repos, subscription-manager
rhel-7-server-optional-rpms | 2.0 kB 00:00:00
rhel-7-server-rpms | 2.0 kB 00:00:00
rhel-7-server-satellite-tools-6.2-rpms | 2.1 kB 00:00:00
Package perl-XML-SAX-0.99-9.el7.noarch already installed and latest version
No package perl-Nagios-Plugin available.
Package libuuid-2.23.2-33.el7_3.2.x86_64 already installed and latest version
Package libuuid-devel-2.23.2-33.el7_3.2.x86_64 already installed and latest version
Package 1:perl-XML-LibXML-2.0018-5.el7.x86_64 already installed and latest version
Package e2fsprogs-devel-1.42.9-9.el7.x86_64 already installed and latest version
Nothing to do
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 ./check_esx3.pl line 34.
BEGIN failed--compilation aborted at ./check_esx3.pl line 34.
No package perl-Nagios-Plugin available.
yum install -y perl-XML-SAX perl-Nagios-Plugin libuuid* perl-XML-LibXML e2fsprogs-devel
Loaded plugins: package_upload, product-id, search-disabled-repos, subscription-manager
rhel-7-server-optional-rpms | 2.0 kB 00:00:00
rhel-7-server-rpms | 2.0 kB 00:00:00
rhel-7-server-satellite-tools-6.2-rpms | 2.1 kB 00:00:00
Package perl-XML-SAX-0.99-9.el7.noarch already installed and latest version
No package perl-Nagios-Plugin available.
Package libuuid-2.23.2-33.el7_3.2.x86_64 already installed and latest version
Package libuuid-devel-2.23.2-33.el7_3.2.x86_64 already installed and latest version
Package 1:perl-XML-LibXML-2.0018-5.el7.x86_64 already installed and latest version
Package e2fsprogs-devel-1.42.9-9.el7.x86_64 already installed and latest version
Nothing to do
Re: vmware monitor nagios xi
Code: Select all
nagiosxi-ndoutils-5-4.10.el7.x86_64
nagios-common-4.2.4-2.el7.x86_64
nagios-repo-7-2.el7.noarch
nagiosxi-mrtg-5-4.10.el7.x86_64
nagiosxi-wmic-5-4.10.el7.x86_64
nagiosxi-nagiosmobile-5-4.10.el7.x86_64
nagiosxi-5-4.10.el7.x86_64
nagiosxi-nagiosql-5-4.10.el7.x86_64
nagiosxi-nagioscore-5-4.10.el7.x86_64
nagiosxi-nagvis-5-4.10.el7.x86_64
nagiosxi-pnp-5-4.10.el7.x86_64
nagiosxi-nrds-5-4.10.el7.x86_64
nagiosxi-nagiosplugins-5-4.10.el7.x86_64
nagiosxi-ajaxterm-5-4.10.el7.x86_64
nagiosxi-wkhtmltox-5-4.10.el7.x86_64
nagiosxi-nrpe-5-4.10.el7.x86_64
nagiosxi-nsca-5-4.10.el7.x86_64
rpm -qa | grep perl
perl-Config-IniFiles-2.79-1.el7.noarch
perl-List-MoreUtils-0.33-9.el7.x86_64
perl-Compress-Raw-Zlib-2.061-4.el7.x86_64
perl-Digest-MD5-2.52-3.el7.x86_64
perl-podlators-2.5.1-3.el7.noarch
perl-Net-SSLeay-1.55-4.el7.x86_64
perl-Encode-2.51-7.el7.x86_64
perl-threads-1.87-4.el7.x86_64
perl-Params-Validate-1.08-4.el7.x86_64
perl-Filter-1.49-3.el7.x86_64
perl-XML-Parser-2.41-10.el7.x86_64
perl-Scalar-List-Utils-1.27-248.el7.x86_64
perl-File-Path-2.09-2.el7.noarch
perl-5.16.3-291.el7.x86_64
perl-Digest-SHA-5.85-3.el7.x86_64
perl-IO-Socket-INET6-2.69-5.el7.noarch
perl-Net-LibIDN-0.12-15.el7.x86_64
perl-Error-0.17020-2.el7.noarch
perl-Crypt-Rijndael-1.12-1.el7.x86_64
perl-Package-Stash-0.34-2.el7.noarch
perl-Parse-RecDescent-1.967009-5.el7.noarch
perl-Test-Simple-0.98-243.el7.noarch
perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64
perl-DBD-MySQL-4.023-5.el7.x86_64
perl-HTML-Tagset-3.20-15.el7.noarch
perl-Mail-POP3Client-2.18-6.el7.noarch
perl-Net-SNMP-6.0.1-7.el7.noarch
perl-Business-ISBN-2.06-2.el7.noarch
perl-HTTP-Daemon-6.01-5.el7.noarch
perl-Net-HTTP-6.06-2.el7.noarch
perl-XML-Simple-2.20-5.el7.noarch
perl-Data-Dumper-2.145-3.el7.x86_64
perl-Socket6-0.23-15.el7.x86_64
perl-Digest-1.17-245.el7.noarch
perl-HTTP-Tiny-0.033-3.el7.noarch
perl-Params-Util-1.07-6.el7.x86_64
perl-Pod-Perldoc-3.20-4.el7.noarch
perl-Text-ParseWords-3.29-4.el7.noarch
perl-Pod-Usage-1.63-3.el7.noarch
perl-libs-5.16.3-291.el7.x86_64
perl-Storable-2.45-3.el7.x86_64
perl-Module-Implementation-0.06-6.el7.noarch
perl-Time-HiRes-1.9725-3.el7.x86_64
perl-Time-Local-1.2300-2.el7.noarch
perl-XML-NamespaceSupport-1.11-10.el7.noarch
perl-threads-shared-1.43-6.el7.x86_64
perl-Encode-Locale-1.03-5.el7.noarch
perl-Socket-2.010-4.el7.x86_64
perl-File-Temp-0.23.01-3.el7.noarch
perl-PathTools-3.40-5.el7.x86_64
perl-Package-DeprecationManager-0.13-7.el7.noarch
perl-Getopt-Long-2.40-2.el7.noarch
perl-Digest-HMAC-1.03-5.el7.noarch
rrdtool-perl-1.4.9-1.el7.x86_64
perl-IO-stringy-2.110-22.el7.noarch
perl-XML-LibXML-2.0018-5.el7.x86_64
perl-Mozilla-CA-20130114-5.el7.noarch
perl-Package-Stash-XS-0.26-3.el7.x86_64
perl-Class-Load-0.20-3.el7.noarch
perl-DateTime-1.04-5.el7.x86_64
perl-XML-SAX-Base-1.08-7.el7.noarch
perl-Mail-IMAPClient-3.37-1.el7.noarch
perl-Test-Harness-3.28-3.el7.noarch
perl-Crypt-SSLeay-0.64-5.el7.x86_64
perl-IO-Compress-2.061-2.el7.noarch
perl-DBI-1.627-4.el7.x86_64
perl-TimeDate-2.30-2.el7.noarch
perl-File-Listing-6.04-7.el7.noarch
perl-SNMP_Session-1.13-5.el7.noarch
perl-Digest-SHA1-2.13-9.el7.x86_64
perl-Business-ISBN-Data-20120719.001-2.el7.noarch
perl-URI-1.60-9.el7.noarch
perl-HTTP-Cookies-6.01-5.el7.noarch
perl-HTML-Parser-3.71-4.el7.x86_64
perl-WWW-RobotRules-6.02-5.el7.noarch
perl-IO-Socket-SSL-1.94-5.el7.noarch
perl-libwww-perl-6.05-2.el7.noarch
perl-XML-SAX-0.99-9.el7.noarch
perl-Net-SMTP-TLS-0.12-1.of.el7.noarch
perl-Try-Tiny-0.12-2.el7.noarch
perl-parent-0.225-244.el7.noarch
perl-Class-Singleton-1.4-14.el7.noarch
perl-Pod-Escapes-1.04-291.el7.noarch
perl-Sub-Install-0.926-6.el7.noarch
perl-macros-5.16.3-291.el7.x86_64
perl-Module-Runtime-0.013-4.el7.noarch
perl-Exporter-5.68-3.el7.noarch
perl-LWP-MediaTypes-6.02-2.el7.noarch
perl-constant-1.27-2.el7.noarch
perl-DateTime-Locale-0.45-6.el7.noarch
perl-Carp-1.26-244.el7.noarch
perl-Data-OptList-0.107-9.el7.noarch
perl-Pod-Simple-3.28-4.el7.noarch
perl-Net-DNS-0.72-6.el7.x86_64
perl-Net-Daemon-0.48-5.el7.noarch
perl-Class-Accessor-0.34-12.el7.noarch
perl-DateTime-TimeZone-1.63-2.el7.noarch
perl-IO-HTML-1.00-2.el7.noarch
perl-Number-Format-1.73-14.el7.noarch
perl-Crypt-DES-2.05-20.el7.x86_64
perl-PlRPC-0.2020-14.el7.noarch
perl-HTTP-Date-6.02-8.el7.noarch
perl-HTTP-Message-6.06-6.el7.noarch
perl-HTTP-Negotiate-6.01-5.el7.noarch
perl-IO-Socket-IP-0.21-4.el7.noarch
perl-LWP-Protocol-https-6.04-4.el7.noarch
Last edited by npolovenko on Fri Oct 06, 2017 10:43 am, edited 1 time in total.
Reason: put the modules in code tags
Reason: put the modules in code tags
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: vmware monitor nagios xi
This post describes how to install Nagios/Monitoring/Plugin.pmpkrk wrote:./check_esx3.pl -H 172.26.... -u vsphere60 -p Password -l runtime
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 ./check_esx3.pl line 34.
BEGIN failed--compilation aborted at ./check_esx3.pl line 34.
No package perl-Nagios-Plugin available.
yum install -y perl-XML-SAX perl-Nagios-Plugin libuuid* perl-XML-LibXML e2fsprogs-devel
Loaded plugins: package_upload, product-id, search-disabled-repos, subscription-manager
rhel-7-server-optional-rpms | 2.0 kB 00:00:00
rhel-7-server-rpms | 2.0 kB 00:00:00
rhel-7-server-satellite-tools-6.2-rpms | 2.1 kB 00:00:00
Package perl-XML-SAX-0.99-9.el7.noarch already installed and latest version
No package perl-Nagios-Plugin available.
Package libuuid-2.23.2-33.el7_3.2.x86_64 already installed and latest version
Package libuuid-devel-2.23.2-33.el7_3.2.x86_64 already installed and latest version
Package 1:perl-XML-LibXML-2.0018-5.el7.x86_64 already installed and latest version
Package e2fsprogs-devel-1.42.9-9.el7.x86_64 already installed and latest version
Nothing to do
https://support.nagios.com/forum/viewto ... 99#p178278