Page 1 of 1

Error installing Nagios XI 5.4.11 on OEL 7.3 (Oracle Ent)

Posted: Tue Jan 09, 2018 11:31 am
by PhilG
Hello:
As per the Subject, and as per similar issues I noted from this post and a few other Google hits:
https://support.nagios.com/forum/viewto ... =6&t=34289

Our repolist (repolist.jpg attached) identifies the needed repositories and the Oracle Enterprise Linux optional channel is enabled, too.

Since we do not run Red Hat nor CentOS, specifically, It appears that the Oracle Enterprise Linux optional channel may not have the needed dependencies or latest packages required, so, am looking for assistance with where should I grab the needed files/rpms/etc.?

Re: Error installing Nagios XI 5.4.11 on OEL 7.3 (Oracle Ent

Posted: Tue Jan 09, 2018 12:31 pm
by PhilG
As a side note, I laughed at line 94 in "0-repos".

Re: Error installing Nagios XI 5.4.11 on OEL 7.3 (Oracle Ent

Posted: Tue Jan 09, 2018 12:50 pm
by PhilG
Errors.JPG
I checked the Nagios XI scripts and noted that it wanted "public-yum-ol7.repo" so I have disabled our internal yum repo and enabled the public repo, then tried the full install again.
Still failed.
Posting snapshot and looking for assistance.
Thank you.

Re: Error installing Nagios XI 5.4.11 on OEL 7.3 (Oracle Ent

Posted: Tue Jan 09, 2018 2:11 pm
by lmiltchev
Oracle Enterprise Linux is NOT supported... at least, not yet.
As of the time of writing, Nagios Enterprises is only able to officially provide support for installing Nagios XI on
the following Linux Distributions:
• RHEL 6.x 32-bit and 64-bit, RHEL 7.x
• CentOS 6.x 32-bit and 64-bit, CentOS 7.x
https://assets.nagios.com/downloads/nag ... -Linux.pdf

Having said that, Nagios XI 5.4.11 installed just fine on one of my test VMs, running "stock" Oracle Linux Server 7.4.

Code: Select all

Nagios XI Installation Complete!
--------------------------------

You can access the Nagios XI web interface by visiting:
    http://192.168.4.45/nagiosxi/

Code: Select all

[root@localhost nagiosxi]# uname -a
Linux localhost.localdomain 4.1.12-112.14.10.el7uek.x86_64 #2 SMP Mon Jan 8 18:26:37 PST 2018 x86_64 x86_64 x86_64 GNU/Linux

Code: Select all

[root@localhost nagiosxi]# cat /etc/*release
Oracle Linux Server release 7.4
NAME="Oracle Linux Server"
VERSION="7.4"
ID="ol"
VERSION_ID="7.4"
PRETTY_NAME="Oracle Linux Server 7.4"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:7:4:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://bugzilla.oracle.com/"

ORACLE_BUGZILLA_PRODUCT="Oracle Linux 7"
ORACLE_BUGZILLA_PRODUCT_VERSION=7.4
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=7.4
Red Hat Enterprise Linux Server release 7.4 (Maipo)
Oracle Linux Server release 7.4

Code: Select all

[root@localhost nagiosxi]# yum repolist
Loaded plugins: ulninfo
repo id                                                  repo name                                                                                                       status
*epel/x86_64                                             Extra Packages for Enterprise Linux 7 - x86_64                                                                  12,198
nagios-base                                              Nagios                                                                                                              81
nagiosxi-deps                                            Nagios XI Dependencies                                                                                              26
ol7_UEKR4/x86_64                                         Latest Unbreakable Enterprise Kernel Release 4 for Oracle Linux 7Server (x86_64)                                   537
ol7_latest/x86_64                                        Oracle Linux 7Server Latest (x86_64)                                                                            23,669
ol7_optional_latest/x86_64                               Oracle Linux 7Server Optional Latest (x86_64)                                                                   16,672
repolist: 53,183

Re: Error installing Nagios XI 5.4.11 on OEL 7.3 (Oracle Ent

Posted: Tue Jan 09, 2018 3:27 pm
by PhilG
*Soapbox* - Oracle Enterprise Linux "IS" another CentOS system, it just doesn't have Red Hat's marketing and handful of files with their trademark strewn across the file structure, so it doesn't matter. Plus, the NagiosXI installer accommodates Oracle in the scripts. No biggie. *stepping down off soapbox*

I have disabled the Webtatic and "remi" epos, removed all php components, phpmyadmin components, mysql components, etc., restarted the server, double-checked things, and reran the NagiosXI full install. This time the error occurs regarding 4 components that are supposedly with "nagiosxi-deps-el7-5.4.11-1.noarch" (attachment provided).

This should work, and WILL work, if someone can propose a solution for those last 4 parts: perl-Math-Calc-Units, python-pip, libmcrypt-devel, and freetds-devel (unless they are not needed and there is a work-around).

Thank you!

Re: Error installing Nagios XI 5.4.11 on OEL 7.3 (Oracle Ent

Posted: Tue Jan 09, 2018 4:13 pm
by PhilG
Solved: Enabled the "epel.repo" repo and tried again. Installation is working.

Re: Error installing Nagios XI 5.4.11 on OEL 7.3 (Oracle Ent

Posted: Tue Jan 09, 2018 5:22 pm
by npolovenko
@PhilG Thanks for your input! Did you get everything to work? Should I go ahead and lock the thread or do you have some other questions?

Re: Error installing Nagios XI 5.4.11 on OEL 7.3 (Oracle Ent

Posted: Wed Jan 10, 2018 9:35 am
by PhilG
npolovenko wrote:@PhilG Thanks for your input! Did you get everything to work? Should I go ahead and lock the thread or do you have some other questions?

Yes. I will provide some background for your team to help you out, too:
I had created an Oracle Enterprise Linux 7.3 Web Apache server VM template in our vShere environment which contained phpMyAdmin and a couple of other "canned" items which used the "Webtatic" repo and a couple of other repos to accommodate the additional packages that were installed before creating the VM template. Additionally, we have an internal YUM repository server which goes out to Oracle, so we use a custom internal YUM repo, too.

SOLUTION: As one of your team members mentioned/suggested in a response (and is noted in the Nagios XI Linux installation notes, too), I should use a "BASE" OS install, which wouldn't contain any "extras" or special repos. In my case, if I wanted to use our VM, I had to rip out the "extras" noted above (phpMyAdmin, repos, etc.), and re-enable Oracle's public community repo and the "epel" repo. After manually removing the "extras" and re-enabling the needed repos, the Nagios XI installation worked with no issues thereafter.

I am now starting to configure the new Nagios XI server and web console. Things I will need to configure:
1). Redirect HTTP to HTTPS
2). Customize/configure everyone's Home Dashboard with the same view.
3). Migrate existing Nagios XI server/environment into the new Nagios XI server/environment (create a new SCCM NSClient++ package and push out to the Windows servers. Figure out Puppet to push update/change to Linux servers): this includes all host groups, service groups, accounts, etc. etc.

I'll look for a solution regarding server migration in the forum or Knowledgebase first.

You may lock this thread.

Thank you.