From: Hannu Nyman Date: Sun, 4 Sep 2016 10:18:59 +0000 (+0300) Subject: luci-app-statistics: Add cpu and memory plugins to the default set X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=a69bd4202ecb92ceb009b7f4e5b9fd60328389ab 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 --- 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'