Werk #12092: cisco_mem_asa: raises IndexError() on bad SNMP data

Komponente Checks & agents
Titel cisco_mem_asa: raises IndexError() on bad SNMP data
Datum 30.03.2021
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.0.0p2 2.1.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

cisco_mem_asa disvovery and check functions would crash when parsing empty SNMP lines. Additionally the plugin uses two distinct functions for parsing different versions of input data. This change brings both parsing functions together and makes the new one check for empty input and thus fix the described bug.

Zur Liste aller Werks