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

Komponente Agent bakery
Titel agent_azure: Fix an error when collecting metrics for Express Route vNet Gateway
Datum 04.04.2023
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
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.

Zur Liste aller Werks