mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-11-25 19:47:02 +00:00
With Debian 10 the command "ntpq -c iostats -c sysstats" produces one empty line.
The additional if condition tackles this.
Traceback (most recent call last):
File "/etc/munin/plugins/ntp_packets", line 91, in <module>
stats[line.split(':')[0]] = int(line.split(':')[1])
IndexError: list index out of range
|
||
|---|---|---|
| .. | ||
| ntp_drift | ||
| ntp_kernel_pll_prec | ||
| ntp_kernel_pll_tol | ||
| ntp_packets | ||
| ntp_peers | ||
| ntp_peers_ipv6 | ||
| ntp_pool_score_ | ||
| ntp_queries | ||
| ntpdate_ | ||