Advertisement
Guest User

luci_statistics

a guest
Jan 23rd, 2012
312
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.38 KB | None | 0 0
  1. root@igreguric:~# cat /etc/config/luci_statistics
  2.  
  3. config 'statistics' 'rrdtool'
  4.     option 'default_timespan' '1hour'
  5.     option 'image_width' '600'
  6.     option 'image_path' '/tmp/rrdimg'
  7.  
  8. config 'statistics' 'collectd'
  9.     option 'BaseDir' '/var/run/collectd'
  10.     option 'Include' '/etc/collectd/conf.d'
  11.     option 'PIDFile' '/var/run/collectd.pid'
  12.     option 'PluginDir' '/usr/lib/collectd'
  13.     option 'TypesDB' '/usr/share/collectd/types.db'
  14.     option 'Interval' '30'
  15.     option 'ReadThreads' '2'
  16.  
  17. config 'statistics' 'collectd_ping'
  18.     option 'enable' '1'
  19.     option 'TTL' '127'
  20.     option 'Interval' '30'
  21.     option 'Hosts' 'dns.carnet.hr'
  22.  
  23. config 'statistics' 'collectd_csv'
  24.     option 'enable' '0'
  25.     option 'StoreRates' '0'
  26.     option 'DataDir' '/tmp'
  27.  
  28. config 'statistics' 'collectd_df'
  29.     option 'enable' '0'
  30.     option 'Devices' '/dev/mtdblock/4'
  31.     option 'MountPoints' '/jffs'
  32.     option 'FSTypes' 'tmpfs'
  33.     option 'IgnoreSelected' '0'
  34.  
  35. config 'statistics' 'collectd_disk'
  36.     option 'enable' '0'
  37.     option 'Disks' 'hda1 hdb'
  38.     option 'IgnoreSelected' '0'
  39.  
  40. config 'statistics' 'collectd_dns'
  41.     option 'enable' '0'
  42.     option 'Interfaces' 'ffdhcp ff br-lan'
  43.     option 'IgnoreSources' '127.0.0.1'
  44.  
  45. config 'statistics' 'collectd_email'
  46.     option 'enable' '0'
  47.     option 'SocketFile' '/var/run/collectd/email.sock'
  48.     option 'SocketGroup' 'nogroup'
  49.  
  50. config 'statistics' 'collectd_exec'
  51.     option 'enable' '0'
  52.  
  53. config 'statistics' 'collectd_interface'
  54.     option 'enable' '0'
  55.  
  56. config 'statistics' 'collectd_iptables'
  57.     option 'enable' '0'
  58.  
  59. config 'collectd_iptables_match'
  60.     option 'table' 'nat'
  61.     option 'chain' 'luci_fw_postrouting'
  62.     option 'target' 'MASQUERADE'
  63.     option 'source' '192.168.1.0/24'
  64.     option 'outputif' 'br-ff'
  65.     option 'name' 'Verkehr LAN-Clients'
  66.  
  67. config 'collectd_iptables_match'
  68.     option 'chain' 'luci_fw_postrouting'
  69.     option 'table' 'nat'
  70.     option 'target' 'MASQUERADE'
  71.     option 'source' '10.61.230.0/24'
  72.     option 'outputif' 'br-ff'
  73. config 'statistics' 'collectd_irq'
  74.     option 'enable' '0'
  75.     option 'Irqs' '2 3 4 7'
  76.  
  77. config 'statistics' 'collectd_load'
  78.     option 'enable' '1'
  79.  
  80. config 'statistics' 'collectd_logfile'
  81.     option 'enable' '0'
  82.     option 'LogLevel' 'notice'
  83.     option 'File' '/var/log/collectd.log'
  84.     option 'Timestamp' '1'
  85.  
  86. config 'statistics' 'collectd_netlink'
  87.     option 'enable' '0'
  88.     option 'IgnoreSelected' '0'
  89.     option 'VerboseInterfaces' 'br-lan br-ff'
  90.     option 'QDiscs' 'br-lan br-ff'
  91.  
  92. config 'statistics' 'collectd_network'
  93.     option 'enable' '0'
  94.  
  95. config 'statistics' 'collectd_processes'
  96.     option 'enable' '1'
  97.     option 'Processes' 'uhttpd dnsmasq dropbear'
  98.  
  99. config 'statistics' 'collectd_tcpconns'
  100.     option 'enable' '1'
  101.     option 'ListeningPorts' '0'
  102.     option 'LocalPorts' '22 80'
  103.  
  104. config 'statistics' 'collectd_unixsock'
  105.     option 'enable' '0'
  106.     option 'SocketFile' '/var/run/collectd/query.sock'
  107.     option 'SocketGroup' 'nogroup'
  108.  
  109. config 'statistics' 'collectd_cpu'
  110.     option 'enable' '1'
  111.  
  112. config 'statistics' 'collectd_rrdtool'
  113.     option 'enable' '1'
  114.     option 'DataDir' '/tmp'
  115.     option 'RRARows' '100'
  116.     option 'RRASingle' '1'
  117.     option 'RRATimespans' '1hour 1day 1week 1month 1year'
  118.  
  119. config 'statistics' 'collectd_memory'
  120.     option 'enable' '1'
  121.  
  122. config 'statistics' 'collectd_conntrack'
  123.     option 'enable' '1'
  124.  
  125. config 'statistics' 'collectd_olsrd'
  126.     option 'enable' '0'
  127.     option 'Port' '2006'
  128.     option 'Host' '127.0.0.1'
  129.  
  130. config 'statistics' 'collectd_iwinfo'
  131.     option 'enable' '0'
  132.     option 'IgnoreSelected' '0'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement