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

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

Introduction

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

What is nagios-plugins-by_ssh

Provides check_by_ssh support for Nagios.

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

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

sudo dnf -y install nagios-plugins-by_ssh

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

sudo yum -y install nagios-plugins-by_ssh

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

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

sudo dnf remove nagios-plugins-by_ssh

nagios-plugins-by_ssh Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/961a61e95dd699327c3daecccbcef7612f561c
/usr/lib64/nagios/plugins/check_by_ssh

References

Summary

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