Problem when install nagios agent with RHEL8

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
guarez
Posts: 1
Joined: Tue Feb 12, 2019 3:02 pm

Problem when install nagios agent with RHEL8

Post by guarez »

Hi, I am installing the Nagios XI agent but I have an error on all my RHEL8 systems



[root@qphp linux-nrpe-agent]# ./fullinstall
Your system $PATH does not include /sbin and /usr/sbin. This is usually the result of installing GNOME rather than creating a clean system.
Adding /sbin and /usr/sbin to $PATH.
============================
Nagios Linux Agent Installer
============================

This script will install the Nagios Linux Agent by executing all necessary
sub-scripts.

IMPORTANT: This script should only be used on a clean installed system:

RedHat Enterprise, CentOS, Fedora, Cloud Linux or Oracle
OpenSUSE or SUSE Enterprise
Ubuntu or Debian

Do NOT use this on a system running any other distro or that
does not allow additional package installation.

Do you want to continue? [Y/n] Y
Proceeding with installation...
Running './0-repos'...
Configuring Repos...
epel-release RPM installed OK
Repos configured OK
RESULT=0
Running './1-prereqs'...
Installing prerequisites...
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - AppStre 33 kB/s | 2.8 kB 00:00
Red Hat Enterprise Linux 8 for x86_64 - BaseOS 27 kB/s | 2.3 kB 00:00
Red Hat Enterprise Linux 8 for x86_64 - Supplem 24 kB/s | 2.1 kB 00:00
Package autoconf-2.69-27.el8.noarch is already installed.
Package gcc-8.2.1-3.5.el8.x86_64 is already installed.
Package glibc-2.28-42.el8_0.1.x86_64 is already installed.
Package libmcrypt-devel-2.5.8-13.el7.x86_64 is already installed.
Package make-1:4.2.1-9.el8.x86_64 is already installed.
Package openssl-devel-1:1.1.1-8.el8.x86_64 is already installed.
Package sudo-1.8.25p1-4.el8.x86_64 is already installed.
Package sysstat-11.7.3-2.el8.x86_64 is already installed.
Package bc-1.07.1-5.el8.x86_64 is already installed.
Package xinetd-2:2.3.15-23.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Prerequisites installed OK
RESULT=0
Running './2-usersgroups'...
Adding users and groups...
useradd: user 'nagios' already exists
groupadd: group 'nagios' already exists
useradd: user 'nagios' already exists
groupadd: group 'nagcmd' already exists
Users and groups added OK
RESULT=0
Running './3-services'...
/etc/services updated
RESULT=0
Running './4-firewall'...
The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl.
Redirecting to /bin/systemctl restart iptables.service
Failed to restart iptables.service: Unit iptables.service not found.
RESULT=5

===================
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: './4-firewall'

[root@qphp linux-nrpe-agent]#
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Problem when install nagios agent with RHEL8

Post by benjaminsmith »

Hello,
Hi, I am installing the Nagios XI agent but I have an error on all my RHEL8 systems
We haven't officially announced support yet for RHEL 8, and plan to do so once CentOS 8 has been released.

There are many changes in version 8 so it's likely to require code changes for successful installation.

Let me know if you have any questions.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked