How To Install pcp-export-zabbix-agent.x86_64 on Amazon Linux 2

In this tutorial we learn how to install pcp-export-zabbix-agent.x86_64 in Amazon Linux 2. pcp-export-zabbix-agent.x86_64 is Module for exporting PCP metrics to Zabbix agent

Introduction

In this tutorial we learn how to install pcp-export-zabbix-agent.x86_64 on Amazon Linux 2.

What is pcp-export-zabbix-agent.x86_64

Performance Co-Pilot (PCP) module for exporting metrics from PCP to Zabbix via the Zabbix agent - see zbxpcp(3) for further details.

We can use yum to install pcp-export-zabbix-agent.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install pcp-export-zabbix-agent.x86_64.

Install pcp-export-zabbix-agent.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 pcp-export-zabbix-agent.x86_64 using yum by running the following command:

sudo yum -y install pcp-export-zabbix-agent.x86_64

How To Uninstall pcp-export-zabbix-agent.x86_64 on Amazon Linux 2

To uninstall only the pcp-export-zabbix-agent.x86_64 package we can use the following command:

sudo yum remove pcp-export-zabbix-agent.x86_64

pcp-export-zabbix-agent.x86_64 Package Contents on Amazon Linux 2

/etc/zabbix/zabbix_agentd.d/zbxpcp.conf
/usr/lib64/zabbix
/usr/lib64/zabbix/agent
/usr/lib64/zabbix/agent/zbxpcp.so
/usr/lib64/zabbix/modules
/usr/lib64/zabbix/modules/zbxpcp.so

References

Summary

In this tutorial we learn how to install pcp-export-zabbix-agent.x86_64 on Amazon Linux 2 using yum.