Skip to content

v3.0.0

Compare
Choose a tag to compare
@paulgear paulgear released this 27 Dec 11:21
· 63 commits to main since this release
v3.0.0
d91e94e

https://www.libertysys.com.au/2023/12/an-update-on-ntpmon/

What's Changed

  • Added individual peer stats (derived from chronyd's measurements.log or ntpd's peerstats) to metrics output. These are automatically detected in the default locations of /var/log/chrony/measurements.log and /var/log/ntpstats/peerstats and emitted automatically to telegraf or the prometheus exporter.
  • Added --logfile command line option to allow changing the above defaults.
  • Reformatted all code with 'black' (see Makefile 'format' target). Please use this Makefile target before submitting any pull requests.
  • Updated license to AGPLv3.
  • Removed trace-related metrics.
  • Removed juju layer.
  • Clean up internal structure:
    • outputs.py now provides a class structure for encapsulating knowledge about collectd, prometheus, and telegraf
    • alert.py and ntpmon.py no longer have special casing for the mode
    • all argument processing and defaults selection is done in get_args()
  • Some collectd data types have been updated to reflect the defaults available in version 5.12. I'm considering deprecating collectd support in a near future version. If you are using ntpmon with collectd and would prefer this support not to go away, please let me know.

Full change set: v2.1.0...v3.0.0