From: Jo-Philipp Wich Date: Tue, 3 Jun 2008 19:18:29 +0000 (+0000) Subject: * luci/statistics: update default config X-Git-Tag: 0.8.0~898 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=be71969b763d8405e1f77152c5523d3e94f2a153;p=oweals%2Fluci.git * luci/statistics: update default config --- 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'