Advertisement
Guest User

Untitled

a guest
Apr 11th, 2022
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.15 KB | None | 0 0
  1.  
  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. option FQDNLookup 'true'
  11.  
  12. config statistics 'rrdtool'
  13. option default_timespan '1hour'
  14. option image_width '600'
  15. option image_path '/tmp/rrdimg'
  16.  
  17. config statistics 'collectd_rrdtool'
  18. option enable '1'
  19. option DataDir '/tmp/rrd'
  20. option RRARows '144'
  21. option RRASingle '1'
  22. option RRATimespans '1hour 1day 1week 1month 1year'
  23.  
  24. config statistics 'collectd_csv'
  25. option enable '0'
  26.  
  27. config statistics 'collectd_email'
  28. option enable '0'
  29. option SocketFile '/var/run/collectd/email.sock'
  30. option SocketGroup 'nogroup'
  31.  
  32. config statistics 'collectd_logfile'
  33. option enable '0'
  34. option LogLevel 'notice'
  35. option File '/var/log/collectd.log'
  36. option Timestamp '1'
  37.  
  38. config statistics 'collectd_network'
  39. option enable '1'
  40. option Forward '0'
  41.  
  42. config statistics 'collectd_unixsock'
  43. option enable '0'
  44. option SocketFile '/var/run/collectd/query.sock'
  45. option SocketGroup 'nogroup'
  46.  
  47. config statistics 'collectd_apcups'
  48. option enable '0'
  49. option Host 'localhost'
  50. option Port '3551'
  51.  
  52. config statistics 'collectd_conntrack'
  53. option enable '0'
  54.  
  55. config statistics 'collectd_contextswitch'
  56. option enable '1'
  57.  
  58. config statistics 'collectd_cpu'
  59. option enable '1'
  60. option ReportByCpu '1'
  61. option ReportByState '1'
  62. option ValuesPercentage '1'
  63.  
  64. config statistics 'collectd_cpufreq'
  65. option enable '0'
  66.  
  67. config statistics 'collectd_curl'
  68. option enable '0'
  69.  
  70. config statistics 'collectd_df'
  71. option enable '0'
  72. option Devices '/dev/mtdblock/4'
  73. option MountPoints '/overlay'
  74. option FSTypes 'tmpfs'
  75. option IgnoreSelected '0'
  76.  
  77. config statistics 'collectd_disk'
  78. option Disks 'hda1 hdb'
  79. option IgnoreSelected '0'
  80. option enable '1'
  81.  
  82. config statistics 'collectd_dns'
  83. option Interfaces 'br-lan'
  84. option IgnoreSources '127.0.0.1'
  85. option enable '1'
  86.  
  87. config statistics 'collectd_entropy'
  88. option enable '0'
  89.  
  90. config statistics 'collectd_exec'
  91. option enable '0'
  92.  
  93. config statistics 'collectd_interface'
  94. option enable '1'
  95. option IgnoreSelected '0'
  96. option Interfaces 'wan br-lan'
  97.  
  98. config statistics 'collectd_iptables'
  99. option enable '1'
  100.  
  101. config collectd_iptables_match
  102. option target 'MASQUERADE'
  103. option outputif 'br-ff'
  104. option name 'LAN-Clients traffic'
  105. option table 'mangle'
  106. option chain 'iptmon_rx'
  107. option source '10.0.0.0/8'
  108.  
  109. config collectd_iptables_match
  110. option target 'MASQUERADE'
  111. option outputif 'br-ff'
  112. option name 'WLAN-Clients traffic'
  113. option table 'mangle'
  114. option chain 'iptmon_tx'
  115. option source '10.0.0.0/8'
  116.  
  117. config statistics 'collectd_irq'
  118. option enable '0'
  119. option Irqs '2 3 4 7'
  120.  
  121. config statistics 'collectd_iwinfo'
  122. option enable '1'
  123.  
  124. config statistics 'collectd_load'
  125. option enable '1'
  126.  
  127. config statistics 'collectd_memory'
  128. option enable '1'
  129. option ValuesAbsolute '1'
  130. option ValuesPercentage '1'
  131.  
  132. config statistics 'collectd_netlink'
  133. option enable '0'
  134. option IgnoreSelected '0'
  135. option VerboseInterfaces 'br-lan'
  136. option QDiscs 'br-lan'
  137.  
  138. config statistics 'collectd_nut'
  139. option enable '0'
  140. list UPS 'myupsname'
  141.  
  142. config statistics 'collectd_olsrd'
  143. option enable '0'
  144. option Port '2006'
  145. option Host '127.0.0.1'
  146.  
  147. config statistics 'collectd_openvpn'
  148. option enable '0'
  149.  
  150. config statistics 'collectd_ping'
  151. option TTL '127'
  152. option enable '1'
  153. option AddressFamily 'any'
  154. option Interval '10'
  155. option Hosts '1.1.1.1 8.8.8.8'
  156.  
  157. config statistics 'collectd_processes'
  158. option Processes 'uhttpd dnsmasq dropbear'
  159. option enable '1'
  160.  
  161. config statistics 'collectd_sensors'
  162. option enable '0'
  163.  
  164. config statistics 'collectd_splash_leases'
  165. option enable '0'
  166.  
  167. config statistics 'collectd_tcpconns'
  168. option ListeningPorts '0'
  169. option enable '1'
  170. option LocalPorts '80 22'
  171.  
  172. config statistics 'collectd_thermal'
  173. option enable '0'
  174. option IgnoreSelected '0'
  175.  
  176. config statistics 'collectd_uptime'
  177. option enable '1'
  178.  
  179. config collectd_network_server
  180. option port '25826'
  181. option host '10.1.1.1'
  182.  
  183.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement