1 # netdata configuration
3 # You can download the latest version of this file, using:
5 # wget -O /etc/netdata/netdata.conf http://localhost:19999/netdata.conf
7 # curl -o /etc/netdata/netdata.conf http://localhost:19999/netdata.conf
9 # You can uncomment and change any of the options below.
10 # The value shown in the commented settings, is the default value.
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
20 # health - Disabled by default
21 # KSM - No support in OpenWRT/LEDE by default
23 # global netdata configuration
26 # glibc malloc arena max for plugins = 1
27 # glibc malloc arena max for netdata = 1
28 # config directory = /etc/netdata
29 # plugins directory = /usr/libexec/netdata/plugins.d
30 # web files directory = /usr/share/netdata/web
31 # cache directory = /var/cache/netdata
32 # lib directory = /var/lib/netdata
33 # log directory = /var/log/netdata
34 # host access prefix =
35 # home directory = /var/cache/netdata
36 # debug flags = 0x00000000
37 memory deduplication (ksm) = no
41 # errors flood protection period = 1200
42 # errors to trigger flood protection = 200
48 # pthread stack size = 8388608
50 web files owner = root
51 web files group = root
52 # http port listen backlog = 100
53 # default port = 19999
55 # multi threaded web server = yes
56 # disconnect idle web clients after seconds = 60
57 # respect web browser do not track policy = no
58 enable web responses gzip compression = no
59 # web compression strategy = default
60 # web compression level = 3
63 # PATH environment variable = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
70 # plugins directory = /usr/libexec/netdata/plugins.d
71 enable running new plugins = no
72 # check for new plugins every = 60
74 # plugins directory = /usr/libexec/netdata/plugins.d
82 # registry db directory = /var/lib/netdata/registry
83 # netdata unique id file = /var/lib/netdata/registry/netdata.public.unique.id
84 # registry db file = /var/lib/netdata/registry/registry.db
85 # registry log file = /var/lib/netdata/registry/registry-log.db
86 # registry save db every new entries = 1000000
87 # registry expire idle persons days = 365
89 # registry to announce = https://registry.my-netdata.io
90 # registry hostname = LEDE
91 # verify browser cookies support = yes
92 # max URL length = 1024
93 # max URL name length = 50
97 # health db directory = /var/lib/netdata/health
98 # health db file = /var/lib/netdata/health/health-log.db
99 # health configuration directory = /etc/netdata/health.d
100 # script to execute on alarm = /usr/libexec/netdata/plugins.d/alarm-notify.sh
101 # in memory max health log entries = 1000
102 # run at least every seconds = 10
103 # rotate log every lines = 2000
107 # data source = average
109 # destination = localhost
113 # buffer on failures = 10
116 # per plugin configuration
123 # netdata server resources = yes
126 # /proc/loadavg = yes
127 # /proc/sys/kernel/random/entropy_avail = yes
128 # /proc/interrupts = yes
129 # /proc/softirqs = yes
131 # /proc/meminfo = yes
132 /sys/kernel/mm/ksm = no
133 /sys/devices/system/edac/mc = no
134 /sys/devices/system/node = no
135 # /proc/net/dev = yes
136 /proc/net/netstat = no
139 /proc/net/softnet_stat = no
140 /proc/net/ip_vs/stats = no
141 # /proc/net/stat/conntrack = yes
142 /proc/net/stat/synproxy = no
143 # /proc/diskstats = yes
144 /proc/net/rpc/nfsd = no
145 /proc/net/rpc/nfs = no
148 [plugin:proc:/proc/stat]
149 # cpu utilization = yes
150 # per cpu core utilization = yes
151 # cpu interrupts = yes
152 # context switches = yes
153 # processes started = yes
154 # processes running = yes
155 # filename to monitor = /proc/stat
157 [plugin:proc:/proc/interrupts]
158 # interrupts per core = yes
159 # filename to monitor = /proc/interrupts
161 [plugin:proc:/proc/softirqs]
162 # interrupts per core = yes
163 # filename to monitor = /proc/softirqs
165 [plugin:proc:/proc/net/dev]
166 # enable new interfaces detected at runtime = auto
167 # bandwidth for all interfaces = auto
168 # packets for all interfaces = auto
169 # errors for all interfaces = auto
170 # drops for all interfaces = auto
171 # fifo for all interfaces = auto
172 # compressed packets for all interfaces = auto
173 # frames, collisions, carrier counters for all interfaces = auto
174 # disable by default interfaces matching = lo fireqos* *-ifb
175 # filename to monitor = /proc/net/dev
177 [plugin:proc:/proc/net/dev:eth0]
187 [plugin:proc:/proc/diskstats]
188 # enable new disks detected at runtime = yes
189 # performance metrics for physical disks = auto
190 # performance metrics for virtual disks = auto
191 # performance metrics for partitions = no
192 # bandwidth for all disks = auto
193 # operations for all disks = auto
194 # merged operations for all disks = auto
195 # i/o time for all disks = auto
196 # queued operations for all disks = auto
197 # utilization percentage for all disks = auto
198 # backlog for all disks = auto
199 # filename to monitor = /proc/diskstats
200 # path to get block device infos = /sys/dev/block/%lu:%lu/%s
201 # path to get h/w sector size = /sys/block/%s/queue/hw_sector_size
202 # path to get h/w sector size for partitions = /sys/dev/block/%lu:%lu/subsystem/%s/../queue/hw_sector_size
203 # performance metrics for disks with major 8 = yes
205 [plugin:proc:/proc/diskstats:sda]
207 # enable performance metrics = yes
210 # merged operations = auto
212 # queued operations = auto
213 # utilization percentage = auto
216 [plugin:proc:/proc/net/rpc/nfsd]
217 # filename to monitor = /proc/net/rpc/nfsd
225 # NFS v2 procedures = yes
226 # NFS v3 procedures = yes
227 # NFS v4 procedures = yes
228 # NFS v4 operations = yes
230 [plugin:proc:/proc/net/rpc/nfs]
231 # filename to monitor = /proc/net/rpc/nfs
234 # NFS v2 procedures = yes
235 # NFS v3 procedures = yes
236 # NFS v4 procedures = yes