Branch: refs/heads/2.1.0
Home:
https://github.com/Checkmk/checkmk
Commit: 7b29669c4a2a6781b692ef5420aeed0d343841a7
https://github.com/Checkmk/checkmk/commit/7b29669c4a2a6781b692ef5420aeed0d3…
Author: Moritz Kiemer <moritz.kiemer(a)checkmk.com>
Date: 2023-12-08 (Fri, 08 Dec 2023)
Changed paths:
M tests/unit/cmk/base/plugins/agent_based/test_logwatch_ec.py
Log Message:
-----------
logwatch: add test
Change-Id: Ieaa6b6f740e9a5113ebed129d5711c2eedc51855
Commit: 55ca0607e488db35c8928a5fb4cafac8e649b4fa
https://github.com/Checkmk/checkmk/commit/55ca0607e488db35c8928a5fb4cafac8e…
Author: Moritz Kiemer <moritz.kiemer(a)checkmk.com>
Date: 2023-12-08 (Fri, 08 Dec 2023)
Changed paths:
A .werks/16271
M cmk/base/plugins/agent_based/logwatch.py
M cmk/base/plugins/agent_based/logwatch_ec.py
M cmk/base/plugins/agent_based/utils/logwatch.py
M tests/unit/cmk/base/plugins/agent_based/test_logwatch_ec.py
M tests/unit/cmk/base/plugins/agent_based/test_logwatch_section_batches.py
Log Message:
-----------
16271 FIX logwatch_ec: Duplicate messages forwarded to event console
We must once store all seen batches for all items (logfiles).
Otherwise we always only consider the batches that have been sent for
the item that was checked last -- which can be less that the ones of
other items.
Change-Id: Id153271bd7c9f5b98b7c0a98a3b46aa08cb02284
Compare:
https://github.com/Checkmk/checkmk/compare/8caa50e990e5...55ca0607e488