Re: [chrony-users] Indication / notification that chrony is synched with an ntp source successfully using chronyc |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Indication / notification that chrony is synched with an ntp source successfully using chronyc
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Tue, 22 Oct 2019 15:44:53 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1571751899; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ePomhG+ZY1878HjWrRfdoVG3sFEUzI83wXI2uHDRfzg=; b=Kg/eKzdoUWmsP36jhbw3NNv3N6hUmQf8YO4+xyq+Ly05lDo6ebN+2u40btv5MGfSQmVfmt l1uzLXvghZhZn7HLbEZpF0Kuu4/n9BYKpcDJn7Cnkgp9zw8c2W3UM932DyFwgqgj+/H42a 0BXH5UE80TEbWD8/MHF2SaeWVw3YO7g=
On Tue, Oct 22, 2019 at 01:30:52PM +0000, Philipp Hofstetter wrote:
> If we somehow could recognize that there was a time correction with a bigger value than the one configured in the makestep config (1s in our case), we would then know that there was a time step and react appropriately (e.g. restart our daemons). That is then independent of the number of time synchronizations configured for makestep.
>
> Could the tracking log be used to see that information? Does column 7 ("The estimated local offset at the epoch..") or column 11 ("The remaining offset correction from the previous update") hold that information?
The difference between column 7 and 11 is the value that's compared
with the step threshold.