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

In this tutorial we learn how to install pcp-pmda-activemq on Rocky Linux 8. pcp-pmda-activemq is Performance Co-Pilot (PCP) metrics for ActiveMQ

Introduction

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

What is pcp-pmda-activemq

This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about the ActiveMQ message broker.

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

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

sudo dnf -y install pcp-pmda-activemq

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

sudo yum -y install pcp-pmda-activemq

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

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

sudo dnf remove pcp-pmda-activemq

pcp-pmda-activemq Package Contents on Rocky Linux 8

/usr/libexec/pcp/pmdas/activemq
/usr/libexec/pcp/pmdas/activemq/Install
/usr/libexec/pcp/pmdas/activemq/PCP
/usr/libexec/pcp/pmdas/activemq/PCP/ActiveMQ.pm
/usr/libexec/pcp/pmdas/activemq/PCP/Cache.pm
/usr/libexec/pcp/pmdas/activemq/PCP/JVMGarbageCollection.pm
/usr/libexec/pcp/pmdas/activemq/PCP/JVMMemory.pm
/usr/libexec/pcp/pmdas/activemq/PCP/JVMMemoryPool.pm
/usr/libexec/pcp/pmdas/activemq/PCP/Queue.pm
/usr/libexec/pcp/pmdas/activemq/PCP/RESTClient.pm
/usr/libexec/pcp/pmdas/activemq/PCP/TimeSource.pm
/usr/libexec/pcp/pmdas/activemq/Remove
/usr/libexec/pcp/pmdas/activemq/pmdaactivemq.pl
/var/lib/pcp/pmdas/activemq
/var/lib/pcp/pmdas/activemq/Install
/var/lib/pcp/pmdas/activemq/PCP
/var/lib/pcp/pmdas/activemq/PCP/ActiveMQ.pm
/var/lib/pcp/pmdas/activemq/PCP/Cache.pm
/var/lib/pcp/pmdas/activemq/PCP/JVMGarbageCollection.pm
/var/lib/pcp/pmdas/activemq/PCP/JVMMemory.pm
/var/lib/pcp/pmdas/activemq/PCP/JVMMemoryPool.pm
/var/lib/pcp/pmdas/activemq/PCP/Queue.pm
/var/lib/pcp/pmdas/activemq/PCP/RESTClient.pm
/var/lib/pcp/pmdas/activemq/PCP/TimeSource.pm
/var/lib/pcp/pmdas/activemq/Remove
/var/lib/pcp/pmdas/activemq/pmdaactivemq.pl

References

Summary

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