Werk #12840: Host / service labels: Prevent to use label conditions in referred predefined conditions

Component Setup
Title Host / service labels: Prevent to use label conditions in referred predefined conditions
Date Jul 6, 2021
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.0.0p8 2.1.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

The rulesets "Host labels" and "Service labels" can not use host or service labels as conditions. However, previous Checkmk versions allowed it to refer to predefined conditions which have label conditions. In case this was configured, this lead to exceptions during config creation.

With this change, this configuration issue is now validated and an error message is displayed in the moment one tries to assign a predefined condition with labels to a "Host labels" or "service labels" rule.

To the list of all Werks