Re: [chrony-users] Changing hostnames for chronyc sources and sourcestats results

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


On Wed, Nov 13, 2019 at 07:54:32PM +0000, Kohr, Alexander wrote:
> I have run into what I consider confusing operation/a bug of chronyc for the server name results it returns.  When I run chronyc sourcestats or chronyc sources the "Name/IP address" field doesn't always list the hostname/s that are entered into my chrony.conf file.

The latest code in git now has a -N option to print the original
names. For example, the output of the sources command for a pool
specified as "pool pool.ntp.org" is:

MS Name/IP address         Stratum Poll Reach LastRx Last sample               
===============================================================================
^? pool.ntp.org                  2   6     3    16  -2854us[-2854us] +/-   82ms
^? pool.ntp.org                  2   6     3    16  +1349us[+1349us] +/-   94ms
^? pool.ntp.org                  2   6     3    16  +4623us[+4623us] +/-   88ms
^? pool.ntp.org                  2   6     3    16  -1952us[-1952us] +/-   70ms

There is also a separate "sourcename" command to get the original
name.

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