summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics/files/etc/config
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-05-21 03:08:47 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-05-21 03:08:47 +0000
commit5306660d04e81b15d7338ccb3e5229ba1e6dc129 (patch)
treeab0816b5e2d7993653eb3cf682544a5571c94ad8 /applications/luci-statistics/files/etc/config
parentf77474efc7181610420681e2871186b03e0ade73 (diff)
* ffluci/statistics: add cbi models for irq, netlink and network plugins, updated menu, default config and config generator
Diffstat (limited to 'applications/luci-statistics/files/etc/config')
-rw-r--r--applications/luci-statistics/files/etc/config/luci_statistics91
1 files changed, 90 insertions, 1 deletions
diff --git a/applications/luci-statistics/files/etc/config/luci_statistics b/applications/luci-statistics/files/etc/config/luci_statistics
index 512657cdd6..19e39c720e 100644
--- a/applications/luci-statistics/files/etc/config/luci_statistics
+++ b/applications/luci-statistics/files/etc/config/luci_statistics
@@ -1,5 +1,5 @@
-config 'core' 'general'
+config 'statistics' 'general'
option 'BaseDir' '/var/run/collectd'
option 'Include' '/etc/collectd/conf.d/*.conf'
option 'PIDFile' '/var/run/collectd.pid'
@@ -8,3 +8,92 @@ config 'core' 'general'
option 'Interval' '30'
option 'ReadThreads' '5'
+config 'statistics' 'collectd_ping'
+ option 'enable' '1'
+ option 'TTL' '127'
+ option 'Hosts' '127.0.0.1'
+
+config 'statistics' 'collectd_csv'
+ option 'enable' '1'
+ option 'StoreRates' '0'
+ option 'DataDir' '/tmp'
+
+config 'statistics' 'collectd_df'
+ option 'enable' '1'
+ option 'Devices' '/dev/mtdblock/4'
+ option 'MountPoints' '/jffs'
+ option 'FSTypes' 'tmpfs'
+ option 'IgnoreSelected' '0'
+
+config 'statistics' 'collectd_disk'
+ option 'enable' '1'
+ option 'Disks' 'hda1 hdb'
+ option 'IgnoreSelected' '0'
+
+config 'statistics' 'collectd_dns'
+ option 'enable' '1'
+ option 'Interfaces' 'ffdhcp ff lan wan'
+ option 'IgnoreSources' '127.0.0.1'
+
+config 'statistics' 'collectd_email'
+ option 'enable' '1'
+ option 'SocketFile' '/var/run/collectd-email.socket'
+
+config 'statistics' 'collectd_exec'
+ option 'enable' '1'
+
+config 'collectd_exec_input'
+ option 'cmdline' '/usr/bin/stat-input-olsr'
+
+config 'collectd_exec_notify'
+ option 'cmdline' '/usr/bin/stat-output-syslog'
+
+config 'statistics' 'collectd_interface'
+ option 'enable' '1'
+ option 'Interfaces' 'ffdhcp ff lan wan'
+ option 'IgnoreSelected' '0'
+
+config 'statistics' 'collectd_iptables'
+ option 'enable' '1'
+
+config 'collectd_iptables_match'
+ option 'table' 'nat'
+ option 'chain' 'luci_freifunk_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 'table' 'nat'
+ option 'target' 'MASQUERADE'
+ option 'source' '10.61.230.0/24'
+ option 'outputif' 'br-ff'
+ option 'name' 'Verkehr WLAN-Clients'
+
+config 'statistics' 'collectd_irq'
+ option 'enable' '1'
+ option 'Irqs' '2 3 4 7'
+
+config 'statistics' 'collectd_logfile'
+ option 'enable' '1'
+ option 'LogLevel' 'notice'
+ option 'File' '/var/log/collectd.log'
+ option 'Timestamp' '1'
+
+config 'statistics' 'collectd_netlink'
+ option 'enable' '1'
+ option 'IgnoreSelected' '0'
+ option 'VerboseInterfaces' 'br-lan br-ff'
+ option 'QDiscs' 'br-lan br-ff'
+
+config 'statistics' 'collectd_network'
+ option 'enable' '1'
+
+config 'collectd_network_listen'
+ option 'host' '0.0.0.0'
+
+config 'collectd_network_server'
+ option 'host' '0.0.0.0'
+