From a69bd4202ecb92ceb009b7f4e5b9fd60328389ab Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Sun, 4 Sep 2016 13:18:59 +0300 Subject: [PATCH] luci-app-statistics: Add cpu and memory plugins to the default set Add cpu and memory statistics plugins to the default set included in Luci statistics and enable them in the default config. They are useful small collectd plugins for resource usage monitoring. Signed-off-by: Hannu Nyman --- applications/luci-app-statistics/Makefile | 1 + applications/luci-app-statistics/root/etc/config/luci_statistics | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/applications/luci-app-statistics/Makefile b/applications/luci-app-statistics/Makefile index af07cfbd0..6c0121e96 100644 --- a/applications/luci-app-statistics/Makefile +++ b/applications/luci-app-statistics/Makefile @@ -9,6 +9,7 @@ include $(TOPDIR)/rules.mk LUCI_TITLE:=LuCI Statistics Application LUCI_DEPENDS:= \ +collectd +rrdtool1 +collectd-mod-rrdtool +collectd-mod-iwinfo \ + +collectd-mod-cpu +collectd-mod-memory \ +collectd-mod-interface +collectd-mod-load +collectd-mod-network include ../../luci.mk diff --git a/applications/luci-app-statistics/root/etc/config/luci_statistics b/applications/luci-app-statistics/root/etc/config/luci_statistics index de16f29de..4435d5c61 100644 --- a/applications/luci-app-statistics/root/etc/config/luci_statistics +++ b/applications/luci-app-statistics/root/etc/config/luci_statistics @@ -53,7 +53,7 @@ config statistics 'collectd_conntrack' option enable '0' config statistics 'collectd_cpu' - option enable '0' + option enable '1' config statistics 'collectd_df' option enable '0' @@ -113,7 +113,7 @@ config statistics 'collectd_load' option enable '1' config statistics 'collectd_memory' - option enable '0' + option enable '1' config statistics 'collectd_netlink' option enable '0' -- 2.11.0