Explore the latest product updates and best practices at our hybrid Checkmk Conference #12 from June 16-18, 2026 – Register here

Werk #19852: bgp_peer: tolerate unexpected address byte-list lengths

Component Checks & agents
Title bgp_peer: tolerate unexpected address byte-list lengths
Date Apr 23, 2026
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.6.0b1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.5.0p1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

SNMP devices may return BGP peer address byte-lists whose length is neither 4 (IPv4) nor 16 (IPv6). The bgp_peer parser unconditionally tried to format such short byte strings as IPv6, which crashed with AddressValueError: At least 3 parts expected in '7c30' and aborted section parsing.

_convert_address now renders unexpected byte-list lengths as unknown(...) so parsing continues for the remaining peers.

To the list of all Werks