Branch: refs/heads/2.2.0
Home:
https://github.com/Checkmk/checkmk
Commit: c071c76df826d45f3c94f189b5f53a30237a2647
https://github.com/Checkmk/checkmk/commit/c071c76df826d45f3c94f189b5f53a302…
Author: Moritz Kiemer <moritz.kiemer(a)checkmk.com>
Date: 2023-12-07 (Thu, 07 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 than the ones of
other items.
Change-Id: Id153271bd7c9f5b98b7c0a98a3b46aa08cb02284