fix(ntp): read chrony's sources in get_ntp_stats
The getter ran "chronyc tracking || ntpq -pn" and parsed ntpq's format. Proxmox VE ships chrony, so ntpq never ran and nothing matched. chrony is now read in CSV mode (sources plus sourcestats); ntpq stays the fallback and keeps peers without a tally mark. Closes #18
This commit is contained in:
1 parent
4ee74e4b3d
commit
5195cebfca
4 files changed
+207
-30
No files matched your search
@@ -61,6 +61,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
user level 15 when the ACL grants it the Administrator role on `/`, directly
|
||||
or through a group; `root@pam` is always 15. Before, practically every
|
||||
Proxmox user was level 1 (#19).
|
||||
- `get_ntp_stats()` reports chrony's sources, Proxmox VE's default, instead of
|
||||
always returning an empty list: offset in ms, the poll interval in seconds,
|
||||
the offset's standard deviation as `jitter`; chrony reports no delay, so
|
||||
`delay` is 0.0. On ntpd, a peer without tally mark is no longer dropped (#18).
|
||||
|
||||
## [0.8.0] - 2026-10-23
|
||||
|
||||
|
||||
Reference in new issue
Block a user