Page 1 of 2

NagiosXI installation on Oracle linux

Posted: Thu Apr 23, 2020 1:18 am
by ets_user
Hi,

We are planning to install NagiosXI in Oracle linux 8.1 versioned server in an offline environment.

Please let us know if we can follow the same steps for RHEL.
https://assets.nagios.com/downloads/nag ... onment.pdf

And also let us know the yum repos we should have to perfrom the offline installation.

Thanks.

Re: NagiosXI installation on Oracle linux

Posted: Thu Apr 23, 2020 9:54 am
by scottwilkerson
Oracle 8.1 is not yet supported for Nagios XI

We expect CentOS/RHEL/Oracle Linux 8 support to come in the 5.7.x release of Nagios XI due out in the next few months.

Re: NagiosXI installation on Oracle linux

Posted: Thu Apr 23, 2020 11:15 am
by ets_user
Thanks for the info.

What is the latest version of Oracle Linux supported by NagiosXI.

Also please provide the link to document for Offline installation.

Re: NagiosXI installation on Oracle linux

Posted: Thu Apr 23, 2020 2:18 pm
by scottwilkerson
ets_user wrote:Thanks for the info.

What is the latest version of Oracle Linux supported by NagiosXI.

Also please provide the link to document for Offline installation.
7.7 and you should be able to follow the same steps for RHEL however, we have not tested and documented Oracle Linux

Re: NagiosXI installation on Oracle linux

Posted: Sun May 03, 2020 12:48 am
by ets_user
We now have Oracle 7.6 version installed on our server.

Which version of NagiosXI is compatible, so that we will have all the required libraries in the repo.

We just tried with latest 5.6.11 and there were few libraries missing in base repo.

Last few lines of command execution ./fullinstall

---> Package rrdtool.x86_64 0:1.4.9-1.el7 will be installed
--> Processing Dependency: dejavu-lgc-sans-fonts for package: rrdtool-1.4.9-1.el7.x86_64
--> Processing Dependency: dejavu-lgc-sans-mono-fonts for package: rrdtool-1.4.9-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: graphviz-gd
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: php-snmp
Error: Package: perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch (/perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch)
Requires: perl(Config::Tiny)
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: php-mbstring
Error: Package: perl-Mail-IMAPClient-3.37-1.el7.noarch (/perl-Mail-IMAPClient-3.37-1.el7.noarch)
Requires: perl(Parse::RecDescent)
Error: Package: rrdtool-1.4.9-1.el7.x86_64 (/rrdtool-1.4.9-1.el7.x86_64)
Requires: dejavu-lgc-sans-fonts
Error: Package: rrdtool-1.4.9-1.el7.x86_64 (/rrdtool-1.4.9-1.el7.x86_64)
Requires: dejavu-lgc-sans-mono-fonts
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: php-devel
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: mariadb-server
Available: 1:mariadb-server-5.5.60-1.el7_5.x86_64 (BaseRepo)
mariadb-server = 1:5.5.60-1.el7_5
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: net-snmp-perl
Error: Package: perl-Net-SNMP-6.0.1-7.el7.noarch (/perl-Net-SNMP-6.0.1-7.el7.noarch)
Requires: perl(Crypt::DES)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

NOTE:
We are trying offline instalation referring to https://assets.nagios.com/downloads/nag ... onment.pdf

Re: NagiosXI installation on Oracle linux

Posted: Mon May 04, 2020 9:09 am
by scottwilkerson
In the document you pointed to, you would need to install the items listed in the prerequisites for RHEL 7 before beginning the fullinstall, which in RHEL come from the optional channel

Code: Select all

dejavu-lgc-sans-fonts.noarch
dejavu-lgc-sans-mono-fonts.noarch
graphviz-gd.x86_64
perl-Crypt-DES.x86_64
perl-Parse-RecDescent.noarch
php-mbstring.x86_64
php-snmp.x86_64

Re: NagiosXI installation on Oracle linux

Posted: Wed May 06, 2020 6:14 am
by ets_user
We have installed all the packages you have mentioned above.

But still it is showing below error while ./fullinstall command.

Error: Package: freetds-0.95.81-1.el7.x86_64 (/freetds-0.95.81-1.el7.x86_64)
Requires: libodbcinst.so.2()(64bit)
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: numpy
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: perl-DateTime
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: perl(HTTP::Request::Common)
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: net-snmp-utils
Error: Package: perl-Config-IniFiles-2.79-1.el7.noarch (/perl-Config-IniFiles-2.79-1.el7.noarch)
Requires: perl(List::MoreUtils)
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: postgresql-server
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: ipa-gothic-fonts
Error: Package: perl-Net-SMTP-TLS-0.12-1.of.el7.noarch (/perl-Net-SMTP-TLS-0.12-1.el7.noarch)
Requires: perl(IO::Socket::SSL)
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: perl-Net-DNS
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: perl-IO-Socket-INET6
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: lftp
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: ipa-pgothic-fonts
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: postgresql
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: mysql
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: perl-DBD-MySQL
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: subversion
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: tftp
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: perl-Class-Singleton
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: dstat
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: perl(Crypt::SSLeay)
Error: Package: freetds-0.95.81-1.el7.x86_64 (/freetds-0.95.81-1.el7.x86_64)
Requires: libodbc.so.2()(64bit)
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: xinetd
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: net-snmp-perl
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: mariadb-server
Error: Package: perl-Net-SMTP-TLS-0.12-1.of.el7.noarch (/perl-Net-SMTP-TLS-0.12-1.el7.noarch)
Requires: perl(Net::SSLeay)
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: postgresql-libs
Error: Package: php-pgsql-5.4.16-23.el7_0.3.x86_64 (Php)
Requires: libpq.so.5()(64bit)
Error: Package: php-pecl-ssh2-0.12-1.el7.x86_64 (/php-pecl-ssh2-0.12-1.el7.x86_64)
Requires: /usr/bin/pecl
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: perl-SNMP_Session
Error: Package: perl-Config-IniFiles-2.79-1.el7.noarch (/perl-Config-IniFiles-2.79-1.el7.noarch)
Requires: perl(IO::Scalar) >= 2.109
Error: Package: php-pear-HTML-Template-IT-1.3.0-2.el5.noarch (/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch)
Requires: /usr/bin/pear
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: iptables-services
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: php-pear
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: perl(HTTP::Cookies)
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: ipa-mincho-fonts
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: perl-List-MoreUtils
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: ipa-pmincho-fonts
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: mod_ssl
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: perl(XML::Simple)
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: php-ldap
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: ntp
Error: Package: perl-Config-IniFiles-2.79-1.el7.noarch (/perl-Config-IniFiles-2.79-1.el7.noarch)
Requires: perl(List::MoreUtils) >= 0.33
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: perl(Error)
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: perl(XML::Parser)
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: perl-LWP-Protocol-https

Re: NagiosXI installation on Oracle linux

Posted: Wed May 06, 2020 6:33 am
by scottwilkerson
Your server must have access to base repositories for both RedHat or CentOS either via a local repository, or mounted DVD's.
Does your server have access to base repositories?

Re: NagiosXI installation on Oracle linux

Posted: Wed May 06, 2020 7:14 am
by ets_user
Yes it has access and we enabled packages now.

Below packages are installed but still we see this error now.

Error: Package: php-snmp-5.4.16-23.el7_0.3.x86_64 (@Php)
Requires: php-common(x86-64) = 5.4.16-23.el7_0.3
Removing: php-common-5.4.16-23.el7_0.3.x86_64 (@Php)
php-common(x86-64) = 5.4.16-23.el7_0.3
Updated By: php-common-5.4.16-46.el7.x86_64 (BaseRepo)
php-common(x86-64) = 5.4.16-46.el7
Error: Package: php-mbstring-5.4.16-23.el7_0.3.x86_64 (Php)
Requires: php-common(x86-64) = 5.4.16-23.el7_0.3
Removing: php-common-5.4.16-23.el7_0.3.x86_64 (@Php)
php-common(x86-64) = 5.4.16-23.el7_0.3
Updated By: php-common-5.4.16-46.el7.x86_64 (BaseRepo)
php-common(x86-64) = 5.4.16-46.el7
Error: Package: nagiosxi-5.6.11-1.el7.x86_64 (/nagiosxi-5.6.11-1.el7.x86_64)
Requires: mariadb-server
Available: 1:mariadb-server-5.5.60-1.el7_5.x86_64 (BaseRepo)
mariadb-server = 1:5.5.60-1.el7_5
Error: Package: php-devel-5.4.16-23.el7_0.3.x86_64 (@Php)
Requires: php-cli(x86-64) = 5.4.16-23.el7_0.3
Removing: php-cli-5.4.16-23.el7_0.3.x86_64 (@Php)
php-cli(x86-64) = 5.4.16-23.el7_0.3
Updated By: php-cli-5.4.16-46.el7.x86_64 (BaseRepo)
php-cli(x86-64) = 5.4.16-46.el7

Re: NagiosXI installation on Oracle linux

Posted: Wed May 06, 2020 7:18 am
by scottwilkerson
Wait, it looks like you have multiple different versions of PHP and conflicting packages what is this @Php repo?

You need to start from a clean base system