Werk #17335: Fix rules not matching non-central cmk/site labels
Component | User interface | ||||
Title | Fix rules not matching non-central cmk/site labels | ||||
Date | Nov 26, 2024 | ||||
Level | Trivial Change | ||||
Class | Bug Fix | ||||
Compatibility | Incompatible - Manual interaction might be required | ||||
Checkmk versions & editions |
|
Previously, agent rules that defined the "cmk/site
" host label as a
matching condition matched:
- All hosts if the condition was
cmk/site:{central_site}
where{central_site}
is the name of your central site. - No hosts if you specified any other
cmk/site
value
With this werk, we fixed an underlying bug where in the rule matching,
all hosts were assigned the cmk/site:{central_site}
label regardless
of what site the host is being monitored on.
Attention, incompatible change:
This changes which hosts are affected by agent rules matching on the
cmk/site
label. If you have any agent rules matching on the cmk/site
host label, your agent bakery is affected:
Any agent rules matching on the cmk/site
host label of a
remote site now no longer matches on hosts of the central site, only
on hosts of that remote site.
Any agent rules matching on the cmk/site
host label of the
central site now no longer matches hosts of ALL sites, only on hosts
of the central site.