Explore the latest product updates and best practices at our hybrid Checkmk Conference #12 from June 16-18, 2026 – Register here

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

Component Checks & agents
Title mk_logwatch: be more robust against unexpected file encoding
Date Sep 25, 2019
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.0.0i1 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT
1.6.0p1 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

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.

To the list of all Werks