Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

Werk #15171: Datadog special agent: Fix time shifts when querying logs

Component Checks & agents
Title Datadog special agent: Fix time shifts when querying logs
Date Jan 11, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.1.0p20 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

When querying logs from the Datadog API, there was a shift in the time window of the query. The shift corresponded to the UTC offset of the local time zone of the monitoring server. This was caused by misinterpreting local times as UTC times.

For example, if the local time zone of the monitoring server is CET, then there was a shift of one hour into the future, causing the agent to query future logs. If the local time zone of the monitoring server is UTC, there was no shift.

To the list of all Werks