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

Werk #18021: Logwatch grouping: fix crash on KeyError host_name

Component Checks & agents
Title Logwatch grouping: fix crash on KeyError host_name
Date May 7, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.4.0p1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT

The logwatch check plugin, if configured via the Logfile Grouping rule, crashed with the following error:

  File "/omd/sites/site_name/lib/python3/cmk/checkengine/parameters.py", line 34, in __getitem__
    return self._data[key]
'host_name'

To the list of all Werks