| Re: [chrony-users] Offsets for non tested servers |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: "Miroslav Lichvar" <mlichvar@xxxxxxxxxx>
- Subject: Re: [chrony-users] Offsets for non tested servers
- From: "Sebastien WILLEMIJNS" <sebastien@xxxxxxxxxxxxxx>
- Date: Tue, 01 Sep 2026 11:21:44 +0200
- Cc: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=willemijns.com; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm3; t=1788254527; x=1788340927; bh=sQt+T2jcw7RafD0jyLrGly9uz4j4sea3 z0+NskenQuI=; b=TYdjGWHOdXAxFqNBUwJtdKKIhByNEb/bmAut6/SxUuf/en6i hrznO9FYsh5ZkBg821XzM2P1Owo9aX2DzDitqZJiGbRhQM500j9KC2r7LGIyk20S mive91vrwwh2rgEp6qlDiIPOhGb8zlY0cKMJ1ZCTKH/BzHqtXMqzn2aUOMz4awaE FLwFCs+lMVLkxRRCWi8dRxDao03EW063eglO0o/++1JXoQapnCl7QhtoMjVRrj/b /5Ahe04IdY9P/452nTxAOnstbgOpH21iRybeFwJyYL/9zqEPgM7ObdIB5qR5izDg +95baLlpAfw5+gUWg2uu4uVLoos48tH08OG/4Q==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1788254527; x= 1788340927; bh=sQt+T2jcw7RafD0jyLrGly9uz4j4sea3z0+NskenQuI=; b=I aU7wr8vDO0Wj9EYuDBTFNFw3jzUxj3RaGtmizBfcuyiEy6H0+7FTaYeJnQ0jF7vf lxt2q+OA/+tKPZ/+JZZyCGq517tGAiQIJ+TsGnQU9qjefyeiKBsdeZzdmvt7KYOy O2z9cROkaPBx0BiDs2Cyb/MLXUhyTPOGcO/zOirv/VS6gnX2QmLqQua5l9d2hLlx K555bWmS1tYRP7nknnRkLxyya4+bBPSMXVXB3cJeNjl1jwjq1Wl4HA7y7gQfT6fZ /cfhnn6+vvA+oR7/IwM7EBWXn278UoxO44kDMryyXqTqTjpCPLd2OcANuQoGyte6 6LB8r+dprHcH7g9LjLhdQ==
- Feedback-id: i232e418f:Fastmail
On Tue, Sep 1, 2026, at 08:55, Miroslav Lichvar wrote:
> but if it started doing that now, I suspect many existing scripts parsing
> the data would fail and users would not be happy with that.
This is true too. but no scripts has kept the (near) perfect value of "+0ns"
for something with not exist... if someone wants the average of his own offsets he purged them before ^^
[code]
chronyc -N sourcestats | awk '{if ($2 == "0") print $1 " X X X X X (untested)"; else print $0}' | awk '{print $1, $7}'| awk '{printf "%-40s %s\n", $1, $2}' | sed '1d' | sed 's/us$/ micro seconds/' | sed 's/ns$/ nano seconds/'
[/code ;)]
gives at chronyc restart
ntp-pool.rdem-systems.com +1382 micro seconds
ntp-pool.rdem-systems.com (untested)
ntp-pool.rdem-systems.com +2479 micro seconds
ntp-pool.rdem-systems.com (untested)
ntp-pool.rdem-systems.com (untested)
ok so you can see than i find a workaround but it is better/more logic to permanently display "-" or a blank instead of a real fake value ;) script kiddies will make tiny changes if needed ;)
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.