|
# netdata configuration
|
|
#
|
|
# You can download the latest version of this file, using:
|
|
#
|
|
# wget -O /etc/netdata/netdata.conf http://localhost:19999/netdata.conf
|
|
# or
|
|
# curl -o /etc/netdata/netdata.conf http://localhost:19999/netdata.conf
|
|
#
|
|
# You can uncomment and change any of the options below.
|
|
# The value shown in the commented settings, is the default value.
|
|
#
|
|
|
|
# global netdata configuration
|
|
|
|
[global]
|
|
# glibc malloc arena max for plugins = 1
|
|
# hostname = LEDE
|
|
# history = 4036
|
|
update every = 2
|
|
# config directory = /etc/netdata
|
|
# log directory = /var/log/netdata
|
|
# web files directory = /usr/share/netdata/web
|
|
# cache directory = /var/cache/netdata
|
|
# lib directory = /var/lib/netdata
|
|
# home directory = /var/cache/netdata
|
|
# plugins directory = "/usr/lib/netdata/plugins.d" "/etc/netdata/custom-plugins.d"
|
|
# memory mode = save
|
|
# host access prefix =
|
|
memory deduplication (ksm) = no
|
|
# TZ environment variable = :/etc/localtime
|
|
# timezone = UTC
|
|
# debug flags = 0x0000000000000000
|
|
debug log = syslog
|
|
error log = syslog
|
|
access log = none
|
|
# errors flood protection period = 1200
|
|
# errors to trigger flood protection = 200
|
|
run as user = root
|
|
# OOM score = 1000
|
|
# process scheduling policy = idle
|
|
# process nice level = 19
|
|
# pthread stack size = 81920
|
|
# cleanup obsolete charts after seconds = 3600
|
|
# gap when lost iterations above = 1
|
|
# cleanup orphan hosts after seconds = 3600
|
|
# delete obsolete charts files = yes
|
|
# delete orphan hosts files = yes
|
|
|
|
[web]
|
|
# mode = static-threaded
|
|
# listen backlog = 4096
|
|
# default port = 19999
|
|
# bind to = *
|
|
# web files owner = nobody
|
|
# web files group = nogroup
|
|
# disconnect idle clients after seconds = 60
|
|
# timeout for first request = 60
|
|
# respect do not track policy = no
|
|
# x-frame-options response header =
|
|
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.*
|
|
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.*
|
|
# allow badges from = *
|
|
# allow streaming from = *
|
|
# 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.*
|
|
# enable gzip compression = yes
|
|
# gzip compression strategy = default
|
|
# gzip compression level = 3
|
|
# web server threads = 2
|
|
# web server max sockets = 512
|
|
|
|
[plugins]
|
|
# PATH environment variable = /usr/sbin:/usr/bin:/sbin:/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
|
|
# PYTHONPATH environment variable =
|
|
# proc = yes
|
|
# diskspace = yes
|
|
# cgroups = yes
|
|
# tc = yes
|
|
# idlejitter = yes
|
|
# enable running new plugins = yes
|
|
# check for new plugins every = 60
|
|
apps = no
|
|
charts.d = no
|
|
fping = no
|
|
node.d = no
|
|
python.d = no
|
|
|
|
[health]
|
|
enabled = no
|
|
# in memory max health log entries = 1000
|
|
# script to execute on alarm = /usr/lib/netdata/plugins.d/alarm-notify.sh
|
|
# health configuration directory = /etc/netdata/health.d
|
|
# run at least every seconds = 10
|
|
# postpone alarms during hibernation for seconds = 60
|
|
# rotate log every lines = 2000
|
|
|
|
|
|
[statsd]
|
|
enabled = no
|
|
# update every (flushInterval) = 1
|
|
# udp messages to process at once = 10
|
|
# create private charts for metrics matching = *
|
|
# max private charts allowed = 200
|
|
# max private charts hard limit = 1000
|
|
# private charts memory mode = save
|
|
# private charts history = 4036
|
|
# decimal detail = 1000
|
|
# disconnect idle tcp clients after seconds = 600
|
|
# private charts hidden = no
|
|
# histograms and timers percentile (percentThreshold) = 95.00000
|
|
# add dimension for number of events received = yes
|
|
# gaps on gauges (deleteGauges) = no
|
|
# gaps on counters (deleteCounters) = no
|
|
# gaps on meters (deleteMeters) = no
|
|
# gaps on sets (deleteSets) = no
|
|
# gaps on histograms (deleteHistograms) = no
|
|
# gaps on timers (deleteTimers) = no
|
|
# statsd server max TCP sockets = 256
|
|
# listen backlog = 4096
|
|
# default port = 8125
|
|
# bind to = udp:localhost tcp:localhost
|
|
|