Werk #15897: mk_mysql: Make Checkmk the sole provider of mysql configuration

Komponente Checks & agents
Titel mk_mysql: Make Checkmk the sole provider of mysql configuration
Datum 07.06.2023
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Inkompatibel - Manuelle Interaktion könnte erforderlich sein
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p6 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p31 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Currently, the configuration used to access mysql when using the mk_mysql agent plugin can come from different sources, depending on what option files exist on the remote server. This means that a configuration provided by the agent rule "MySQL Databases" can be overridden by an existing option file that comes first in the file processing order.

This werk changes this to explicitly use the Checkmk configuration in $MK_CONFDIR/mysql.cfg.

If you have been using other configuration files, you will need to set up your access in the "MySQL Databases" rule.

Zur Liste aller Werks