How To Install pcs-snmp on Fedora 36

In this tutorial we learn how to install pcs-snmp in Fedora 36. pcs-snmp is Pacemaker cluster SNMP agent

Introduction

In this tutorial we learn how to install pcs-snmp on Fedora 36.

What is pcs-snmp

SNMP agent that provides information about pacemaker cluster to the master agent (snmpd)

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

Install pcs-snmp 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 pcs-snmp using dnf by running the following command:

sudo dnf -y install pcs-snmp

Install pcs-snmp 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 pcs-snmp using yum by running the following command:

sudo yum -y install pcs-snmp

How To Uninstall pcs-snmp on Fedora 36

To uninstall only the pcs-snmp package we can use the following command:

sudo dnf remove pcs-snmp

pcs-snmp Package Contents on Fedora 36

/etc/sysconfig/pcs_snmp_agent
/usr/lib/systemd/system/pcs_snmp_agent.service
/usr/lib64/pcs/pcs_bundled/packages/pyagentx
/usr/lib64/pcs/pcs_bundled/packages/pyagentx-0.4.1-py3.10.egg-info
/usr/lib64/pcs/pcs_bundled/packages/pyagentx-0.4.1-py3.10.egg-info/PKG-INFO
/usr/lib64/pcs/pcs_bundled/packages/pyagentx-0.4.1-py3.10.egg-info/SOURCES.txt
/usr/lib64/pcs/pcs_bundled/packages/pyagentx-0.4.1-py3.10.egg-info/dependency_links.txt
/usr/lib64/pcs/pcs_bundled/packages/pyagentx-0.4.1-py3.10.egg-info/top_level.txt
/usr/lib64/pcs/pcs_bundled/packages/pyagentx/__init__.py
/usr/lib64/pcs/pcs_bundled/packages/pyagentx/__pycache__
/usr/lib64/pcs/pcs_bundled/packages/pyagentx/__pycache__/__init__.cpython-310.pyc
/usr/lib64/pcs/pcs_bundled/packages/pyagentx/__pycache__/agent.cpython-310.pyc
/usr/lib64/pcs/pcs_bundled/packages/pyagentx/__pycache__/network.cpython-310.pyc
/usr/lib64/pcs/pcs_bundled/packages/pyagentx/__pycache__/pdu.cpython-310.pyc
/usr/lib64/pcs/pcs_bundled/packages/pyagentx/__pycache__/sethandler.cpython-310.pyc
/usr/lib64/pcs/pcs_bundled/packages/pyagentx/__pycache__/updater.cpython-310.pyc
/usr/lib64/pcs/pcs_bundled/packages/pyagentx/agent.py
/usr/lib64/pcs/pcs_bundled/packages/pyagentx/network.py
/usr/lib64/pcs/pcs_bundled/packages/pyagentx/pdu.py
/usr/lib64/pcs/pcs_bundled/packages/pyagentx/sethandler.py
/usr/lib64/pcs/pcs_bundled/packages/pyagentx/updater.py
/usr/lib64/pcs/pcs_snmp_agent
/usr/share/doc/pcs-snmp
/usr/share/doc/pcs-snmp/CHANGELOG.md
/usr/share/doc/pcs-snmp/pyagentx_CONTRIBUTORS.txt
/usr/share/doc/pcs-snmp/pyagentx_README.md
/usr/share/licenses/pcs-snmp
/usr/share/licenses/pcs-snmp/COPYING
/usr/share/licenses/pcs-snmp/pyagentx_LICENSE.txt
/usr/share/man/man8/pcs_snmp_agent.8.gz
/usr/share/snmp/mibs/PCMK-PCS-MIB.txt
/usr/share/snmp/mibs/PCMK-PCS-V1-MIB.txt

References

Summary

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