get_ntp_stats is always empty on chrony nodes #18

Closed
opened 2026-10-14 08:58:51 +00:00 by christianmanivong · 0 comments
Owner

system_mixin.py ~99-130 runs chronyc -n tracking || ntpq -pn and parses the output with an ntpq-format regex. PVE ships chrony, so chronyc succeeds, ntpq never runs, and nothing matches. line.strip() also removes the tally column the regex expects. Fix: parse chrony's output (openwrt has _parse_chronyc; both move to napalm-unix).

Prio P3.

`system_mixin.py` ~99-130 runs `chronyc -n tracking || ntpq -pn` and parses the output with an ntpq-format regex. PVE ships chrony, so `chronyc` succeeds, `ntpq` never runs, and nothing matches. `line.strip()` also removes the tally column the regex expects. Fix: parse chrony's output (openwrt has `_parse_chronyc`; both move to napalm-unix). Prio P3.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: NAPALM/napalm-proxmox#18