Werk #14716: Local customizations might need adjustment due to structural refactorings in GUI code
Component | Setup | ||
Title | Local customizations might need adjustment due to structural refactorings in GUI code | ||
Date | Aug 24, 2022 | ||
Level | Trivial Change | ||
Class | New Feature | ||
Compatibility | Incompatible - Manual interaction might be required | ||
Checkmk versions & editions |
|
This werk only affects users of non-Checkmk local customizations (single files and MKPs from non- Checkmk sources such as the Checkmk exchange).
Two monolithic files under cmk/gui/plugins/wato/ have been split up into multiple smaller files:
- datasource_programs.py, which defined rules for configuring special agents, has been refactored into the folder datasource_programs.
- active_checks.py, which defined rules for configuring active checks, has been refactored into the folder active_checks.
Hence, any customization containing imports from any of the two dissolved files has to be adjusted. The new import paths are probably cmk.gui.plugins.wato.datasource_programs/active_checks.common.
Note that this only affects non-Checkmk customizations because as of the writing of this werk, any customization produced by Checkmk will be obsolete with Checkmk 2.2.