How To Install pcs-snmp.x86_64 on Amazon Linux 2
In this tutorial we learn how to install pcs-snmp.x86_64 in Amazon Linux 2. pcs-snmp.x86_64 is Pacemaker cluster SNMP agent
Introduction
In this tutorial we learn how to install pcs-snmp.x86_64 on Amazon Linux 2.
What is pcs-snmp.x86_64
SNMP agent that provides information about pacemaker cluster to the master agent (snmpd)
We can use yum to install pcs-snmp.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install pcs-snmp.x86_64.
Install pcs-snmp.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install pcs-snmp.x86_64 using yum by running the following command:
sudo yum -y install pcs-snmp.x86_64
How To Uninstall pcs-snmp.x86_64 on Amazon Linux 2
To uninstall only the pcs-snmp.x86_64 package we can use the following command:
sudo yum remove pcs-snmp.x86_64
pcs-snmp.x86_64 Package Contents on Amazon Linux 2
/etc/sysconfig/pcs_snmp_agent
/usr/lib/pcs/bundled/packages/pyagentx
/usr/lib/pcs/bundled/packages/pyagentx-0.4.1-py2.7.egg-info
/usr/lib/pcs/bundled/packages/pyagentx-0.4.1-py2.7.egg-info/PKG-INFO
/usr/lib/pcs/bundled/packages/pyagentx-0.4.1-py2.7.egg-info/SOURCES.txt
/usr/lib/pcs/bundled/packages/pyagentx-0.4.1-py2.7.egg-info/dependency_links.txt
/usr/lib/pcs/bundled/packages/pyagentx-0.4.1-py2.7.egg-info/top_level.txt
/usr/lib/pcs/bundled/packages/pyagentx/__init__.py
/usr/lib/pcs/bundled/packages/pyagentx/__init__.pyc
/usr/lib/pcs/bundled/packages/pyagentx/__init__.pyo
/usr/lib/pcs/bundled/packages/pyagentx/agent.py
/usr/lib/pcs/bundled/packages/pyagentx/agent.pyc
/usr/lib/pcs/bundled/packages/pyagentx/agent.pyo
/usr/lib/pcs/bundled/packages/pyagentx/network.py
/usr/lib/pcs/bundled/packages/pyagentx/network.pyc
/usr/lib/pcs/bundled/packages/pyagentx/network.pyo
/usr/lib/pcs/bundled/packages/pyagentx/pdu.py
/usr/lib/pcs/bundled/packages/pyagentx/pdu.pyc
/usr/lib/pcs/bundled/packages/pyagentx/pdu.pyo
/usr/lib/pcs/bundled/packages/pyagentx/sethandler.py
/usr/lib/pcs/bundled/packages/pyagentx/sethandler.pyc
/usr/lib/pcs/bundled/packages/pyagentx/sethandler.pyo
/usr/lib/pcs/bundled/packages/pyagentx/updater.py
/usr/lib/pcs/bundled/packages/pyagentx/updater.pyc
/usr/lib/pcs/bundled/packages/pyagentx/updater.pyo
/usr/lib/pcs/pcs_snmp_agent
/usr/lib/systemd/system/pcs_snmp_agent.service
/usr/share/doc/pcs-snmp-0.9.167
/usr/share/doc/pcs-snmp-0.9.167/CHANGELOG.md
/usr/share/doc/pcs-snmp-0.9.167/COPYING
/usr/share/doc/pcs-snmp-0.9.167/pyagentx_CONTRIBUTORS.txt
/usr/share/doc/pcs-snmp-0.9.167/pyagentx_LICENSE.txt
/usr/share/doc/pcs-snmp-0.9.167/pyagentx_README.md
/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
/var/log/pcs
References
Summary
In this tutorial we learn how to install pcs-snmp.x86_64 on Amazon Linux 2 using yum.