Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: dd82c1ce5251987ca06bf5ed11fd738a8a539a25
https://github.com/tribe29/checkmk/commit/dd82c1ce5251987ca06bf5ed11fd738a8…
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: 046902401cefb150e316a5ee0bd40e6de5284609
https://github.com/tribe29/checkmk/commit/046902401cefb150e316a5ee0bd40e6de…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
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/06a5344f985a...046902401cef