Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

Werk #12631: logwatch: fix "invalid regular expression" crash

Component Checks & agents
Title logwatch: fix "invalid regular expression" crash
Date Mar 29, 2021
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.1.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT
2.0.0p4 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

The logwatch check crashed when the option to reclassify error messages was used in combination with regular expressions that contain a special character escaped with a back slash. The error looks similar to this: "Exception: MKGeneralException (Invalid regular expression 'some.random.file.exe) has opened key': unbalanced parenthesis at position 28)". This has been fixed. Please be aware that you may need to review your regular expression patterns, especially in the case of Windows file paths. Toggle inline help for more information.

To the list of all Werks