Re: Pool vs. server without config parsing
Miroslav Lichvar <[email protected]> Mon, 24 Jun 2024 11:54:47 +0200
| Newsgroups | gmane.comp.time.chrony.user |
|---|---|
| Message-ID | <ZnlCZwHcQ4-fwOee@localhost> |
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-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org with "unsubscribe" in the subject. For help email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org with "help" in the subject. Trouble? Email [email protected]