Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 8b4e6322a3a8b63c0e86399c0d5e3e50ee8c7195
https://github.com/tribe29/checkmk/commit/8b4e6322a3a8b63c0e86399c0d5e3e50e…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M checks/agent_datadog
M cmk/gui/plugins/wato/datasource_programs.py
M cmk/special_agents/agent_datadog.py
M tests/unit/checks/test_agent_datadog.py
M tests/unit/cmk/special_agents/test_agent_datadog_.py
Log Message:
-----------
Datadog special agent: rework mechanism for fetching events
Up to now, the agent remembered the last point in time when it fetched
events and used this timestamp as a new starting point for fetching new
events. It turned out that this can lead to missing events.
Now, the agent fetches all events younger that a set maximum age.
Furthermore, it memorizes the ids of the last fetched events and only
forwards events it hasn't seen yet.
SUP-7487
Change-Id: I0cfbef1be2ee00a70d87995982d0fb9598ed1c1a