Merge pull request #456 from hnyman/stat-config
statistics: cleanup default configuration
This commit is contained in:
commit
478bb37a45
1 changed files with 123 additions and 116 deletions
|
@ -1,146 +1,153 @@
|
||||||
config 'statistics' 'rrdtool'
|
# general settings
|
||||||
option 'default_timespan' '1hour'
|
|
||||||
option 'image_width' '600'
|
|
||||||
option 'image_path' '/tmp/rrdimg'
|
|
||||||
|
|
||||||
config 'statistics' 'collectd'
|
config statistics 'collectd'
|
||||||
option 'BaseDir' '/var/run/collectd'
|
option BaseDir '/var/run/collectd'
|
||||||
option 'Include' '/etc/collectd/conf.d'
|
option Include '/etc/collectd/conf.d'
|
||||||
option 'PIDFile' '/var/run/collectd.pid'
|
option PIDFile '/var/run/collectd.pid'
|
||||||
option 'PluginDir' '/usr/lib/collectd'
|
option PluginDir '/usr/lib/collectd'
|
||||||
option 'TypesDB' '/usr/share/collectd/types.db'
|
option TypesDB '/usr/share/collectd/types.db'
|
||||||
option 'Interval' '30'
|
option Interval '30'
|
||||||
option 'ReadThreads' '2'
|
option ReadThreads '2'
|
||||||
|
|
||||||
config 'statistics' 'collectd_ping'
|
config statistics 'rrdtool'
|
||||||
option 'enable' '0'
|
option default_timespan '1hour'
|
||||||
option 'TTL' '127'
|
option image_width '600'
|
||||||
option 'Interval' '30'
|
option image_path '/tmp/rrdimg'
|
||||||
option 'Hosts' '127.0.0.1'
|
|
||||||
|
|
||||||
config 'statistics' 'collectd_csv'
|
# output plugins
|
||||||
option 'enable' '0'
|
|
||||||
option 'StoreRates' '0'
|
|
||||||
option 'DataDir' '/tmp'
|
|
||||||
|
|
||||||
config 'statistics' 'collectd_df'
|
config statistics 'collectd_rrdtool'
|
||||||
option 'enable' '0'
|
option enable '1'
|
||||||
option 'Devices' '/dev/mtdblock/4'
|
option DataDir '/tmp/rrd'
|
||||||
option 'MountPoints' '/jffs'
|
option RRARows '100'
|
||||||
option 'FSTypes' 'tmpfs'
|
option RRASingle '1'
|
||||||
option 'IgnoreSelected' '0'
|
option RRATimespans '1hour 1day 1week 1month 1year'
|
||||||
|
|
||||||
config 'statistics' 'collectd_disk'
|
config statistics 'collectd_csv'
|
||||||
option 'enable' '0'
|
option enable '0'
|
||||||
option 'Disks' 'hda1 hdb'
|
option StoreRates '0'
|
||||||
option 'IgnoreSelected' '0'
|
option DataDir '/tmp'
|
||||||
|
|
||||||
config 'statistics' 'collectd_dns'
|
config statistics 'collectd_email'
|
||||||
option 'enable' '0'
|
option enable '0'
|
||||||
option 'Interfaces' 'ffdhcp ff br-lan'
|
option SocketFile '/var/run/collectd/email.sock'
|
||||||
option 'IgnoreSources' '127.0.0.1'
|
option SocketGroup 'nogroup'
|
||||||
|
|
||||||
config 'statistics' 'collectd_email'
|
config statistics 'collectd_logfile'
|
||||||
option 'enable' '0'
|
option enable '0'
|
||||||
option 'SocketFile' '/var/run/collectd/email.sock'
|
option LogLevel 'notice'
|
||||||
option 'SocketGroup' 'nogroup'
|
option File '/var/log/collectd.log'
|
||||||
|
option Timestamp '1'
|
||||||
|
|
||||||
config 'statistics' 'collectd_entropy'
|
config statistics 'collectd_network'
|
||||||
option 'enable' '0'
|
option enable '0'
|
||||||
|
|
||||||
config 'statistics' 'collectd_exec'
|
config statistics 'collectd_unixsock'
|
||||||
option 'enable' '0'
|
option enable '0'
|
||||||
|
option SocketFile '/var/run/collectd/query.sock'
|
||||||
|
option SocketGroup 'nogroup'
|
||||||
|
|
||||||
config 'statistics' 'collectd_interface'
|
# input plugins
|
||||||
option 'enable' '1'
|
|
||||||
option 'Interfaces' 'br-lan br-ff'
|
|
||||||
option 'IgnoreSelected' '0'
|
|
||||||
|
|
||||||
config 'statistics' 'collectd_iptables'
|
config statistics 'collectd_conntrack'
|
||||||
option 'enable' '1'
|
option enable '0'
|
||||||
|
|
||||||
config 'collectd_iptables_match'
|
config statistics 'collectd_cpu'
|
||||||
option 'table' 'nat'
|
option enable '0'
|
||||||
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'
|
config statistics 'collectd_df'
|
||||||
option 'chain' 'luci_fw_postrouting'
|
option enable '0'
|
||||||
option 'table' 'nat'
|
option Devices '/dev/mtdblock/4'
|
||||||
option 'target' 'MASQUERADE'
|
option MountPoints '/jffs'
|
||||||
option 'source' '10.61.230.0/24'
|
option FSTypes 'tmpfs'
|
||||||
option 'outputif' 'br-ff'
|
option IgnoreSelected '0'
|
||||||
option 'name' 'Verkehr WLAN-Clients'
|
|
||||||
|
|
||||||
config 'statistics' 'collectd_irq'
|
config statistics 'collectd_disk'
|
||||||
option 'enable' '0'
|
option enable '0'
|
||||||
option 'Irqs' '2 3 4 7'
|
option Disks 'hda1 hdb'
|
||||||
|
option IgnoreSelected '0'
|
||||||
|
|
||||||
config 'statistics' 'collectd_load'
|
config statistics 'collectd_dns'
|
||||||
option 'enable' '1'
|
option enable '0'
|
||||||
|
option Interfaces 'br-lan'
|
||||||
|
option IgnoreSources '127.0.0.1'
|
||||||
|
|
||||||
config 'statistics' 'collectd_logfile'
|
config statistics 'collectd_entropy'
|
||||||
option 'enable' '0'
|
option enable '0'
|
||||||
option 'LogLevel' 'notice'
|
|
||||||
option 'File' '/var/log/collectd.log'
|
|
||||||
option 'Timestamp' '1'
|
|
||||||
|
|
||||||
config 'statistics' 'collectd_netlink'
|
config statistics 'collectd_exec'
|
||||||
option 'enable' '0'
|
option enable '0'
|
||||||
option 'IgnoreSelected' '0'
|
|
||||||
option 'VerboseInterfaces' 'br-lan br-ff'
|
|
||||||
option 'QDiscs' 'br-lan br-ff'
|
|
||||||
|
|
||||||
config 'statistics' 'collectd_network'
|
config statistics 'collectd_interface'
|
||||||
option 'enable' '0'
|
option enable '1'
|
||||||
|
option Interfaces 'br-lan'
|
||||||
|
option IgnoreSelected '0'
|
||||||
|
|
||||||
config 'statistics' 'collectd_processes'
|
config statistics 'collectd_iptables'
|
||||||
option 'enable' '1'
|
option enable '0'
|
||||||
option 'Processes' 'uhttpd dnsmasq dropbear'
|
|
||||||
|
|
||||||
config statistics 'collectd_splash_leases'
|
config collectd_iptables_match
|
||||||
|
option table 'nat'
|
||||||
|
option chain 'luci_fw_postrouting'
|
||||||
|
option target 'MASQUERADE'
|
||||||
|
option source '192.168.1.0/24'
|
||||||
|
option outputif 'br-ff'
|
||||||
|
option name 'LAN-Clients traffic'
|
||||||
|
|
||||||
|
config collectd_iptables_match
|
||||||
|
option chain 'luci_fw_postrouting'
|
||||||
|
option table 'nat'
|
||||||
|
option target 'MASQUERADE'
|
||||||
|
option source '10.61.230.0/24'
|
||||||
|
option outputif 'br-ff'
|
||||||
|
option name 'WLAN-Clients traffic'
|
||||||
|
|
||||||
|
config statistics 'collectd_irq'
|
||||||
|
option enable '0'
|
||||||
|
option Irqs '2 3 4 7'
|
||||||
|
|
||||||
|
config statistics 'collectd_iwinfo'
|
||||||
option enable '1'
|
option enable '1'
|
||||||
|
|
||||||
config 'statistics' 'collectd_tcpconns'
|
config statistics 'collectd_load'
|
||||||
option 'enable' '1'
|
option enable '1'
|
||||||
option 'ListeningPorts' '0'
|
|
||||||
option 'LocalPorts' '22 80'
|
|
||||||
|
|
||||||
config 'statistics' 'collectd_unixsock'
|
config statistics 'collectd_memory'
|
||||||
option 'enable' '0'
|
option enable '0'
|
||||||
option 'SocketFile' '/var/run/collectd/query.sock'
|
|
||||||
option 'SocketGroup' 'nogroup'
|
|
||||||
|
|
||||||
config 'statistics' 'collectd_cpu'
|
config statistics 'collectd_netlink'
|
||||||
option 'enable' '1'
|
option enable '0'
|
||||||
|
option IgnoreSelected '0'
|
||||||
|
option VerboseInterfaces 'br-lan'
|
||||||
|
option QDiscs 'br-lan'
|
||||||
|
|
||||||
config 'statistics' 'collectd_rrdtool'
|
config statistics 'collectd_nut'
|
||||||
option 'enable' '1'
|
option enable '0'
|
||||||
option 'DataDir' '/tmp/rrd'
|
option UPS 'myupsname'
|
||||||
option 'RRARows' '100'
|
|
||||||
option 'RRASingle' '1'
|
|
||||||
option 'RRATimespans' '1hour 1day 1week 1month 1year'
|
|
||||||
|
|
||||||
config 'statistics' 'collectd_memory'
|
config statistics 'collectd_olsrd'
|
||||||
option 'enable' '1'
|
option enable '0'
|
||||||
|
option Port '2006'
|
||||||
|
option Host '127.0.0.1'
|
||||||
|
|
||||||
config 'statistics' 'collectd_conntrack'
|
config statistics 'collectd_ping'
|
||||||
option 'enable' '1'
|
option enable '0'
|
||||||
|
option TTL '127'
|
||||||
|
option Interval '30'
|
||||||
|
option Hosts '127.0.0.1'
|
||||||
|
|
||||||
config 'statistics' 'collectd_olsrd'
|
config statistics 'collectd_processes'
|
||||||
option 'enable' '1'
|
option enable '0'
|
||||||
option 'Port' '2006'
|
option Processes 'uhttpd dnsmasq dropbear'
|
||||||
option 'Host' '127.0.0.1'
|
|
||||||
|
|
||||||
config 'statistics' 'collectd_iwinfo'
|
config statistics 'collectd_splash_leases'
|
||||||
option 'enable' '1'
|
option enable '0'
|
||||||
|
|
||||||
config 'statistics' 'collectd_nut'
|
config statistics 'collectd_tcpconns'
|
||||||
option 'enable' '0'
|
option enable '0'
|
||||||
option 'UPS' 'myupsname'
|
option ListeningPorts '0'
|
||||||
|
option LocalPorts '22 80'
|
||||||
|
|
||||||
|
config statistics 'collectd_uptime'
|
||||||
|
option enable '0'
|
||||||
|
|
||||||
config 'statistics' 'collectd_uptime'
|
|
||||||
option 'enable' '1'
|
|
||||||
|
|
Loading…
Reference in a new issue