Explore the latest product updates and best practices at our hybrid Checkmk Conference #12 from June 16-18, 2026 – Register here

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 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.2.0b4 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.1.0p27 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

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