How To Install pcp-pmda-smart on Fedora 36
Introduction
In this tutorial we learn how to install pcp-pmda-smart on Fedora 36.
What is pcp-pmda-smart
This package contains the PCP Performance Metric Domain Agent (PMDA) for collecting metrics of disk S.M.A.R.T values making use of data from the smartmontools package.
We can use yum or dnf to install pcp-pmda-smart on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install pcp-pmda-smart.
Install pcp-pmda-smart 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-smart using dnf by running the following command:
sudo dnf -y install pcp-pmda-smart
Install pcp-pmda-smart 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-smart using yum by running the following command:
sudo yum -y install pcp-pmda-smart
How To Uninstall pcp-pmda-smart on Fedora 36
To uninstall only the pcp-pmda-smart package we can use the following command:
sudo dnf remove pcp-pmda-smart
pcp-pmda-smart Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/b93697ebb5f5a199012805b4d242073cd176ff
/usr/lib/.build-id/f3/8d51cd7a3d4ed7d093e9c95c59d1e048a57ab4
/usr/lib/tmpfiles.d/pcp-pmda-smart.conf
/usr/libexec/pcp/pmdas/smart
/usr/libexec/pcp/pmdas/smart/Install
/usr/libexec/pcp/pmdas/smart/Remove
/usr/libexec/pcp/pmdas/smart/domain.h
/usr/libexec/pcp/pmdas/smart/help
/usr/libexec/pcp/pmdas/smart/pmda_smart.so
/usr/libexec/pcp/pmdas/smart/pmdasmart
/usr/libexec/pcp/pmdas/smart/pmns
/usr/libexec/pcp/pmdas/smart/root
/var/lib/pcp/pmdas/smart
/var/lib/pcp/pmdas/smart/Install
/var/lib/pcp/pmdas/smart/Remove
/var/lib/pcp/pmdas/smart/domain.h
/var/lib/pcp/pmdas/smart/help
/var/lib/pcp/pmdas/smart/pmda_smart.so
/var/lib/pcp/pmdas/smart/pmdasmart
/var/lib/pcp/pmdas/smart/pmns
/var/lib/pcp/pmdas/smart/root
References
Summary
In this tutorial we learn how to install pcp-pmda-smart on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).