[chrony-users] Pool vs. server without config parsing |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
Hello,
At work we're trying to write some code that sanity checks chrony config.
For IMO obvious reasons, we'd like to avoid writing our own chrony.conf
parser. As a result, we are trying to consume chronyc output.
We are can't find a way to distinguish a source that's a server vs. one
that's a pool.
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?
Thanks,
Jeff.
--
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.