Branch: refs/heads/2.1.0
Home:
https://github.com/tribe29/checkmk
Commit: 69078151d7187075b1c8cfa4cfae842ec27a2f1b
https://github.com/tribe29/checkmk/commit/69078151d7187075b1c8cfa4cfae842ec…
Author: Sofia Colakovic <sofia.colakovic(a)tribe29.com>
Date: 2023-04-17 (Mon, 17 Apr 2023)
Changed paths:
A .werks/15460
M cmk/special_agents/agent_azure.py
M tests/unit/cmk/special_agents/agent_azure/test_agent_azure_mgmt_api_client.py
Log Message:
-----------
15460 FIX agent_azure: Fix an error when collecting metrics for Express Route vNet
Gateway
Previously, the Azure agent would show an error when collecting metrics for
the Express Route vNet Gateway:
C+:
cmk.special_agents.agent_azure.ApiError: Failed to find metric configuration for provider:
Microsoft.Network,
resource Type: virtualNetworkGateways, metric: P2SConnectionCount, Valid metrics:
ExpressRouteGatewayPacketsPerSecond,
ExpressRouteGatewayBitsPerSecond, ...
C-:
The VNet Gateway service wasn't affected by this. Now, the error gets handled by the
Azure agent plugin.
SUP-13105
Change-Id: I15dcc0454263dec87a248449a69ef07d9d1468c4