Werk #15460: agent_azure: Fix an error when collecting metrics for Express Route vNet Gateway

Component Agent bakery
Title agent_azure: Fix an error when collecting metrics for Express Route vNet Gateway
Date Apr 4, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b4 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p27 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Previously, the Azure agent would show an error when collecting metrics for the Express Route vNet Gateway:

cmk.special_agents.agent_azure.ApiError: Failed to find metric configuration for provider: Microsoft.Network,
resource Type: virtualNetworkGateways, metric: P2SConnectionCount, Valid metrics: ExpressRouteGatewayPacketsPerSecond,
ExpressRouteGatewayBitsPerSecond, ...

The VNet Gateway service wasn't affected by this. Now, the error gets handled by the Azure agent plugin.

To the list of all Werks