summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-06-03 19:18:29 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-06-03 19:18:29 +0000
commitbe71969b763d8405e1f77152c5523d3e94f2a153 (patch)
tree272e41e05c87d5cae85787a4bdafec27d75ffd5b /applications/luci-statistics
parent5c1fe0e544a90d499c8d1091f6259ef913214c3b (diff)
* luci/statistics: update default config
Diffstat (limited to 'applications/luci-statistics')
-rw-r--r--applications/luci-statistics/root/etc/config/luci_statistics20
1 files changed, 14 insertions, 6 deletions
diff --git a/applications/luci-statistics/root/etc/config/luci_statistics b/applications/luci-statistics/root/etc/config/luci_statistics
index db5bb577e..072d7d67c 100644
--- a/applications/luci-statistics/root/etc/config/luci_statistics
+++ b/applications/luci-statistics/root/etc/config/luci_statistics
@@ -1,3 +1,8 @@
+config 'statistics' 'rrdtool'
+ option 'default_timespan' '1hour'
+ option 'image_width' '400'
+ option 'image_path' '/tmp/rrdimg'
+
config 'statistics' 'collectd'
option 'BaseDir' '/var/run/collectd'
option 'Include' '/etc/collectd/conf.d'
@@ -58,14 +63,14 @@ config 'statistics' 'collectd_iptables'
config 'collectd_iptables_match'
option 'table' 'nat'
- option 'chain' 'luci_freifunk_postrouting'
+ option 'chain' 'luci_fw_postrouting'
option 'target' 'MASQUERADE'
option 'source' '192.168.1.0/24'
option 'outputif' 'br-ff'
option 'name' 'Verkehr LAN-Clients'
config 'collectd_iptables_match'
- option 'chain' 'luci_freifunk_postrouting'
+ option 'chain' 'luci_fw_postrouting'
option 'table' 'nat'
option 'target' 'MASQUERADE'
option 'source' '10.61.230.0/24'
@@ -83,7 +88,7 @@ config 'statistics' 'collectd_logfile'
option 'Timestamp' '1'
config 'statistics' 'collectd_netlink'
- option 'enable' '1'
+ option 'enable' '0'
option 'IgnoreSelected' '0'
option 'VerboseInterfaces' 'br-lan br-ff'
option 'QDiscs' 'br-lan br-ff'
@@ -103,7 +108,7 @@ config 'statistics' 'collectd_processes'
config 'statistics' 'collectd_tcpconns'
option 'enable' '1'
option 'ListeningPorts' '0'
- option 'LocalPorts' '22 80 443'
+ option 'LocalPorts' '22 80'
config 'statistics' 'collectd_unixsock'
option 'enable' '0'
@@ -113,9 +118,12 @@ config 'statistics' 'collectd_unixsock'
config 'statistics' 'collectd_wireless'
option 'enable' '1'
+config 'statistics' 'collectd_cpu'
+ option 'enable' '1'
+
config 'statistics' 'collectd_rrdtool'
option 'enable' '1'
option 'DataDir' '/tmp'
option 'RRARows' '100'
- option 'RRASingle' '0'
- option 'RRATimespans' '600 86400 604800 2678400'
+ option 'RRASingle' '1'
+ option 'RRATimespans' '10min 1hour 1day 1week 1month 1year'