Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: aa56bac8cdcbb37e59a83a0067e3bf7e9f7479d9
https://github.com/tribe29/checkmk/commit/aa56bac8cdcbb37e59a83a0067e3bf7e9…
Author: Lukas Lengler <lukas.lengler(a)tribe29.com>
Date: 2021-08-23 (Mon, 23 Aug 2021)
Changed paths:
A .werks/13138
R checks/timesyncd
R cmk/base/check_legacy_includes/time.py
A cmk/base/plugins/agent_based/timesyncd.py
M cmk/base/plugins/agent_based/utils/timesync.py
R tests/unit/checks/generictests/datasets/timesyncd_no_server_regression.py
R tests/unit/checks/generictests/datasets/timesyncd_regression.py
M tests/unit/checks/test_generic_legacy_conversion.py
A tests/unit/cmk/base/plugins/agent_based/test_timesyncd.py
Log Message:
-----------
13138 FIX timesyncd: Crash (Cannot render negative timespan)
The old check would crash when host time and server time
ran out of sync.
To fix this issue the timesyncd Check was migrated to the new API.
CMK-7885
Change-Id: I4d8af0699aaaa7bc9f757e9fe9d7a50879b3f817