Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: d17e58dc87c3f17536be5867cb3eb936773d2fa9
https://github.com/tribe29/checkmk/commit/d17e58dc87c3f17536be5867cb3eb9367…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2019-10-23 (Wed, 23 Oct 2019)
Changed paths:
A .werks/10296
M agents/check_mk_agent.linux
A checkman/timesyncd
M checks/ntp
A checks/time.include
A checks/timesyncd
M cmk/gui/plugins/metrics/check_mk.py
A cmk/gui/plugins/wato/check_parameters/timesyncd.py
R tests/unit/checks/generictests/datasets/ntp.py
A tests/unit/checks/generictests/datasets/ntp_regression.py
A tests/unit/checks/generictests/datasets/timesyncd_no_server_regression.py
A tests/unit/checks/generictests/datasets/timesyncd_regression.py
Log Message:
-----------
10296 timesyncd: time synchronisation check using systemd timesyncd service
This check behaves simarly to the already existing ntp check. It uses
the output of {timedatectl timesync-status} as sent by the agent. It
lists the information of the synchronised time server including the
server address, stratum, offset and jitter. On a running instance the
time is synchronised either using ntp or timesyncd. The agent therefore
determines the correct service and respective check to use.
Change-Id: Ib613003f0da39283de11fef7f4421d813329df38