luci_statistics 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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_apcups'
  42. option enable '0'
  43. option Host 'localhost'
  44. option Port '3551'
  45. config statistics 'collectd_conntrack'
  46. option enable '0'
  47. config statistics 'collectd_contextswitch'
  48. option enable '0'
  49. config statistics 'collectd_cpu'
  50. option enable '1'
  51. config statistics 'collectd_cpufreq'
  52. option enable '0'
  53. config statistics 'collectd_curl'
  54. option enable '0'
  55. config statistics 'collectd_df'
  56. option enable '0'
  57. option Devices '/dev/mtdblock/4'
  58. option MountPoints '/jffs'
  59. option FSTypes 'tmpfs'
  60. option IgnoreSelected '0'
  61. config statistics 'collectd_disk'
  62. option enable '0'
  63. option Disks 'hda1 hdb'
  64. option IgnoreSelected '0'
  65. config statistics 'collectd_dns'
  66. option enable '0'
  67. option Interfaces 'br-lan'
  68. option IgnoreSources '127.0.0.1'
  69. config statistics 'collectd_entropy'
  70. option enable '0'
  71. config statistics 'collectd_exec'
  72. option enable '0'
  73. config statistics 'collectd_interface'
  74. option enable '1'
  75. option Interfaces 'br-lan'
  76. option IgnoreSelected '0'
  77. config statistics 'collectd_iptables'
  78. option enable '0'
  79. config collectd_iptables_match
  80. option table 'nat'
  81. option chain 'luci_fw_postrouting'
  82. option target 'MASQUERADE'
  83. option source '192.168.1.0/24'
  84. option outputif 'br-ff'
  85. option name 'LAN-Clients traffic'
  86. config collectd_iptables_match
  87. option chain 'luci_fw_postrouting'
  88. option table 'nat'
  89. option target 'MASQUERADE'
  90. option source '10.61.230.0/24'
  91. option outputif 'br-ff'
  92. option name 'WLAN-Clients traffic'
  93. config statistics 'collectd_irq'
  94. option enable '0'
  95. option Irqs '2 3 4 7'
  96. config statistics 'collectd_iwinfo'
  97. option enable '1'
  98. config statistics 'collectd_load'
  99. option enable '1'
  100. config statistics 'collectd_memory'
  101. option enable '1'
  102. config statistics 'collectd_netlink'
  103. option enable '0'
  104. option IgnoreSelected '0'
  105. option VerboseInterfaces 'br-lan'
  106. option QDiscs 'br-lan'
  107. config statistics 'collectd_nut'
  108. option enable '0'
  109. option UPS 'myupsname'
  110. config statistics 'collectd_olsrd'
  111. option enable '0'
  112. option Port '2006'
  113. option Host '127.0.0.1'
  114. config statistics 'collectd_ping'
  115. option enable '0'
  116. option TTL '127'
  117. option Interval '30'
  118. option Hosts '127.0.0.1'
  119. config statistics 'collectd_processes'
  120. option enable '0'
  121. option Processes 'uhttpd dnsmasq dropbear'
  122. config statistics 'collectd_sensors'
  123. option enable '0'
  124. config statistics 'collectd_splash_leases'
  125. option enable '0'
  126. config statistics 'collectd_tcpconns'
  127. option enable '0'
  128. option ListeningPorts '0'
  129. option LocalPorts '22 80'
  130. config statistics 'collectd_thermal'
  131. option enable '0'
  132. option IgnoreSelected '0'
  133. option Device ''
  134. config statistics 'collectd_uptime'
  135. option enable '0'