Werk #10125: Fixed separator of SNMP trap messages

Component Event Console
Title Fixed separator of SNMP trap messages
Date Apr 6, 2020
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.0.0i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The event console messages created from SNMP traps can contain a list of OID/value pairs. These pairs were separated by " , " previously, now they are separated by ", " (not the missing space before the comma). Although the new behavior is more correct, it can have an impact on your configured event console rules: If you match on the text of the messsage, the change can make a difference, depending on the regex you use.

A portable fix is to use " ?, " to match the separator, i.e. make the first space optional in the regex.

To the list of all Werks