How To Install nagios-plugins-nrpe on Rocky Linux 8

In this tutorial we learn how to install nagios-plugins-nrpe on Rocky Linux 8. nagios-plugins-nrpe is Provides nrpe plugin for Nagios

Introduction

In this tutorial we learn how to install nagios-plugins-nrpe on Rocky Linux 8.

What is nagios-plugins-nrpe

Nrpe is a system daemon that will execute various Nagios plugins locally on behalf of a remote (monitoring) host that uses the check_nrpe plugin. Various plugins that can be executed by the daemon are available at http This package provides the nrpe plugin for Nagios-related applications.

We can use yum or dnf to install nagios-plugins-nrpe on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install nagios-plugins-nrpe.

Install nagios-plugins-nrpe on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install nagios-plugins-nrpe using dnf by running the following command:

sudo dnf -y install nagios-plugins-nrpe

Install nagios-plugins-nrpe on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install nagios-plugins-nrpe using yum by running the following command:

sudo yum -y install nagios-plugins-nrpe

How To Uninstall nagios-plugins-nrpe on Rocky Linux 8

To uninstall only the nagios-plugins-nrpe package we can use the following command:

sudo dnf remove nagios-plugins-nrpe

nagios-plugins-nrpe Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/da4b41714b84fa9d8b5844dea0ea810799330f
/usr/lib64/nagios/plugins/check_nrpe
/usr/share/doc/nagios-plugins-nrpe
/usr/share/doc/nagios-plugins-nrpe/CHANGELOG.md
/usr/share/doc/nagios-plugins-nrpe/LEGAL
/usr/share/doc/nagios-plugins-nrpe/LICENSE.md
/usr/share/doc/nagios-plugins-nrpe/README.md

References

Summary

In this tutorial we learn how to install nagios-plugins-nrpe on Rocky Linux 8 using yum and dnf.