How To Install pcs-snmp on Rocky Linux 8
Introduction
In this tutorial we learn how to install pcs-snmp
on Rocky Linux 8.
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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install pcs-snmp.
Install pcs-snmp 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 pcs-snmp
using dnf
by running the following command:
sudo dnf -y install pcs-snmp
Install pcs-snmp 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 pcs-snmp
using yum
by running the following command:
sudo yum -y install pcs-snmp
How To Uninstall pcs-snmp on Rocky Linux 8
To uninstall only the pcs-snmp
package we can use the following command:
sudo dnf remove pcs-snmp
pcs-snmp Package Contents on Rocky Linux 8
/etc/sysconfig/pcs_snmp_agent
/usr/lib/pcs/bundled/packages/pyagentx
/usr/lib/pcs/bundled/packages/pyagentx-0.4.1-py3.6.egg-info
/usr/lib/pcs/bundled/packages/pyagentx-0.4.1-py3.6.egg-info/PKG-INFO
/usr/lib/pcs/bundled/packages/pyagentx-0.4.1-py3.6.egg-info/SOURCES.txt
/usr/lib/pcs/bundled/packages/pyagentx-0.4.1-py3.6.egg-info/dependency_links.txt
/usr/lib/pcs/bundled/packages/pyagentx-0.4.1-py3.6.egg-info/top_level.txt
/usr/lib/pcs/bundled/packages/pyagentx/__init__.py
/usr/lib/pcs/bundled/packages/pyagentx/__pycache__
/usr/lib/pcs/bundled/packages/pyagentx/__pycache__/__init__.cpython-36.pyc
/usr/lib/pcs/bundled/packages/pyagentx/__pycache__/agent.cpython-36.pyc
/usr/lib/pcs/bundled/packages/pyagentx/__pycache__/network.cpython-36.pyc
/usr/lib/pcs/bundled/packages/pyagentx/__pycache__/pdu.cpython-36.pyc
/usr/lib/pcs/bundled/packages/pyagentx/__pycache__/sethandler.cpython-36.pyc
/usr/lib/pcs/bundled/packages/pyagentx/__pycache__/updater.cpython-36.pyc
/usr/lib/pcs/bundled/packages/pyagentx/agent.py
/usr/lib/pcs/bundled/packages/pyagentx/network.py
/usr/lib/pcs/bundled/packages/pyagentx/pdu.py
/usr/lib/pcs/bundled/packages/pyagentx/sethandler.py
/usr/lib/pcs/bundled/packages/pyagentx/updater.py
/usr/lib/pcs/pcs_snmp_agent
/usr/lib/systemd/system/pcs_snmp_agent.service
/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 Rocky Linux 8 using yum and dnf.