aboutsummaryrefslogtreecommitdiff
path: root/package/collectd
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2016-12-21 22:59:13 -0300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2016-12-23 22:33:29 +0100
commit81456f1e920076270b0c6aeac99c3e51fe81325d (patch)
treea2cdd7c3ee2a0ce5eff9213ef06acf59f4c27431 /package/collectd
parentc7a2be68febe0b244a4edcf5b01ec3a3d129fe7e (diff)
downloadbuildroot-81456f1e920076270b0c6aeac99c3e51fe81325d.tar.gz
buildroot-81456f1e920076270b0c6aeac99c3e51fe81325d.tar.bz2
collectd: add chrony plugin support
Add explicit support for the new chrony dependency-less plugin. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/collectd')
-rw-r--r--package/collectd/Config.in5
-rw-r--r--package/collectd/collectd.mk1
2 files changed, 6 insertions, 0 deletions
diff --git a/package/collectd/Config.in b/package/collectd/Config.in
index 72e57931a5..5e84aa5c5d 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 11685cd004..5018fb0628 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) \