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
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0p1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

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