Back to OP5 Monitor FAQ

Installing NRPE from EPEL

This procedure is unsupported Copied

Articles in the “Unsupported Community Documents” space are not supported by ITRS support.

Version Copied

This article was originally written for version 7.0 of OP5 Monitor, it should work on higher versions if nothing else is stated.

Introduction Copied

If you need to use the NRPE monitoring agent on a Red Hat Enterprise Linux-based system with SELinux or IPv6 enabled, installing it from the third-party EPEL repository is currently your best option.

In this how-to we will configure the repository and required packages on RHEL based systems.

The EPEL repository is not controlled and managed by OP5 AB - we can not guarantee the quality of the software packages.

Prerequisites Copied

Installation Copied

We first need to install the EPEL the repository and it’s public GPG key. This is most easily done by executing one of the following commands:

On RHEL 7

# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm -y

On CentOS 7

# yum install epel-release -y

On RHEL 8

# dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm -y

On CentOS Stream/Rocky/Alma 8

# dnf install epel-release -y

On RHEL 9

## subscription-manager repos --enable codeready-builder-for-rhel-9-$(arch)-rpms
# dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -y

On CentOS Stream/Rocky/Alma 9

# dnf install epel-release

If the installation of the repositories was successful, execute the following command to install NRPE:

# yum install nrpe -y

You should now have the NRPE monitoring agent installed. Information covering configuration NRPE can be found here.

Disabling the EPEL repository Copied

Disabling the repository is optional, but it’s recommended if you don’t want software from EPEL to appear in your search results or install applications from it by mistake. This is done by changing the value of “enabled” to “0” in the repository configuration file. The following sed command run on the OP5 monitor will do that.

# sed -i 's/enabled=1/enabled=0/g' /etc/yum.repos.d/epel.repo

The repository can be toggled in and out of use on the yum/dnf command line. e.g. If the repository has been disabled, it can be temporarily enabled during updates so the NRPE agent receives security and bug fixes:

# yum --enablerepo=epel update
["Geneos"] ["FAQ"]

Was this topic helpful?