Werk #12882: Host tags: Take tag groups into account when matching against rule conditions

Komponente Checks und Agenten
Titel Host tags: Take tag groups into account when matching against rule conditions
Datum 20.05.2021
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 2.1.0i1 2.0.0p6
Level Bedeutende Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

Up to now, the matching of host tags against rule conditions was based solely on on the tag ids. The ids of the tag groups were not taken into account. However, tag ids are not required to be unique across different tag groups. Therefore, if the same tag ids occur in multiple tag groups, ignoring the group ids can lead to wrong results.

This werk fixes this issue. Tag group ids are now taken into account when checking if a rule applies to a host, both for normal monitoring rules and BI aggregations.

Zur Liste aller Werks