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

Komponente Setup
Titel Host / service labels: Prevent to use label conditions in referred predefined conditions
Datum 06.07.2021
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.0.0p8 2.1.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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.

Zur Liste aller Werks