Werk #17521: Synconization of MKPs in distributed setups

Component User interface
Title Synconization of MKPs in distributed setups
Date Feb 7, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p27 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p40 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

The syncronization of MKPs to remote sites in a distributed setup could lead to inconsistent states. This was particularly noticeable when executing mkp commands on the remote sites command line. Commandline operations on the remote site should be possible, even if the deployment state of the MKPs can only be changed temporarily -- a subsequent syncronization would reset them.

This fixes in particular the following issues:

  • MKPs that where enabled on the remote site could not be re-enabled
  • MKPs that where removed from the central site would not be removed from the remote

These inconsistencies have been caused by an optimization: Disabled MKPs where never synced at all. With this werk we sync the whole state of the MKP manager. In case you have a lot of disabled MKPs, the next syncronization might take a bit longer. Since these files don't change, the subsequent activations will (virtually) not be affected.

To the list of all Werks