Re: [chrony-users] Offsets for non tested servers

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


On Mon, Aug 31, 2026 at 10:05:42PM +0200, Sebastien WILLEMIJNS wrote:
> $ chronyc sourcestats
> Name/IP Address            NP  NR  Span  Frequency  Freq Skew  Offset  Std Dev
> ==============================================================================
> 185-10-255-61.Worldline.>   0   0     0     +0.000   2000.000     +0ns  4000ms
> rtr-01.pa4.rdem-systems.>   1   0     0     +0.000   2000.000    -70ms  4000ms
> rtr-01.pa3.rdem-systems.>   0   0     0     +0.000   2000.000     +0ns  4000ms
> ns-rds.rdem-systems.com     0   0     0     +0.000   2000.000     +0ns  4000ms
> 
> If a NTP server is not (yet) used, you must not have an offset.
> 
> Let "+0ns" or any other value on this case is totally fake ! You can not have 
> a result for a thing which has been never used ^^ 
> 
> You must have a real value or nothing !

I see.

Yes, some of the values are meaningless when the number of points
(NP) is zero. The chronyd<->chronyc protocol doesn't have a way to
indicate that. Something always needs to be there and it's zero.
chronyc could be smarter and print nothing or "-" when NP is zero, 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.

-- 
Miroslav Lichvar


-- 
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.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/