Werk #13346: logwatch_ec: Fix crash with KeyError in cluster mode

Component Checks & Agents
Title logwatch_ec: Fix crash with KeyError in cluster mode
Date Sep 27, 2021
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.1.0i1 2.0.0p12
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

In a clustered setup, the check plugin logwatch_ec, used for forwarding log messages collected by the logwatch agent plugin to the Event Console, might have crashed with a KeyError. This happened if a logfile was present only on some, but not all cluster nodes.

To the list of all Werks