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

Werk #11743: mk_logwatch: log files with special characters are ignored or cause crash

Component Checks & agents
Title mk_logwatch: log files with special characters are ignored or cause crash
Date Jan 13, 2021
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
1.6.0p21 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Log files with special characters (e.g. ä) are ignored by the mk_logwatch plugin in the event that the locale of the host is set to POSIX. On certain operating systems (SLES 12), crashes have been observed due to the same issue. They present with the following error message:

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 2: ordinal not in range(128).

This is due to a missing character encoding and has been fixed. The plugin needs to be redistributed if this fix is needed.

To the list of all Werks