[Buildroot] [git commit] collectd: add chrony plugin support

Peter Korsgaard peter at korsgaard.com
Fri Dec 23 21:33:29 UTC 2016


commit: https://git.buildroot.net/buildroot/commit/?id=81456f1e920076270b0c6aeac99c3e51fe81325d
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Add explicit support for the new chrony dependency-less plugin.

Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/collectd/Config.in   | 5 +++++
 package/collectd/collectd.mk | 1 +
 2 files changed, 6 insertions(+)

diff --git a/package/collectd/Config.in b/package/collectd/Config.in
index 72e5793..5e84aa5 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -127,6 +127,11 @@ config BR2_PACKAGE_COLLECTD_CEPH
 	help
 	  Statistics from the Ceph distributed storage system.
 
+config BR2_PACKAGE_COLLECTD_CHRONY
+	bool "chrony"
+	help
+	  Collects NTP data from the chrony NTP server.
+
 config BR2_PACKAGE_COLLECTD_CGROUPS
 	bool "cgroups"
 	help
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index 11685cd..5018fb0 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -35,6 +35,7 @@ COLLECTD_CONF_OPTS += \
 	$(if $(BR2_PACKAGE_COLLECTD_BATTERY),--enable-battery,--disable-battery) \
 	$(if $(BR2_PACKAGE_COLLECTD_BIND),--enable-bind,--disable-bind) \
 	$(if $(BR2_PACKAGE_COLLECTD_CEPH),--enable-ceph,--disable-ceph) \
+	$(if $(BR2_PACKAGE_COLLECTD_CHRONY),--enable-chrony,--disable-chrony) \
 	$(if $(BR2_PACKAGE_COLLECTD_CGROUPS),--enable-cgroups,--disable-cgroups) \
 	$(if $(BR2_PACKAGE_COLLECTD_CONNTRACK),--enable-conntrack,--disable-conntrack) \
 	$(if $(BR2_PACKAGE_COLLECTD_CONTEXTSWITCH),--enable-contextswitch,--disable-contextswitch) \


More information about the buildroot mailing list