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

Werk #22742: logwatch: don't crash if the worst message is an empty line

Component Checks & agents
Title logwatch: don't crash if the worst message is an empty line
Date Oct 15, 2026
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
3.0.0b1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.5.0p18
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.4.0p39 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

A Log service crashed with ValueError: 'summary' must be non-empty str or None, got '' if the most severe message of the log file was an empty line, for example when a pattern classified an empty line as WARN or CRIT.

The service now shows the number of messages per state as summary, e.g. 1 WARN messages.

To the list of all Werks