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

In this tutorial we learn how to install nagios-plugins-ntp on Rocky Linux 8. nagios-plugins-ntp is Nagios Plugin - check_ntp

Introduction

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

What is nagios-plugins-ntp

Provides check_ntp support for Nagios.

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

Install nagios-plugins-ntp 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-ntp using dnf by running the following command:

sudo dnf -y install nagios-plugins-ntp

Install nagios-plugins-ntp 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-ntp using yum by running the following command:

sudo yum -y install nagios-plugins-ntp

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

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

sudo dnf remove nagios-plugins-ntp

nagios-plugins-ntp Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/3b8e887304cfff25c5cded492379c290854c02
/usr/lib/.build-id/80
/usr/lib/.build-id/80/9bec4ccc9b7958c64e77bf29dd7e13638817e2
/usr/lib/.build-id/8b/ac0051a09805552842794dc75d628e61a22071
/usr/lib64/nagios/plugins/check_ntp
/usr/lib64/nagios/plugins/check_ntp_peer
/usr/lib64/nagios/plugins/check_ntp_time

References

Summary

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