How To Install mysql-mmm-monitor on Rocky Linux 8

In this tutorial we learn how to install mysql-mmm-monitor on Rocky Linux 8. mysql-mmm-monitor is MMM Monitor Server Daemon and Libraries

Introduction

In this tutorial we learn how to install mysql-mmm-monitor on Rocky Linux 8.

What is mysql-mmm-monitor

Monitoring daemon and libraries that do all monitoring work and make all decisions about roles moving and so on.

We can use yum or dnf to install mysql-mmm-monitor on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install mysql-mmm-monitor.

Install mysql-mmm-monitor 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-monitor using dnf by running the following command:

sudo dnf -y install mysql-mmm-monitor

Install mysql-mmm-monitor 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-monitor using yum by running the following command:

sudo yum -y install mysql-mmm-monitor

How To Uninstall mysql-mmm-monitor on Rocky Linux 8

To uninstall only the mysql-mmm-monitor package we can use the following command:

sudo dnf remove mysql-mmm-monitor

mysql-mmm-monitor Package Contents on Rocky Linux 8

/etc/mysql-mmm/mmm_mon.conf
/etc/mysql-mmm/mmm_mon_log.conf
/usr/lib/systemd/system/mysql-mmm-monitor.service
/usr/libexec/mysql-mmm/monitor
/usr/libexec/mysql-mmm/monitor/checker
/usr/sbin/mmm_control
/usr/sbin/mmm_mond
/usr/share/doc/mysql-mmm-monitor
/usr/share/doc/mysql-mmm-monitor/README
/usr/share/perl5/vendor_perl/MMM/Monitor
/usr/share/perl5/vendor_perl/MMM/Monitor/Agent.pm
/usr/share/perl5/vendor_perl/MMM/Monitor/Agents.pm
/usr/share/perl5/vendor_perl/MMM/Monitor/CheckResult.pm
/usr/share/perl5/vendor_perl/MMM/Monitor/Checker
/usr/share/perl5/vendor_perl/MMM/Monitor/Checker.pm
/usr/share/perl5/vendor_perl/MMM/Monitor/Checker/Checks.pm
/usr/share/perl5/vendor_perl/MMM/Monitor/ChecksStatus.pm
/usr/share/perl5/vendor_perl/MMM/Monitor/Commands.pm
/usr/share/perl5/vendor_perl/MMM/Monitor/Monitor.pm
/usr/share/perl5/vendor_perl/MMM/Monitor/NetworkChecker.pm
/usr/share/perl5/vendor_perl/MMM/Monitor/Role.pm
/usr/share/perl5/vendor_perl/MMM/Monitor/Roles.pm
/usr/share/perl5/vendor_perl/MMM/Monitor/StartupStatus.pm

References

Summary

In this tutorial we learn how to install mysql-mmm-monitor on Rocky Linux 8 using yum and dnf.