The MySQL Replica/Slave Sync status is no longer being showed

CMK version: 2.2.037p
OS version: Debian 12 Bookworm

Error message: Any. Read below

Hello,

I have a Master/Slave MariaDB configuration, which is monitored using the MySQL Check_Mk plugin, and it has been working flawlessly until recently. However, the replication status between the master and slave was lost, and I had to recreate the slave.

After recreating the slave and restarting the MariaDB service, all checks on my Check_Mk server were restored, except for the replica status check, which was marked as UNKN . Even after refreshing all services, this particular check disappeared entirely.

In the past, I have recreated the slave multiple times without encountering this issue, though it is worth noting that those instances involved older versions of Check_Mk like 2.0.

Thank you in advance for your help.

Hello again,

I’m answering for my future myself:

To ensure Check_MK can monitor replication status after rebuilding the slave:

GRANT REPLICATION CLIENT ON *.* TO 'checkmk'@'localhost';

Apply Changes Immediately

FLUSH PRIVILEGES;

And refresh services in your check_mk instance et voilà!

:crying_cat_face: