Werk #16119: Don't log unparsable SNMP traps per default

Component Event Console
Title Don't log unparsable SNMP traps per default
Date Aug 8, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p13 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

When an SNMP trap arrives at the event console which can't be parsed for various reasons (unknown SNMP engine ID, some deserialization error, ...), we previously logged a full Python backtrace to the EC log. This could lead to the incorrect conclusion that there is something wrong with the EC itself, which is not what has actually happened: Actually, some device was probably misconfigured and/or misbehaving. To avoid such log spam, such a trap is now silently dropped at the standard "informational" log level, and more details can be logged at higher levels when needed.

To the list of all Werks