RE: [chrony-users] Checking if chrony is synchronized

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


Hello Miroslav,

Thank you for quick response.
None of the sources are specified with trust option. Do you have any idea why I get this status?
If i understand you correctly, I must use "chronyc tracking" and field Reference ID for status of local clock synchronization. 

Thank you for your help.
Primož Sfiligoj


-----Original Message-----
From: Miroslav Lichvar [mailto:mlichvar@xxxxxxxxxx] 
Sent: Tuesday, January 28, 2020 10:09 AM
To: chrony-users@xxxxxxxxxxxxxxxxxxxx
Subject: Re: [chrony-users] Checking if chrony is synchronized

On Tue, Jan 28, 2020 at 08:57:49AM +0000, Primož Sfiligoj wrote:
> ^x IPADDRESS1                1  10   377   384   -110us[  -93us] +/-  521us
> ^x IPADDRESS2                 1   9   377   336  +1067us[+1067us] +/-  710us
> ^- IPADDRESS3                 1  10   377   504   -264us[ -247us] +/-  709us]
> 
> I get >x< indicates a clock which chronyd thinks is a falseticker or >-<  not combined, and in this case I am not certain if server is in synch.

That's an interesting example. Is the third source specified with the trust option?

> Can you please advice me how you know, without doubt, that server is synchronised with at least one source.

It depends on what exactly you mean by being synchronized with a source. The characters in the source output indicate the selection status, whether the source is currently used for synchronization of the local clock. If it's not, it doesn't mean the local clock is no longer synchronized. For synchronization status of the local clock there is the tracking command.

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