How To Install mysql-mmm-agent on Rocky Linux 8
Introduction
In this tutorial we learn how to install mysql-mmm-agent
on Rocky Linux 8.
What is mysql-mmm-agent
Agent daemon and libraries which run on each MySQL server and provides the monitoring node with a simple set of remote services.
We can use yum
or dnf
to install mysql-mmm-agent
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install mysql-mmm-agent.
Install mysql-mmm-agent 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 mysql-mmm-agent
using dnf
by running the following command:
sudo dnf -y install mysql-mmm-agent
Install mysql-mmm-agent 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 mysql-mmm-agent
using yum
by running the following command:
sudo yum -y install mysql-mmm-agent
How To Uninstall mysql-mmm-agent on Rocky Linux 8
To uninstall only the mysql-mmm-agent
package we can use the following command:
sudo dnf remove mysql-mmm-agent
mysql-mmm-agent Package Contents on Rocky Linux 8
/etc/mysql-mmm/mmm_agent.conf
/usr/lib/systemd/system/mysql-mmm-agent.service
/usr/libexec/mysql-mmm/agent
/usr/libexec/mysql-mmm/agent/check_ip
/usr/libexec/mysql-mmm/agent/clear_ip
/usr/libexec/mysql-mmm/agent/configure_ip
/usr/libexec/mysql-mmm/agent/mysql_allow_write
/usr/libexec/mysql-mmm/agent/mysql_deny_write
/usr/libexec/mysql-mmm/agent/mysql_may_write
/usr/libexec/mysql-mmm/agent/set_active_master
/usr/libexec/mysql-mmm/agent/sync_with_master
/usr/libexec/mysql-mmm/agent/turn_off_slave
/usr/libexec/mysql-mmm/agent/turn_on_slave
/usr/sbin/mmm_agentd
/usr/share/doc/mysql-mmm-agent
/usr/share/doc/mysql-mmm-agent/README
/usr/share/perl5/vendor_perl/MMM/Agent
/usr/share/perl5/vendor_perl/MMM/Agent/Agent.pm
/usr/share/perl5/vendor_perl/MMM/Agent/Helpers
/usr/share/perl5/vendor_perl/MMM/Agent/Helpers.pm
/usr/share/perl5/vendor_perl/MMM/Agent/Helpers/Actions.pm
/usr/share/perl5/vendor_perl/MMM/Agent/Helpers/Network.pm
/usr/share/perl5/vendor_perl/MMM/Agent/Role.pm
References
Summary
In this tutorial we learn how to install mysql-mmm-agent
on Rocky Linux 8 using yum and dnf.