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

Komponente Event Console
Titel Don't log unparsable SNMP traps per default
Datum 08.08.2024
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.4.0b1 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.

Zur Liste aller Werks