Nagios XI server installation on Oracle Linux

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sebastian_anthony
Posts: 16
Joined: Tue Aug 18, 2015 11:19 pm

Nagios XI server installation on Oracle Linux

Post by sebastian_anthony »

Hi,
I'm trying to install Nagios XI server on Oracle Linux. After the initial failure , I modified 0-repos script to skip OS checking . But now it fails on 1-prereqs script. Can anyone help me to install XI on Oracle Linux? Error deatils

Error: Missing Dependency: rrdtool-python is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: perl-Mail-IMAPClient is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: libmcrypt-devel is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: perl(Crypt::Rijndael) is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: php-mcrypt is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: rpmdevtools is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: rrdtool-perl is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: php-pecl-ssh2 is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: libmcrypt is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: perl-Net-SNMP is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: rrdtool is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: perl(Error) is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: perl(Net::SMTP::TLS) is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: fping is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: php-mssql is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: pymssql is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: perl(Mail::POP3Client) is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: graphviz is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: numpy is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Nagios XI server installation on Oracle Linux

Post by hsmith »

sebastian_anthony wrote:Hi,
I'm trying to install Nagios XI server on Oracle Linux. After the initial failure , I modified 0-repos script to skip OS checking . But now it fails on 1-prereqs script. Can anyone help me to install XI on Oracle Linux? Error deatils

Error: Missing Dependency: rrdtool-python is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: perl-Mail-IMAPClient is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: libmcrypt-devel is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: perl(Crypt::Rijndael) is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: php-mcrypt is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: rpmdevtools is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: rrdtool-perl is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: php-pecl-ssh2 is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: libmcrypt is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: perl-Net-SNMP is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: rrdtool is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: perl(Error) is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: perl(Net::SMTP::TLS) is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: fping is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: php-mssql is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: pymssql is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: perl(Mail::POP3Client) is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: graphviz is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Error: Missing Dependency: numpy is needed by package nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest

Error: Missing Dependency:
Have you attempted to install the packages that are missing?
Former Nagios Employee.
me.
sebastian_anthony
Posts: 16
Joined: Tue Aug 18, 2015 11:19 pm

Re: Nagios XI server installation on Oracle Linux

Post by sebastian_anthony »

I'm unable to find the correct packages for missing files. Is there any way to get the list of required packages?

Regards
Sebastian
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Nagios XI server installation on Oracle Linux

Post by jolson »

The fullinstall script is supposed to handle package installation for you - which repositories are you subscribed to?

Code: Select all

yum repolist
It's likely that step 0 didn't complete properly because Oracle Linux is not an officially supported Nagios XI distribution. Is it possible that you could use CentOS or RHEL instead? I imagine that you will run into trouble if you continue to use Oracle Linux.
https://assets.nagios.com/downloads/nagiosxi/docs/XI_Manual_Installation_Instructions.pdf wrote: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 5 & 6 32-bit and 64-bit (requires RHN registration)•
CentOS 5 & 6 32-bit and 64-bit
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
sebastian_anthony
Posts: 16
Joined: Tue Aug 18, 2015 11:19 pm

Re: Nagios XI server installation on Oracle Linux

Post by sebastian_anthony »

Thanks Jolson. I understand that Nagios will not support XI installations on Oracle Linux. But due to some other reasons trying this installation.

Yum repolist
[root@1 nagiosxi]# yum repolist
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
You can use up2date --register to register.
ULN support will be disabled.
repo id repo name status
public_el5_latest Oracle Linux 5Server Latest (x86_64) 14,661
public_ol5_UEK_latest Latest Unbreakable Enterprise Kernel for Oracle Linux 5Server (x86_64) 483
repolist: 15,144
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Nagios XI server installation on Oracle Linux

Post by jdalrymple »

Strictly speaking we don't support OL today, but *it works*. I helped a customer through the install, here is the excerpt of our interaction that got him going:
Part 1 is easy. Our installer script does a few things that looks specifically for our "supported" platforms and adjusts the scripts accordingly. Some create sed work where we replace CentOS with OracleLinux makes the install go without a hitch. Here is what I sent a gentlman the other day with Scientific Linux to get him going:

Line 15 of init.sh

Code: Select all

xivar distro  "CentOS"

And line 45 of 0-repos

Code: Select all

        if [ "$dist" = el6 ] && ! rpm -q sl-release && ! rhn-channel -l | grep -q rhel-.\*-server-optional-6 ; then
On the 2nd part replace sl-release with whatever the name of the Oracle Linux base repo is. I can setup a lab for you and work it out here if the instructions aren't clear enough.
sebastian_anthony
Posts: 16
Joined: Tue Aug 18, 2015 11:19 pm

Re: Nagios XI server installation on Oracle Linux

Post by sebastian_anthony »

Thanks for your reply.
Since Nagios is not supporting XI installation on Oracle Linux, we decided to go with RHEL. :)

Regards
Sebastian
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios XI server installation on Oracle Linux

Post by tmcdonald »

I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee
Locked