Nagios xi installation on RH8

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
kobylevy
Posts: 3
Joined: Mon Oct 12, 2015 3:22 am

Nagios xi installation on RH8

Post by kobylevy »

Hi,

I'm trying to install Nagios xi and getting an error for postgres prerequesite:

[root@Globe_Nagios nagiosxi]# ./fullinstall
YYour system $PATH does not include /sbin and /usr/sbin.
Adding /sbin and /usr/sbin to $PATH.
========================
Nagios xi Full Installer
========================

This script will do a complete install of Nagios xi by executing all necessary sub-scripts.

IMPORTANT: This script should only be used on a 'clean' install of CentOS, RHEL, Ubuntu LTS, Debian, or Oracle. Do NOT use this on a system that has been tasked with other purposes
or has an existing install of Nagios Core. To create such a clean install you should have selected only the base package in the OS installer.
Do you want to continue? [Y/n]
Proceeding with installation...
Checking MySQL credentials...
MySQL not yet installed - that's okay.
Running './0-repos'...
Repos already configured - exiting.
RESULT=0
Running './1-prereqs'...
Installing prerequisites...
Updating Subscription Management repositories.
55 files removed
Updating Subscription Management repositories.
Extra Packages for Enterprise Linux 8 - x86_64 1.0 MB/s | 16 MB 00:15
Copr repo for GDAL owned by neteler 360 B/s | 257 B 00:00
Nagios 125 kB/s | 243 kB 00:01
Nagios xi Dependencies 18 kB/s | 21 kB 00:01
Red Hat Enterprise Linux 8 for x86_64 - AppStre 7.1 MB/s | 58 MB 00:08
Red Hat Enterprise Linux 8 for x86_64 - BaseOS 8.8 MB/s | 64 MB 00:07
Red Hat CodeReady Linux Builder for RHEL 8 x86_ 4.8 MB/s | 8.8 MB 00:01
Error:
Problem: package nagiosxi-deps-el8-5.11.3-1.noarch from @commandline requires postgresql-server, but none of the providers can be installed
- conflicting requests
- package postgresql-server-10.6-1.module+el8+2469+5ecd5aae.x86_64 from rhel-8-for-x86_64-appstream-rpms is filtered out by modular filtering
- package postgresql-server-9.6.10-1.module+el8+2470+d1bafa0e.x86_64 from rhel-8-for-x86_64-appstream-rpms is filtered out by modular filtering
- package postgresql-server-12.1-2.module+el8.1.1+4794+c82b6e09.x86_64 from rhel-8-for-x86_64-appstream-rpms is filtered out by modular filtering
- package postgresql-server-10.14-1.module+el8.2.0+7801+be0fed80.x86_64 from rhel-8-for-x86_64-appstream-rpms is filtered out by modular filtering
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
RESULT=1

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).

If you require assistance in resolving the issue, please include install.log
in your communications with Nagios xi technical support.

The script that failed was: './1-prereqs'


my repolist:

[root@Globe_Nagios nagiosxi]# yum repolist
Updating Subscription Management repositories.
repo id repo name
codeready-builder-for-rhel-8-x86_64-rpms Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (RPMs)
copr:copr.fedorainfracloud.org:neteler:GDAL Copr repo for GDAL owned by neteler
epel Extra Packages for Enterprise Linux 8 - x86_64
nagios-base Nagios
nagiosxi-deps Nagios xi Dependencies
rhel-8-for-x86_64-appstream-rpms Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
rhel-8-for-x86_64-baseos-rpms Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)

please advice.

Koby
kobylevy
Posts: 3
Joined: Mon Oct 12, 2015 3:22 am

Re: Nagios xi installation on RH8

Post by kobylevy »

I able to overcome with installing:

dnf install -y https://download.postgresql.org/pub/rep ... noarch.rpm
dnf -qy module disable postgresql

now facing other problem:

+ cd ./subcomponents/xiwizards
+ ./install
INSTALL: Installing/updating xi wizards...
Backing up existing wizards to /tmp/xiwizards_backup...
Installing 'wizards/autodiscovery.zip'
Database Error: Could not connect to database
The server requested authentication method unknown to the client
RESULT=1

failing on following part:

# Install/update each wizard
for f in `ls -1 wizards/*.zip`; do
echo "Installing '$f'"

"$proddir/tools/install_configwizard.php" --file=$f --restart=false --refresh=0

done
User avatar
lgute
Posts: 317
Joined: Mon Apr 06, 2020 2:49 pm

Re: Nagios xi installation on RH8

Post by lgute »

Hi @kobylevy, thanks for reaching out.

Thank you for reporting your issue. I am sorry you are having issues with your install. Please open a case with our support department at Nagios Answer Hub.
Please let us know if you have any other questions or concerns.

-Laura