How To Install pcp-pmda-rabbitmq on Fedora 36

In this tutorial we learn how to install pcp-pmda-rabbitmq in Fedora 36. pcp-pmda-rabbitmq is Performance Co-Pilot (PCP) metrics for RabbitMQ queues

Introduction

In this tutorial we learn how to install pcp-pmda-rabbitmq on Fedora 36.

What is pcp-pmda-rabbitmq

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

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

Install pcp-pmda-rabbitmq on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install pcp-pmda-rabbitmq using dnf by running the following command:

sudo dnf -y install pcp-pmda-rabbitmq

Install pcp-pmda-rabbitmq on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install pcp-pmda-rabbitmq using yum by running the following command:

sudo yum -y install pcp-pmda-rabbitmq

How To Uninstall pcp-pmda-rabbitmq on Fedora 36

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

sudo dnf remove pcp-pmda-rabbitmq

pcp-pmda-rabbitmq Package Contents on Fedora 36

/etc/pcp/rabbitmq
/etc/pcp/rabbitmq/rabbitmq.conf
/usr/lib/tmpfiles.d/pcp-pmda-rabbitmq.conf
/usr/libexec/pcp/pmdas/rabbitmq
/usr/libexec/pcp/pmdas/rabbitmq/Install
/usr/libexec/pcp/pmdas/rabbitmq/Remove
/usr/libexec/pcp/pmdas/rabbitmq/pmdarabbitmq.python
/var/lib/pcp/pmdas/rabbitmq
/var/lib/pcp/pmdas/rabbitmq/Install
/var/lib/pcp/pmdas/rabbitmq/Remove
/var/lib/pcp/pmdas/rabbitmq/pmdarabbitmq.python
/var/lib/pcp/pmdas/rabbitmq/rabbitmq.conf

References

Summary

In this tutorial we learn how to install pcp-pmda-rabbitmq on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).