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 <hannu.nyman@iki.fi>
This commit is contained in:
Hannu Nyman 2016-09-04 13:18:59 +03:00
parent d5f8c9b028
commit a69bd4202e
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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'