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 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
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.