How To Install pcp-pmda-ds389log on Rocky Linux 8

In this tutorial we learn how to install pcp-pmda-ds389log on Rocky Linux 8. pcp-pmda-ds389log is Performance Co-Pilot (PCP) metrics for 389 Directory Server Loggers

Introduction

In this tutorial we learn how to install pcp-pmda-ds389log on Rocky Linux 8.

What is pcp-pmda-ds389log

This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics from a 389 Directory Server log.

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

Install pcp-pmda-ds389log 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 pcp-pmda-ds389log using dnf by running the following command:

sudo dnf -y install pcp-pmda-ds389log

Install pcp-pmda-ds389log 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 pcp-pmda-ds389log using yum by running the following command:

sudo yum -y install pcp-pmda-ds389log

How To Uninstall pcp-pmda-ds389log on Rocky Linux 8

To uninstall only the pcp-pmda-ds389log package we can use the following command:

sudo dnf remove pcp-pmda-ds389log

pcp-pmda-ds389log Package Contents on Rocky Linux 8

/usr/libexec/pcp/pmdas/ds389log
/usr/libexec/pcp/pmdas/ds389log/Install
/usr/libexec/pcp/pmdas/ds389log/Remove
/usr/libexec/pcp/pmdas/ds389log/pmdads389log.pl
/var/lib/pcp/pmdas/ds389log
/var/lib/pcp/pmdas/ds389log/Install
/var/lib/pcp/pmdas/ds389log/Remove
/var/lib/pcp/pmdas/ds389log/pmdads389log.pl

References

Summary

In this tutorial we learn how to install pcp-pmda-ds389log on Rocky Linux 8 using yum and dnf.