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 Edition | Checkmk Raw (CRE) |
Checkmk Version | 2.0.0p12 2.1.0b1 |
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.