luci_statistics 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. # general settings
  2. config statistics 'collectd'
  3. option BaseDir '/var/run/collectd'
  4. option Include '/etc/collectd/conf.d'
  5. option PIDFile '/var/run/collectd.pid'
  6. option PluginDir '/usr/lib/collectd'
  7. option TypesDB '/usr/share/collectd/types.db'
  8. option Interval '30'
  9. option ReadThreads '2'
  10. config statistics 'rrdtool'
  11. option default_timespan '1hour'
  12. option image_width '600'
  13. option image_path '/tmp/rrdimg'
  14. # output plugins
  15. config statistics 'collectd_rrdtool'
  16. option enable '1'
  17. option DataDir '/tmp/rrd'
  18. option RRARows '100'
  19. option RRASingle '1'
  20. option RRATimespans '1hour 1day 1week 1month 1year'
  21. config statistics 'collectd_csv'
  22. option enable '0'
  23. option StoreRates '0'
  24. option DataDir '/tmp'
  25. config statistics 'collectd_email'
  26. option enable '0'
  27. option SocketFile '/var/run/collectd/email.sock'
  28. option SocketGroup 'nogroup'
  29. config statistics 'collectd_logfile'
  30. option enable '0'
  31. option LogLevel 'notice'
  32. option File '/var/log/collectd.log'
  33. option Timestamp '1'
  34. config statistics 'collectd_network'
  35. option enable '0'
  36. config statistics 'collectd_unixsock'
  37. option enable '0'
  38. option SocketFile '/var/run/collectd/query.sock'
  39. option SocketGroup 'nogroup'
  40. # input plugins
  41. config statistics 'collectd_conntrack'
  42. option enable '0'
  43. config statistics 'collectd_cpu'
  44. option enable '0'
  45. config statistics 'collectd_df'
  46. option enable '0'
  47. option Devices '/dev/mtdblock/4'
  48. option MountPoints '/jffs'
  49. option FSTypes 'tmpfs'
  50. option IgnoreSelected '0'
  51. config statistics 'collectd_disk'
  52. option enable '0'
  53. option Disks 'hda1 hdb'
  54. option IgnoreSelected '0'
  55. config statistics 'collectd_dns'
  56. option enable '0'
  57. option Interfaces 'br-lan'
  58. option IgnoreSources '127.0.0.1'
  59. config statistics 'collectd_entropy'
  60. option enable '0'
  61. config statistics 'collectd_exec'
  62. option enable '0'
  63. config statistics 'collectd_interface'
  64. option enable '1'
  65. option Interfaces 'br-lan'
  66. option IgnoreSelected '0'
  67. config statistics 'collectd_iptables'
  68. option enable '0'
  69. config collectd_iptables_match
  70. option table 'nat'
  71. option chain 'luci_fw_postrouting'
  72. option target 'MASQUERADE'
  73. option source '192.168.1.0/24'
  74. option outputif 'br-ff'
  75. option name 'LAN-Clients traffic'
  76. config collectd_iptables_match
  77. option chain 'luci_fw_postrouting'
  78. option table 'nat'
  79. option target 'MASQUERADE'
  80. option source '10.61.230.0/24'
  81. option outputif 'br-ff'
  82. option name 'WLAN-Clients traffic'
  83. config statistics 'collectd_irq'
  84. option enable '0'
  85. option Irqs '2 3 4 7'
  86. config statistics 'collectd_iwinfo'
  87. option enable '1'
  88. config statistics 'collectd_load'
  89. option enable '1'
  90. config statistics 'collectd_memory'
  91. option enable '0'
  92. config statistics 'collectd_netlink'
  93. option enable '0'
  94. option IgnoreSelected '0'
  95. option VerboseInterfaces 'br-lan'
  96. option QDiscs 'br-lan'
  97. config statistics 'collectd_nut'
  98. option enable '0'
  99. option UPS 'myupsname'
  100. config statistics 'collectd_olsrd'
  101. option enable '0'
  102. option Port '2006'
  103. option Host '127.0.0.1'
  104. config statistics 'collectd_ping'
  105. option enable '0'
  106. option TTL '127'
  107. option Interval '30'
  108. option Hosts '127.0.0.1'
  109. config statistics 'collectd_processes'
  110. option enable '0'
  111. option Processes 'uhttpd dnsmasq dropbear'
  112. config statistics 'collectd_splash_leases'
  113. option enable '0'
  114. config statistics 'collectd_tcpconns'
  115. option enable '0'
  116. option ListeningPorts '0'
  117. option LocalPorts '22 80'
  118. config statistics 'collectd_uptime'
  119. option enable '0'