Werk #17035: mysql_replica_slave: Adapt mk_mysql for MySQL version 8.0.22 and above

Component Checks & agents
Title mysql_replica_slave: Adapt mk_mysql for MySQL version 8.0.22 and above
Date Sep 10, 2024
Level Trivial Change
Class New Feature
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.4.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p17 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

From MySQL 8.0.22, SHOW SLAVE STATUS is deprecated and the alias SHOW REPLICA STATUS should be used instead. The statement works in the same way as before, only the terminology used for the statement and its output has changed.

For the sake of compatibility, the service name will stay the same 'MySQL Slave'. The user needs to update the agent in order for this to change to work as intended.

To the list of all Werks