Werk #16556: Agent Updates: host selection ignores configured host labels

Component Agent bakery
Title Agent Updates: host selection ignores configured host labels
Date Aug 1, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1
Not yet released
Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p12 Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p32 Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

When configuring the global setting Automatic agent updates/Activate update only on the selected hosts, the selection of host labels under Match host labels didn't get recognized.

Technical background: The set of host selection parameters used in above rule comes from a generic ruleset pattern that's used in some more host rulesets in Checkmk. Eventually, the option to filter for host labels got introduced to the generic ruleset, but we missed to evaluate it for the determination of allowed hosts for agent updates.

To the list of all Werks