Werk #11710: PySNMP: No longer return empty string

Component Inline SNMP
Title PySNMP: No longer return empty string
Date Dec 1, 2020
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0b2 Checkmk Enterprise (CEE), Checkmk MSP (CME)

The SNMP Backend needs to return an empty string for walks if no result is found for one OID in the walk because Checkmk can't handle this.

But PySNMP returned an empty string even if nothing was found for the walk OID.

If no result is found for this OID the walk should be completely empty. This was not the case for PySNMP which caused some issues with certain checks.

Now we return nothing if no result was found for the walk.

To the list of all Werks