Werk #15752: azure_virtual_network_gateways: Fix crash in parsing Azure VNet gateway section
Komponente | Checks & agents | ||||
Titel | azure_virtual_network_gateways: Fix crash in parsing Azure VNet gateway section | ||||
Datum | 16.05.2023 | ||||
Level | Kleine Änderung | ||||
Klasse | Bugfix | ||||
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen | ||||
Checkmk versions & editions |
|
If you are monitoring an Azure VNet gateway that has BGP enabled, but does not have any BGP peering addresses, the section parsing crashed:
ValidationError (([ErrorWrapper(exc=ValidationError(model='BgpSettings', errors=[{'loc': ('bgpPeeringAddresses',), 'msg': 'field required', 'type': 'value_error.missing'}]), loc=('bgpSettings',))], <class 'cmk.base.plugins.agent_based.azure_virtual_network_gateways.VNetGWSettings'>))