* luci/statistics: update default config
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 3 Jun 2008 19:18:29 +0000 (19:18 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 3 Jun 2008 19:18:29 +0000 (19:18 +0000)
applications/luci-statistics/root/etc/config/luci_statistics

index db5bb57..072d7d6 100644 (file)
@@ -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'