Re: [chrony-users] Changing hostnames for chronyc sources and sourcestats results |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Changing hostnames for chronyc sources and sourcestats results
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Mon, 25 Nov 2019 09:49:27 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574671773; 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=eAU5ind7DSfEZKO6veyGwuPNznABA7uhfhB/E8CDnns=; b=dBNEVlaPGcTkG8kkkdZFRkD+4/2Brbcanb8Xpek4hB+3aKkN54R4+toovflapA+eyob3U/ G08MQwktgcHhpj73k7ktR7jJ3LPYrLm4luoutyOP/WvXSL4zszh4NWU5mPeeldQb2UkmBY /w4STrawEYRixCBu9HsZau3ltzMQK3k=
On Wed, Nov 20, 2019 at 08:51:17PM +0000, Kohr, Alexander wrote:
> For those that want to show both the hostname and the IP address for instance in the case where you have a pool of IP addresses for just one hostname like 0.centos.pool.ntp.org, maybe you could use a -l for long flag to allow both the Name/IP Address field to show both a hostname and specific IP address you are connecting to, along with any other changes to that output that would need to be made when flags like -4 or -6 are also invoked.
Do you think it would make sense to have a new command like "ntpnames"
to display both the addresses and hostnames, without any other data?
> Thank you, for your time and consideration and for any future changes you may make to future versions to show the as configured on launch information in the Names/IP addresses and the possibility of showing both an IP address and a hostname.
Thank you for your input.
In the experimental NTS code I'm working on, each NTP source remembers
its hostname from the configuration. So, we just need to make it
available to chronyc (e.g. a new command to return the name for an IP
address or index) and then add an option to display it.
--
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.