Branch: refs/heads/2.3.0
Home:
https://github.com/Checkmk/checkmk
Commit: 66373c162fb5bfa533a479fe24dd7fb5b241168f
https://github.com/Checkmk/checkmk/commit/66373c162fb5bfa533a479fe24dd7fb5b…
Author: Kenneth Okoh <kenneth.okoh(a)checkmk.com>
Date: 2024-02-06 (Tue, 06 Feb 2024)
Changed paths:
M cmk/base/check_legacy_includes/azure.py
M cmk/base/legacy_checks/azure_databases.py
M cmk/base/legacy_checks/azure_sites.py
M cmk/base/legacy_checks/azure_storageaccounts.py
M cmk/plugins/azure/agent_based/azure_load_balancer.py
M cmk/plugins/azure/agent_based/azure_virtual_machine.py
M cmk/plugins/azure/agent_based/azure_virtual_network_gateways.py
M cmk/plugins/lib/azure.py
M cmk/special_agents/agent_azure.py
M tests/unit/cmk/plugins/lib/test_azure.py
M tests/unit/cmk/special_agents/agent_azure/test_agent_azure_process.py
Log Message:
-----------
Azure: import tags as host/service labels
CMK-15553
Change-Id: Iee2251a87585f7b9c0ac6e0b9d15ff14aadc3f13
Commit: 3d7d5c79a541ee72d4dd8b893262bbd8d1ac6ac5
https://github.com/Checkmk/checkmk/commit/3d7d5c79a541ee72d4dd8b893262bbd8d…
Author: Kenneth Okoh <kenneth.okoh(a)checkmk.com>
Date: 2024-02-06 (Tue, 06 Feb 2024)
Changed paths:
M cmk/plugins/lib/azure.py
Log Message:
-----------
Azure: validate label keys and values
Make sure we only generate valid labels with non-empty values and no
colons allowed in either key or value
CMK-15553
Change-Id: Ib17d0baf7e6b0f0dccacfa0e9317f9aaca86bd02
Commit: 78741b631a789f70f7ffcb6336f62208ff32fac2
https://github.com/Checkmk/checkmk/commit/78741b631a789f70f7ffcb6336f62208f…
Author: Kenneth Okoh <kenneth.okoh(a)checkmk.com>
Date: 2024-02-06 (Tue, 06 Feb 2024)
Changed paths:
A .werks/16047.md
A cmk/plugins/azure/agent_based/azure_section_labels.py
M cmk/special_agents/agent_azure.py
M tests/unit/cmk/base/plugins/agent_based/test_section_host_label_doc.py
M tests/unit/cmk/base/plugins/agent_based/test_section_properties.py
M tests/unit/cmk/special_agents/agent_azure/test_agent_azure_process.py
Log Message:
-----------
16047 Changed host labels for Azure Resource Groups and Virutal Machines
This werk affects users who use the tags of Azure Resource Groups or Virtual Machines (if
monitored as hosts) as host labels in Checkmk.
The host labels are renamed from the original Azure format "{key}:{value}" to
"cmk/azure/tag/{key}:{value}" in order to stay consistent with other host labels
and to avoid overwriting existing Checkmk labels. The old label will be removed in version
2.4.0.
CMK-15553
Change-Id: Ibdf25c629bbcb2b63341540b905956c61bcb7a9c
Commit: 7b55e3092b370f475a668663f6dd007be4d9e3f8
https://github.com/Checkmk/checkmk/commit/7b55e3092b370f475a668663f6dd007be…
Author: Kenneth Okoh <kenneth.okoh(a)checkmk.com>
Date: 2024-02-06 (Tue, 06 Feb 2024)
Changed paths:
A .werks/16048.md
M cmk/gui/plugins/wato/special_agents/azure.py
M cmk/plugins/collection/server_side_calls/azure.py
M cmk/special_agents/agent_azure.py
M tests/unit/cmk/gui/plugins/wato/special_agents/test_azure.py
M tests/unit/cmk/plugins/collection/server_side_calls/test_azure.py
M tests/unit/cmk/special_agents/agent_azure/test_agent_azure_config.py
M tests/unit/cmk/special_agents/agent_azure/test_agent_azure_process.py
Log Message:
-----------
16048 Import Azure tags as service labels and provide regex matching
Azure resource tags are now imported as service labels as well (in addition to the
existing host labels). Each service that is discovered for an Azure resource now holds the
resource's tags as service labels.
Also, you can now restrict the import of Azure tags via regex or disable the import
altogether. This can be done in the rule "Microsoft Azure" via option
"Import tags as host/service labels".
Note that tags are validated to 1) not hold empty values - empty values are replaced by
"true" and 2) not contain colons (":") - colons are replaced by
underscores ("_"). So an Azure resource tag "tag:key":""
will now be shown as "tag_key":"true".
Change-Id: I4ae7c2034e79b1ae338c125c0aa7a993a0a45363
Compare:
https://github.com/Checkmk/checkmk/compare/5a92b374b197...7b55e3092b37