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 |
|
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.