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 |
Checkmk Edition | Checkmk Cloud Edition (CCE) |
Checkmk-Version | 2.2.0p1 2.3.0b1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
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'>))