luci-app-statistics: Add initial support for chrony
authorHannu Nyman <hannu.nyman@iki.fi>
Tue, 22 Dec 2020 15:50:50 +0000 (17:50 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Tue, 22 Dec 2020 15:54:18 +0000 (17:54 +0200)
commitaf20ec8e0724e755bf6c476572ba31016ddd209a
treeeedd6287a841786b01d4bcf02b20caebb53a9ac3
parentd265b7bd6b3b25289081dbbf5e28ec4180531f83
luci-app-statistics: Add initial support for chrony

Add initial support for chrony statistics.
At this point introduce time offset and stratum stats.

There is something strange with the host option.
Anything else than 'localhost' or '127.0.0.1' causes an error at
collectd start, even when /tmp/collectd/conf is directly edited

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool/definitions/chrony.js [new file with mode: 0644]
applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/chrony.js [new file with mode: 0644]
applications/luci-app-statistics/root/etc/config/luci_statistics
applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/chrony.json [new file with mode: 0644]