Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 9b2f8f8f60ab30017b6cb62f8d747b936fd2fc84
https://github.com/tribe29/checkmk/commit/9b2f8f8f60ab30017b6cb62f8d747b936…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2021-09-27 (Mon, 27 Sep 2021)
Changed paths:
M tests/unit/cmk/base/plugins/agent_based/test_logwatch_ec.py
Log Message:
-----------
Extend unit tests for forwarding of logwatch to EC
This is a preparation for merging PR 397.
Change-Id: Ic8aa8fdc5f5d40273b5e2acaf500a6fd53497dc2
Commit: d6d7008ab5fa131dfaf3e5f489bda0434cb239c6
https://github.com/tribe29/checkmk/commit/d6d7008ab5fa131dfaf3e5f489bda0434…
Author: gradecke <gerdradecke(a)gmx.de>
Date: 2021-09-27 (Mon, 27 Sep 2021)
Changed paths:
A .werks/13346
M cmk/base/plugins/agent_based/logwatch_ec.py
M tests/unit/cmk/base/plugins/agent_based/test_logwatch_ec.py
Log Message:
-----------
13346 FIX <tt>logwatch_ec</tt>: Fix crash with <tt>KeyError</tt>
in cluster mode
In a clustered setup, the check plugin <tt>logwatch_ec</tt>, used for
forwarding log messages collected by the logwatch agent plugin to the
Event Console, might have crashed with a <tt>KeyError</tt>. This
happened if a logfile was present only on some, but not all cluster
nodes.
Closes #397
Change-Id: Iacf49f4a16063ef63f5c6e2da090b5f37aa57340
Compare:
https://github.com/tribe29/checkmk/compare/c2dabfb112b1...d6d7008ab5fa