Werk #10006: mk_logwatch: Do not crash upon non-matching optional subgroups and rewrites

Component Checks & agents
Title mk_logwatch: Do not crash upon non-matching optional subgroups and rewrites
Date Sep 10, 2019
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.0.0i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0b10 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0p23 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The agent plugin mk_logwatch crashed in case you had rewrite patterns defined and the triggering regular expression contained non-matching optional subgroups.

To the list of all Werks