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

Component Checks & agents
Title Host tags: Take tag groups into account when matching against rule conditions
Date May 20, 2021
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.1.0i1 2.0.0p6
Level Prominent Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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.

To the list of all Werks