You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

236 lines
6.8 KiB

  1. # netdata configuration
  2. #
  3. # You can download the latest version of this file, using:
  4. #
  5. # wget -O /etc/netdata/netdata.conf http://localhost:19999/netdata.conf
  6. # or
  7. # curl -o /etc/netdata/netdata.conf http://localhost:19999/netdata.conf
  8. #
  9. # You can uncomment and change any of the options below.
  10. # The value shown in the commented settings, is the default value.
  11. #
  12. # Notes about plugins
  13. #
  14. # tc - QoS stats (if wanted)
  15. # cgcroups - No support in OpenWRT/LEDE by default
  16. # charts.d - REQUIRES bash, enable here and edit charts.d.conf
  17. # node.d - REQUIRES node.js
  18. # python.d - REQUIRES python and PyYAML, edit python.d.conf to enable
  19. # apps - none atm
  20. # health - Disabled by default
  21. # KSM - No support in OpenWRT/LEDE by default
  22. # global netdata configuration
  23. [global]
  24. # glibc malloc arena max for plugins = 1
  25. # glibc malloc arena max for netdata = 1
  26. # config directory = /etc/netdata
  27. # plugins directory = /usr/libexec/netdata/plugins.d
  28. # web files directory = /usr/share/netdata/web
  29. # cache directory = /var/cache/netdata
  30. # lib directory = /var/lib/netdata
  31. # log directory = /var/log/netdata
  32. # host access prefix =
  33. # home directory = /var/cache/netdata
  34. # debug flags = 0x00000000
  35. memory deduplication (ksm) = no
  36. debug log = syslog
  37. error log = syslog
  38. access log = none
  39. # errors flood protection period = 1200
  40. # errors to trigger flood protection = 200
  41. memory mode = ram
  42. # hostname = LEDE
  43. # history = 3600
  44. # update every = 1
  45. update every = 2
  46. # pthread stack size = 8388608
  47. run as user = nobody
  48. web files owner = root
  49. web files group = root
  50. # http port listen backlog = 100
  51. # default port = 19999
  52. # bind to = *
  53. # multi threaded web server = yes
  54. # disconnect idle web clients after seconds = 60
  55. # respect web browser do not track policy = no
  56. enable web responses gzip compression = no
  57. # web compression strategy = default
  58. # web compression level = 3
  59. [plugins]
  60. # PATH environment variable = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
  61. tc = no
  62. # idlejitter = yes
  63. # proc = yes
  64. # diskspace = yes
  65. cgroups = no
  66. # checks = no
  67. # plugins directory = /usr/libexec/netdata/plugins.d
  68. enable running new plugins = no
  69. # check for new plugins every = 60
  70. charts.d = no
  71. # plugins directory = /usr/libexec/netdata/plugins.d
  72. node.d = no
  73. python.d = no
  74. apps = no
  75. fping = no
  76. [registry]
  77. # enabled = no
  78. # registry db directory = /var/lib/netdata/registry
  79. # netdata unique id file = /var/lib/netdata/registry/netdata.public.unique.id
  80. # registry db file = /var/lib/netdata/registry/registry.db
  81. # registry log file = /var/lib/netdata/registry/registry-log.db
  82. # registry save db every new entries = 1000000
  83. # registry expire idle persons days = 365
  84. # registry domain =
  85. # registry to announce = https://registry.my-netdata.io
  86. # registry hostname = LEDE
  87. # verify browser cookies support = yes
  88. # max URL length = 1024
  89. # max URL name length = 50
  90. [health]
  91. enabled = no
  92. # health db directory = /var/lib/netdata/health
  93. # health db file = /var/lib/netdata/health/health-log.db
  94. # health configuration directory = /etc/netdata/health.d
  95. # script to execute on alarm = /usr/libexec/netdata/plugins.d/alarm-notify.sh
  96. # in memory max health log entries = 1000
  97. # run at least every seconds = 10
  98. # rotate log every lines = 2000
  99. [backend]
  100. # enabled = no
  101. # data source = average
  102. # type = graphite
  103. # destination = localhost
  104. # prefix = netdata
  105. # hostname = LEDE
  106. # update every = 10
  107. # buffer on failures = 10
  108. # timeout ms = 20000
  109. # per plugin configuration
  110. [plugin:fping]
  111. # update every = 1
  112. # command options =
  113. [plugin:proc]
  114. # netdata server resources = yes
  115. # /proc/stat = yes
  116. # /proc/uptime = yes
  117. # /proc/loadavg = yes
  118. # /proc/sys/kernel/random/entropy_avail = yes
  119. # /proc/interrupts = yes
  120. # /proc/softirqs = yes
  121. # /proc/vmstat = yes
  122. # /proc/meminfo = yes
  123. /sys/kernel/mm/ksm = no
  124. /sys/devices/system/edac/mc = no
  125. /sys/devices/system/node = no
  126. # /proc/net/dev = yes
  127. /proc/net/netstat = no
  128. /proc/net/snmp = no
  129. /proc/net/snmp6 = no
  130. /proc/net/softnet_stat = no
  131. /proc/net/ip_vs/stats = no
  132. # /proc/net/stat/conntrack = yes
  133. /proc/net/stat/synproxy = no
  134. # /proc/diskstats = yes
  135. /proc/net/rpc/nfsd = no
  136. /proc/net/rpc/nfs = no
  137. # ipc = yes
  138. [plugin:proc:/proc/stat]
  139. # cpu utilization = yes
  140. # per cpu core utilization = yes
  141. # cpu interrupts = yes
  142. # context switches = yes
  143. # processes started = yes
  144. # processes running = yes
  145. # filename to monitor = /proc/stat
  146. [plugin:proc:/proc/interrupts]
  147. # interrupts per core = yes
  148. # filename to monitor = /proc/interrupts
  149. [plugin:proc:/proc/softirqs]
  150. # interrupts per core = yes
  151. # filename to monitor = /proc/softirqs
  152. [plugin:proc:/proc/net/dev]
  153. # enable new interfaces detected at runtime = auto
  154. # bandwidth for all interfaces = auto
  155. # packets for all interfaces = auto
  156. # errors for all interfaces = auto
  157. # drops for all interfaces = auto
  158. # fifo for all interfaces = auto
  159. # compressed packets for all interfaces = auto
  160. # frames, collisions, carrier counters for all interfaces = auto
  161. # disable by default interfaces matching = lo fireqos* *-ifb
  162. # filename to monitor = /proc/net/dev
  163. [plugin:proc:/proc/net/dev:eth0]
  164. # enabled = yes
  165. # bandwidth = auto
  166. # packets = auto
  167. # errors = auto
  168. # drops = auto
  169. # fifo = auto
  170. # compressed = auto
  171. # events = auto
  172. [plugin:proc:/proc/diskstats]
  173. # enable new disks detected at runtime = yes
  174. # performance metrics for physical disks = auto
  175. # performance metrics for virtual disks = auto
  176. # performance metrics for partitions = no
  177. # bandwidth for all disks = auto
  178. # operations for all disks = auto
  179. # merged operations for all disks = auto
  180. # i/o time for all disks = auto
  181. # queued operations for all disks = auto
  182. # utilization percentage for all disks = auto
  183. # backlog for all disks = auto
  184. # filename to monitor = /proc/diskstats
  185. # path to get block device infos = /sys/dev/block/%lu:%lu/%s
  186. # path to get h/w sector size = /sys/block/%s/queue/hw_sector_size
  187. # path to get h/w sector size for partitions = /sys/dev/block/%lu:%lu/subsystem/%s/../queue/hw_sector_size
  188. # performance metrics for disks with major 8 = yes
  189. [plugin:proc:/proc/diskstats:sda]
  190. # enable = yes
  191. # enable performance metrics = yes
  192. # bandwidth = auto
  193. # operations = auto
  194. # merged operations = auto
  195. # i/o time = auto
  196. # queued operations = auto
  197. # utilization percentage = auto
  198. # backlog = auto
  199. [plugin:proc:/proc/net/rpc/nfsd]
  200. # filename to monitor = /proc/net/rpc/nfsd
  201. # read cache = yes
  202. # file handles = yes
  203. # I/O = yes
  204. # threads = yes
  205. # read ahead = yes
  206. # network = yes
  207. # rpc = yes
  208. # NFS v2 procedures = yes
  209. # NFS v3 procedures = yes
  210. # NFS v4 procedures = yes
  211. # NFS v4 operations = yes
  212. [plugin:proc:/proc/net/rpc/nfs]
  213. # filename to monitor = /proc/net/rpc/nfs
  214. # network = yes
  215. # rpc = yes
  216. # NFS v2 procedures = yes
  217. # NFS v3 procedures = yes
  218. # NFS v4 procedures = yes