Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: 95e18452a0d303a3ab6682d09d609266e074b98c
https://github.com/Checkmk/checkmk/commit/95e18452a0d303a3ab6682d09d609266e…
Author: Ronny Bruska <ronny.bruska(a)checkmk.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M cmk/base/core_config.py
M cmk/base/core_nagios/_create_config.py
M cmk/utils/labels.py
M cmk/utils/notify.py
M tests/unit/cmk/base/test_core_config.py
M tests/unit/cmk/base/test_events.py
M tests/unit/cmk/utils/test_notify.py
Log Message:
-----------
Add tags with groups to core config file
* first preperation to match against group and id
* already in place for host and service labels
* path in latest config changed to notify/host_config/HOSTNAME
SUP-17094
Change-Id: I43d12aff5852e40d4efa4f18f6dd5541515ee92c
Commit: 8c5ac8bca2f03023a5e037f434602999e61e67b7
https://github.com/Checkmk/checkmk/commit/8c5ac8bca2f03023a5e037f434602999e…
Author: Ronny Bruska <ronny.bruska(a)checkmk.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M cmk/base/events.py
Log Message:
-----------
Use tags from notify config file
SUP-17094
Change-Id: I9b9cdd81370b9a35bb6c196ab6139385ede19359
Commit: cac264af30ae7f5c96375771f1f5df252c980422
https://github.com/Checkmk/checkmk/commit/cac264af30ae7f5c96375771f1f5df252…
Author: Ronny Bruska <ronny.bruska(a)checkmk.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M cmk/gui/openapi/marshmallow_converter/valuespec_to_marshmallow.py
M cmk/gui/wato/pages/_match_conditions.py
M cmk/gui/watolib/notifications.py
A cmk/update_config/plugins/actions/tag_conditions.py
M cmk/utils/notify_types.py
A tests/unit/cmk/update_config/plugins/actions/test_tag_conditions.py
Log Message:
-----------
Convert notification tag conditions to dict on update
* use DictHostTagCondition from now on
* other configuration of call sites (e.g. Event console) follows
* disabled REST-API tests, see CMK-17644
SUP-17094
Change-Id: I05369ee18a10ff366ea23218180a06e5a05b007b
Commit: 96745198c72e13b01a9b13f9ac2f4d335de12981
https://github.com/Checkmk/checkmk/commit/96745198c72e13b01a9b13f9ac2f4d335…
Author: Ronny Bruska <ronny.bruska(a)checkmk.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M cmk/update_config/plugins/actions/global_settings.py
M cmk/update_config/plugins/actions/tag_conditions.py
M tests/unit/cmk/update_config/plugins/actions/test_global_settings.py
M tests/unit/cmk/update_config/plugins/actions/test_tag_conditions.py
Log Message:
-----------
Convert agent deployment tag condition to new format
SUP-17094
Change-Id: I9bf9a54e6f9eec5ed774788c1efdff32421651ae
Commit: 825120d08cad44c3173d76cc6e0dd9f0f820e354
https://github.com/Checkmk/checkmk/commit/825120d08cad44c3173d76cc6e0dd9f0f…
Author: Ronny Bruska <ronny.bruska(a)checkmk.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M cmk/update_config/plugins/actions/tag_conditions.py
M tests/unit/cmk/update_config/plugins/actions/test_tag_conditions.py
Log Message:
-----------
Adjust naming of notification tag condition update step
SUP-17094
Change-Id: I817afc12ee246df91f7bbe0089a3aeadb42cfa6c
Commit: 2a7b00bc29129aa78de4350425afd2f654e3c1fe
https://github.com/Checkmk/checkmk/commit/2a7b00bc29129aa78de4350425afd2f65…
Author: Ronny Bruska <ronny.bruska(a)checkmk.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
M cmk/base/events.py
M tests/unit/cmk/base/test_events.py
Log Message:
-----------
Switch to new tag matching
SUP-17094
Change-Id: I232354591af84005fe746e7ab0fac11dd54875cd
Commit: 72f235f2bef7df15eaef48ef36f06ac567837264
https://github.com/Checkmk/checkmk/commit/72f235f2bef7df15eaef48ef36f06ac56…
Author: Gav <gavin.mcguigan(a)checkmk.com>
Date: 2024-06-07 (Fri, 07 Jun 2024)
Changed paths:
A .werks/17015.md
M cmk/gui/fields/custom_fields.py
M cmk/gui/openapi/endpoints/notification_rules/request_schemas.py
M cmk/gui/openapi/endpoints/notification_rules/response_schemas.py
M cmk/gui/rest_api_types/notifications_rule_types.py
M cmk/gui/watolib/notifications.py
M cmk/utils/rulesets/ruleset_matcher.py
M tests/unit/cmk/gui/openapi/test_notification_rules.py
Log Message:
-----------
17015 FIX notification rules: match_host_tag field update
Due to some format changes on the host tags, the rule notification
REST-API endpoints have also been affected. This werk takes these changes
into account. To do this, the possible enum values for a tag group has
been modified.
The match_host_tags field takes accepts a list of aux_tags or tag_groups.
For tag groups, we now accept two new operators.
Previously, the enum looked like
enum=["is", "is_not"]
and now it looks like
enum=["is", "is_not", "one_of", "none_of"]
In addition, when the operator field is one of the new values, we expect
a list of tag_ids and not a single tag_id.
Tag group using one of the previous enum values (no change here)
'''
{
"operator": "is"
"tag_id": "tagid"
}
'''
Tag group using one of the new new enum values
'''
{
"operator": "one_of",
"tag_ids": ["tagid_1", "tagid2", "tagid3"],
}
'''
CMK-17644
Change-Id: I7d3d0f33d4edc15a4a80dbb3c5d5b89d0341cadd
Compare:
https://github.com/Checkmk/checkmk/compare/a41a789fd35a...72f235f2bef7
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications