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.

121 lines
4.1 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. # global netdata configuration
  13. [global]
  14. # glibc malloc arena max for plugins = 1
  15. # hostname = LEDE
  16. # history = 4036
  17. update every = 2
  18. # config directory = /etc/netdata
  19. # log directory = /var/log/netdata
  20. # web files directory = /usr/share/netdata/web
  21. # cache directory = /var/cache/netdata
  22. # lib directory = /var/lib/netdata
  23. # home directory = /var/cache/netdata
  24. # plugins directory = "/usr/lib/netdata/plugins.d" "/etc/netdata/custom-plugins.d"
  25. # memory mode = save
  26. # host access prefix =
  27. memory deduplication (ksm) = no
  28. # TZ environment variable = :/etc/localtime
  29. # timezone = UTC
  30. # debug flags = 0x0000000000000000
  31. debug log = syslog
  32. error log = syslog
  33. access log = none
  34. # errors flood protection period = 1200
  35. # errors to trigger flood protection = 200
  36. run as user = root
  37. # OOM score = 1000
  38. # process scheduling policy = idle
  39. # process nice level = 19
  40. # pthread stack size = 81920
  41. # cleanup obsolete charts after seconds = 3600
  42. # gap when lost iterations above = 1
  43. # cleanup orphan hosts after seconds = 3600
  44. # delete obsolete charts files = yes
  45. # delete orphan hosts files = yes
  46. [web]
  47. # mode = static-threaded
  48. # listen backlog = 4096
  49. # default port = 19999
  50. # bind to = *
  51. # web files owner = nobody
  52. # web files group = nogroup
  53. # disconnect idle clients after seconds = 60
  54. # timeout for first request = 60
  55. # respect do not track policy = no
  56. # x-frame-options response header =
  57. allow connections from = localhost 10.* 192.168.* 172.16.* 172.17.* 172.18.* 172.19.* 172.20.* 172.21.* 172.22.* 172.23.* 172.24.* 172.25.* 172.26.* 172.27.* 172.28.* 172.29.* 172.30.* 172.31.*
  58. allow dashboard from = localhost 10.* 192.168.* 172.16.* 172.17.* 172.18.* 172.19.* 172.20.* 172.21.* 172.22.* 172.23.* 172.24.* 172.25.* 172.26.* 172.27.* 172.28.* 172.29.* 172.30.* 172.31.*
  59. # allow badges from = *
  60. # allow streaming from = *
  61. # allow netdata.conf from = localhost fd* 10.* 192.168.* 172.16.* 172.17.* 172.18.* 172.19.* 172.20.* 172.21.* 172.22.* 172.23.* 172.24.* 172.25.* 172.26.* 172.27.* 172.28.* 172.29.* 172.30.* 172.31.*
  62. # enable gzip compression = yes
  63. # gzip compression strategy = default
  64. # gzip compression level = 3
  65. # web server threads = 2
  66. # web server max sockets = 512
  67. [plugins]
  68. # PATH environment variable = /usr/sbin:/usr/bin:/sbin:/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
  69. # PYTHONPATH environment variable =
  70. # proc = yes
  71. # diskspace = yes
  72. # cgroups = yes
  73. # tc = yes
  74. # idlejitter = yes
  75. # enable running new plugins = yes
  76. # check for new plugins every = 60
  77. apps = no
  78. charts.d = no
  79. fping = no
  80. node.d = no
  81. python.d = no
  82. [health]
  83. enabled = no
  84. # in memory max health log entries = 1000
  85. # script to execute on alarm = /usr/lib/netdata/plugins.d/alarm-notify.sh
  86. # health configuration directory = /etc/netdata/health.d
  87. # run at least every seconds = 10
  88. # postpone alarms during hibernation for seconds = 60
  89. # rotate log every lines = 2000
  90. [statsd]
  91. enabled = no
  92. # update every (flushInterval) = 1
  93. # udp messages to process at once = 10
  94. # create private charts for metrics matching = *
  95. # max private charts allowed = 200
  96. # max private charts hard limit = 1000
  97. # private charts memory mode = save
  98. # private charts history = 4036
  99. # decimal detail = 1000
  100. # disconnect idle tcp clients after seconds = 600
  101. # private charts hidden = no
  102. # histograms and timers percentile (percentThreshold) = 95.00000
  103. # add dimension for number of events received = yes
  104. # gaps on gauges (deleteGauges) = no
  105. # gaps on counters (deleteCounters) = no
  106. # gaps on meters (deleteMeters) = no
  107. # gaps on sets (deleteSets) = no
  108. # gaps on histograms (deleteHistograms) = no
  109. # gaps on timers (deleteTimers) = no
  110. # statsd server max TCP sockets = 256
  111. # listen backlog = 4096
  112. # default port = 8125
  113. # bind to = udp:localhost tcp:localhost