Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: 9dc90a8a1e006a6f777d777d5c1f854748cc3c5d
https://github.com/tribe29/checkmk/commit/9dc90a8a1e006a6f777d777d5c1f85474…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2021-06-02 (Wed, 02 Jun 2021)
Changed paths:
M cmk/utils/bi/bi_data_fetcher.py
M cmk/utils/bi/bi_lib.py
M cmk/utils/bi/bi_searcher.py
M cmk/utils/rulesets/ruleset_matcher.py
M tests/unit/cmk/utils/bi/bi_test_data/sample_config.py
M tests/unit/cmk/utils/bi/test_bi_search.py
M tests/unit/cmk/utils/rulesets/test_ruleset_matcher.py
Log Message:
-----------
Ruleset matching: Take host tag groups ids into account
Also the caching of hosts now uses both the group ids and the tag ids.
Previously, only the tag ids were used, which led to wrong machtes since
the tag ids are not required to be unique across different tag groups.
SUP-5957
Change-Id: I97f2918f0fca1ef8a484bdafca32e5705df43bd6
Commit: 01ee51fa091164bd656faba641b6be079e52eb6f
https://github.com/tribe29/checkmk/commit/01ee51fa091164bd656faba641b6be079…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2021-06-02 (Wed, 02 Jun 2021)
Changed paths:
A .werks/12882
Log Message:
-----------
12882 FIX Host tags: Take tag groups into account when matching against rule conditions
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.
SUP-5957
Change-Id: I13f174f924550ec31fbe6dc528973c652770a73f
Compare:
https://github.com/tribe29/checkmk/compare/c7d8373aba1b...01ee51fa0911