How To Install mysql-mmm-agent on Fedora 36

In this tutorial we learn how to install mysql-mmm-agent in Fedora 36. mysql-mmm-agent is MMM Database Server Agent Daemon and Libraries

Introduction

In this tutorial we learn how to install mysql-mmm-agent on Fedora 36.

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 Fedora 36. 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 Fedora 36 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 Fedora 36 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 Fedora 36

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 Fedora 36

/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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).