summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
Diffstat (limited to 'rules')
-rw-r--r--rules/collectd.in9
-rw-r--r--rules/collectd.make2
2 files changed, 10 insertions, 1 deletions
diff --git a/rules/collectd.in b/rules/collectd.in
index a93fc56c3..1039c216f 100644
--- a/rules/collectd.in
+++ b/rules/collectd.in
@@ -28,4 +28,13 @@ config COLLECTD_RRDTOOL
With the RRDtool plugin, collectd writes values into a
round-robin database, using librrd.
+comment "Read Plugins"
+
+config COLLECTD_CPU
+ bool
+ prompt "cpu"
+ help
+ The CPU plugin collects data about what your CPU is actually doing,
+ and if it is being idle or in the various states.
+
endif
diff --git a/rules/collectd.make b/rules/collectd.make
index b6e82392c..00b5b3809 100644
--- a/rules/collectd.make
+++ b/rules/collectd.make
@@ -31,6 +31,7 @@ COLLECTD_LICENSE := GPL2
COLLECTD_ENABLE-$(PTXCONF_COLLECTD_SYSLOG) += syslog
COLLECTD_ENABLE-$(PTXCONF_COLLECTD_RRDTOOL) += rrdtool
+COLLECTD_ENABLE-$(PTXCONF_COLLECTD_CPU) += cpu
#
# autoconf
@@ -60,7 +61,6 @@ COLLECTD_CONF_OPT := $(CROSS_AUTOCONF_USR) \
--disable-conntrack \
--disable-contextswitch \
--disable-cpufreq \
- --disable-cpu \
--disable-csv \
--disable-curl \
--disable-curl_json \