summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
Diffstat (limited to 'rules')
-rw-r--r--rules/collectd.in13
-rw-r--r--rules/collectd.make3
2 files changed, 15 insertions, 1 deletions
diff --git a/rules/collectd.in b/rules/collectd.in
index c5a29d046..7d2d09017 100644
--- a/rules/collectd.in
+++ b/rules/collectd.in
@@ -2,9 +2,22 @@
menuconfig COLLECTD
tristate
+ select RRDTOOL if COLLECTD_RRDTOOL
prompt "collectd "
help
collectd is a daemon which collects system performance statistics
periodically and provides mechanisms to store the values in a
variety of ways, for example in RRD files.
+if COLLECTD
+
+comment "Write Plugins"
+
+config COLLECTD_RRDTOOL
+ bool
+ prompt "rrdtool"
+ help
+ With the RRDtool plugin, collectd writes values into a
+ round-robin database, using librrd.
+
+endif
diff --git a/rules/collectd.make b/rules/collectd.make
index 950af59fd..593b7776c 100644
--- a/rules/collectd.make
+++ b/rules/collectd.make
@@ -29,6 +29,8 @@ COLLECTD_LICENSE := GPL2
# Prepare
# ----------------------------------------------------------------------------
+COLLECTD_ENABLE-$(PTXCONF_COLLECTD_RRDTOOL) += rrdtool
+
#
# autoconf
#
@@ -127,7 +129,6 @@ COLLECTD_CONF_OPT := $(CROSS_AUTOCONF_USR) \
--disable-redis \
--disable-routeros \
--disable-rrdcached \
- --disable-rrdtool \
--disable-sensors \
--disable-serial \
--disable-sigrok \