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

Component Checks & agents
Title cisco_mem_asa: raises IndexError() on bad SNMP data
Date Mar 30, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p2 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

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.

To the list of all Werks