Re: [chrony-users] Pool vs. server without config parsing

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


On Fri, Jun 21, 2024 at 10:05:27AM -0400, Josef 'Jeff' Sipek wrote:
> That is, when we see 3 sources in `chronyc sources` we can't find a way to
> tell if we are looking at 3 servers or a pool of 3.  The closest thing we
> came up with is to use `chronyc sourcename` for each source, and try to
> collate the results, but this seems hacky/fragile.
> 
> Is there a way to distinguish the two scenarios?

No, that information is not exposed. When a pool reaches the
maxsources number of servers, it behaves same as if a server
was repeated maxsources times in the config.

It's not very clear to me how would that help you. There could be an
unexpected script adding or removing sources with the chronyc
add/delete command, or the reload sources command (e.g. DHCP hook).

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