Werk #10125: Fixed separator of SNMP trap messages
Component | Event Console |
Title | Fixed separator of SNMP trap messages |
Date | Apr 6, 2020 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 1.6.0 2.0.0i1 |
Level | Trivial Change |
Class | Bug Fix |
Compatibility | Incompatible - Manual interaction might be required |
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.