We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Werk #10141: mk_logwatch: be more robust against unexpected file encoding

ComponentChecks & Agents
Titlemk_logwatch: be more robust against unexpected file encoding
Date2019-09-25 15:33:03
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.6.0p1,1.7.0i1
LevelTrivial Change
ClassBug Fix
CompatibilityCompatible - no manual interaction needed

In version 1.6.0 the mk_logwatch plugin crashed if a processed logfile could not be correctly decoded. This lead to log services not being updated. Even worse a single logfile with this issue could affect other logfiles.

We now replace all characters that can not be encoded with the U+FFFD replacement character. In addition, in case of an exception we now continue processing the next file.