Monitoring VMware With Nagios XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
gary80918
Posts: 14
Joined: Wed Jul 31, 2019 2:26 pm

Re: Monitoring VMware With Nagios XI

Post by gary80918 »

It is at first it was not. Problem persists, and yes I do know and was using enablerepo=BLAH. All my repos (with the exception of the primary OS are set to disabled).

[nagios-base]
name=Nagios
baseurl=http://IROCK/repo/NAGIOS/7/nagios-base/
enabled=0
gpgcheck=0
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NAGIOS-V2

[nagiosxi-deps]
name=Nagios XI Dependencies
baseurl=http://UROLL/repo/NAGIOS/7/nagiosxi-deps/
enabled=0
gpgcheck=0
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NAGIOS-V2

Not sure why we are even going down the repo route, it has NOTHING to do with this issue I am seeing.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitoring VMware With Nagios XI

Post by scottwilkerson »

I went there because you asked this:
gary80918 wrote:That seems to easy, to really be the problem. The only repo I am not yet “able/or sure how” to update is the nagiosxi repo.

root@hpsatvld5302:~ # yum repolist
Loaded plugins: langpacks
repo id repo name status
epel local files for EPEL repo RHEL 7Server-x86_64 13,454
nagios-base Nagios 96
nagiosxi-deps Nagios XI Dependencies 31
repolist: 13,581
You have mail in /var/spool/mail/root
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
gary80918
Posts: 14
Joined: Wed Jul 31, 2019 2:26 pm

Re: Monitoring VMware With Nagios XI

Post by gary80918 »

I think I got a little to verbal with the repo errors. They are fixed and unrelated.

My problem still winds up at:

Fetching with LWP:
http://10.200.1.254/repo/cpan/CPAN/modu ... st.data.gz
Reading '/root/.cpan/sources/modules/03modlist.data.gz'
DONE
Writing /root/.cpan/Metadata
App::cpanminus is up to date (1.7044).
root@hpsatvld5302:~ # cpanm --notest Module::Build Crypt::SSLeay
! Finding Module::Build on cpanmetadb failed.
--> Working on Module::Build
Fetching http://10.200.1.254/repo/cpan/CPAN/auth ... 229.tar.gz ... OK
Configuring Module-Build-0.4229 ... OK
Building Module-Build-0.4229 ... OK
Successfully reinstalled Module-Build-0.4229
! Finding Crypt::SSLeay on cpanmetadb failed.
--> Working on Crypt::SSLeay
Fetching http://10.200.1.254/repo/cpan/CPAN/auth ... .72.tar.gz ... OK
Configuring Crypt-SSLeay-0.72 ... Configuring Crypt-SSLeay failed.
You can s)kip, r)etry, e)xamine build log, or l)ook ?

Any ideas, direction, tests?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitoring VMware With Nagios XI

Post by scottwilkerson »

For some reason this is failing

Code: Select all

! Finding Crypt::SSLeay on cpanmetadb failed.
--> Working on Crypt::SSLeay
Fetching http://10.200.1.254/repo/cpan/CPAN/auth ... .72.tar.gz ... OK
Configuring Crypt-SSLeay-0.72 ... Configuring Crypt-SSLeay failed.
this is the output of a normal online system

Code: Select all

[root@nagiosxi ~]# cpanm --notest Module::Build Crypt::SSLeay
--> Working on Module::Build
Fetching http://www.cpan.org/authors/id/L/LE/LEONT/Module-Build-0.4229.tar.gz ... OK
==> Found dependencies: Module::Metadata, version, CPAN::Meta, Perl::OSType
--> Working on Module::Metadata
Fetching http://www.cpan.org/authors/id/E/ET/ETHER/Module-Metadata-1.000037.tar.gz ... OK
Configuring Module-Metadata-1.000037 ... OK
==> Found dependencies: version
--> Working on version
Fetching http://www.cpan.org/authors/id/J/JP/JPEACOCK/version-0.9924.tar.gz ... OK
Configuring version-0.9924 ... OK
Building version-0.9924 ... OK
Successfully installed version-0.9924
Building Module-Metadata-1.000037 ... OK
Successfully installed Module-Metadata-1.000037
--> Working on CPAN::Meta
Fetching http://www.cpan.org/authors/id/D/DA/DAGOLDEN/CPAN-Meta-2.150010.tar.gz ... OK
Configuring CPAN-Meta-2.150010 ... OK
==> Found dependencies: CPAN::Meta::YAML, JSON::PP, CPAN::Meta::Requirements
--> Working on CPAN::Meta::YAML
Fetching http://www.cpan.org/authors/id/D/DA/DAGOLDEN/CPAN-Meta-YAML-0.018.tar.gz ... OK
Configuring CPAN-Meta-YAML-0.018 ... OK
==> Found dependencies: JSON::PP
--> Working on JSON::PP
Fetching http://www.cpan.org/authors/id/I/IS/ISHIGAKI/JSON-PP-4.04.tar.gz ... OK
Configuring JSON-PP-4.04 ... OK
Building JSON-PP-4.04 ... OK
Successfully installed JSON-PP-4.04
Building CPAN-Meta-YAML-0.018 ... OK
Successfully installed CPAN-Meta-YAML-0.018
--> Working on CPAN::Meta::Requirements
Fetching http://www.cpan.org/authors/id/D/DA/DAGOLDEN/CPAN-Meta-Requirements-2.140.tar.gz ... OK
Configuring CPAN-Meta-Requirements-2.140 ... OK
Building CPAN-Meta-Requirements-2.140 ... OK
Successfully installed CPAN-Meta-Requirements-2.140
Building CPAN-Meta-2.150010 ... OK
Successfully installed CPAN-Meta-2.150010
--> Working on Perl::OSType
Fetching http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Perl-OSType-1.010.tar.gz ... OK
Configuring Perl-OSType-1.010 ... OK
Building Perl-OSType-1.010 ... OK
Successfully installed Perl-OSType-1.010
Configuring Module-Build-0.4229 ... OK
==> Found dependencies: ExtUtils::CBuilder, TAP::Harness
--> Working on ExtUtils::CBuilder
Fetching http://www.cpan.org/authors/id/A/AM/AMBS/ExtUtils-CBuilder-0.280231.tar.gz ... OK
Configuring ExtUtils-CBuilder-0.280231 ... OK
==> Found dependencies: IPC::Cmd
--> Working on IPC::Cmd
Fetching http://www.cpan.org/authors/id/B/BI/BINGOS/IPC-Cmd-1.04.tar.gz ... OK
Configuring IPC-Cmd-1.04 ... OK
==> Found dependencies: Locale::Maketext::Simple, Module::Load::Conditional, Params::Check
--> Working on Locale::Maketext::Simple
Fetching http://www.cpan.org/authors/id/J/JE/JESSE/Locale-Maketext-Simple-0.21.tar.gz ... OK
Configuring Locale-Maketext-Simple-0.21 ... OK
Building Locale-Maketext-Simple-0.21 ... OK
Successfully installed Locale-Maketext-Simple-0.21
--> Working on Module::Load::Conditional
Fetching http://www.cpan.org/authors/id/B/BI/BINGOS/Module-Load-Conditional-0.70.tar.gz ... OK
Configuring Module-Load-Conditional-0.70 ... OK
==> Found dependencies: Module::Load, Module::CoreList, Params::Check
--> Working on Module::Load
Fetching http://www.cpan.org/authors/id/B/BI/BINGOS/Module-Load-0.34.tar.gz ... OK
Configuring Module-Load-0.34 ... OK
Building Module-Load-0.34 ... OK
Successfully installed Module-Load-0.34
--> Working on Module::CoreList
Fetching http://www.cpan.org/authors/id/B/BI/BINGOS/Module-CoreList-5.20191110.tar.gz ... OK
Configuring Module-CoreList-5.20191110 ... OK
Building Module-CoreList-5.20191110 ... OK
Successfully installed Module-CoreList-5.20191110
--> Working on Params::Check
Fetching http://www.cpan.org/authors/id/B/BI/BINGOS/Params-Check-0.38.tar.gz ... OK
Configuring Params-Check-0.38 ... OK
Building Params-Check-0.38 ... OK
Successfully installed Params-Check-0.38
Building Module-Load-Conditional-0.70 ... OK
Successfully installed Module-Load-Conditional-0.70
Building IPC-Cmd-1.04 ... OK
Successfully installed IPC-Cmd-1.04
Building ExtUtils-CBuilder-0.280231 ... OK
Successfully installed ExtUtils-CBuilder-0.280231
--> Working on TAP::Harness
Fetching http://www.cpan.org/authors/id/L/LE/LEONT/Test-Harness-3.42.tar.gz ... OK
Configuring Test-Harness-3.42 ... OK
Building Test-Harness-3.42 ... OK
Successfully installed Test-Harness-3.42 (upgraded from 3.28)
Building Module-Build-0.4229 ... OK
Successfully installed Module-Build-0.4229
--> Working on Crypt::SSLeay
Fetching http://www.cpan.org/authors/id/N/NA/NANIS/Crypt-SSLeay-0.72.tar.gz ... OK
==> Found dependencies: Try::Tiny, Path::Class
--> Working on Try::Tiny
Fetching http://www.cpan.org/authors/id/E/ET/ETHER/Try-Tiny-0.30.tar.gz ... OK
Configuring Try-Tiny-0.30 ... OK
Building Try-Tiny-0.30 ... OK
Successfully installed Try-Tiny-0.30 (upgraded from 0.12)
--> Working on Path::Class
Fetching http://www.cpan.org/authors/id/K/KW/KWILLIAMS/Path-Class-0.37.tar.gz ... OK
Configuring Path-Class-0.37 ... OK
Building Path-Class-0.37 ... OK
Successfully installed Path-Class-0.37
Configuring Crypt-SSLeay-0.72 ... OK
Building Crypt-SSLeay-0.72 ... OK
Successfully installed Crypt-SSLeay-0.72 (upgraded from 0.64)
19 distributions installed
You have new mail in /var/spool/mail/root
[root@nagiosxi ~]#
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
gary80918
Posts: 14
Joined: Wed Jul 31, 2019 2:26 pm

Re: Monitoring VMware With Nagios XI

Post by gary80918 »

Yes, that is my problem. I build in an online environment it works perfectly. I build in an offline environment it does not. Any ideas that could get me past the Crype::SSLeay?

Right now (and not my favorite idea) I am thinking the best way to start our NAGIOS XI is to build it in an on line environment and then move to our offline environment. The downside to that is I will have to come up with a way keep the already in use server up to the most current level.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitoring VMware With Nagios XI

Post by scottwilkerson »

One option would be to attempt to download the source and compile it

download this and move it to the server
https://cpan.metacpan.org/authors/id/N/ ... .72.tar.gz
then

Code: Select all

tar xzf Crypt-SSLeay-0.72.tar.gz
cd Crypt-SSLeay-0.72
perl Makefile.PL
make
make test
make install
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitoring VMware With Nagios XI

Post by scottwilkerson »

gary80918 wrote:Right now (and not my favorite idea) I am thinking the best way to start our NAGIOS XI is to build it in an on line environment and then move to our offline environment. The downside to that is I will have to come up with a way keep the already in use server up to the most current level.
If this is the case I would recommend still following the offline install process (even when online), then just add the VMWare packages using the online cpan repositores, then take it offline.

This will allow you to continue to follow the procedure for upgrading Nagios XI in an offline environment.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
gary80918
Posts: 14
Joined: Wed Jul 31, 2019 2:26 pm

Re: Monitoring VMware With Nagios XI

Post by gary80918 »

Fixed, the problem was I did not have:

yum install openssl-devel

installed.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitoring VMware With Nagios XI

Post by scottwilkerson »

gary80918 wrote:Fixed, the problem was I did not have:

yum install openssl-devel

installed.
Great!

Locking thread
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked