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
52 web files owner = root
53 web files group = root
54 # default port = 19999
58 # PATH environment variable = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
65 # plugins directory = /usr/libexec/netdata/plugins.d
66 enable running new plugins = no
67 # check for new plugins every = 60
69 # plugins directory = /usr/libexec/netdata/plugins.d
77 # registry db directory = /var/lib/netdata/registry
78 # netdata unique id file = /var/lib/netdata/registry/netdata.public.unique.id
79 # registry db file = /var/lib/netdata/registry/registry.db
80 # registry log file = /var/lib/netdata/registry/registry-log.db
81 # registry save db every new entries = 1000000
82 # registry expire idle persons days = 365
84 # registry to announce = https://registry.my-netdata.io
85 # registry hostname = LEDE
86 # verify browser cookies support = yes
87 # max URL length = 1024
88 # max URL name length = 50
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
102 # data source = average
104 # destination = localhost
108 # buffer on failures = 10
111 # per plugin configuration
118 # netdata server resources = yes
121 # /proc/loadavg = yes
122 # /proc/sys/kernel/random/entropy_avail = yes
123 # /proc/interrupts = yes
124 # /proc/softirqs = yes
126 # /proc/meminfo = yes
127 /sys/kernel/mm/ksm = no
128 /sys/devices/system/edac/mc = no
129 /sys/devices/system/node = no
130 # /proc/net/dev = yes
131 /proc/net/netstat = no
134 /proc/net/softnet_stat = no
135 /proc/net/ip_vs/stats = no
136 # /proc/net/stat/conntrack = yes
137 /proc/net/stat/synproxy = no
138 # /proc/diskstats = yes
139 /proc/net/rpc/nfsd = no
140 /proc/net/rpc/nfs = no
142 /proc/spl/kstat/zfs/arcstats = no
144 [plugin:proc:/proc/stat]
145 # cpu utilization = yes
146 # per cpu core utilization = yes
147 # cpu interrupts = yes
148 # context switches = yes
149 # processes started = yes
150 # processes running = yes
151 # filename to monitor = /proc/stat
153 [plugin:proc:/proc/interrupts]
154 # interrupts per core = yes
155 # filename to monitor = /proc/interrupts
157 [plugin:proc:/proc/softirqs]
158 # interrupts per core = yes
159 # filename to monitor = /proc/softirqs
161 [plugin:proc:/proc/net/dev]
162 # enable new interfaces detected at runtime = auto
163 # bandwidth for all interfaces = auto
164 # packets for all interfaces = auto
165 # errors for all interfaces = auto
166 # drops for all interfaces = auto
167 # fifo for all interfaces = auto
168 # compressed packets for all interfaces = auto
169 # frames, collisions, carrier counters for all interfaces = auto
170 # disable by default interfaces matching = lo fireqos* *-ifb
171 # filename to monitor = /proc/net/dev
173 [plugin:proc:/proc/net/dev:eth0]
183 [plugin:proc:/proc/diskstats]
184 # enable new disks detected at runtime = yes
185 # performance metrics for physical disks = auto
186 # performance metrics for virtual disks = auto
187 # performance metrics for partitions = no
188 # bandwidth for all disks = auto
189 # operations for all disks = auto
190 # merged operations for all disks = auto
191 # i/o time for all disks = auto
192 # queued operations for all disks = auto
193 # utilization percentage for all disks = auto
194 # backlog for all disks = auto
195 # filename to monitor = /proc/diskstats
196 # path to get block device infos = /sys/dev/block/%lu:%lu/%s
197 # path to get h/w sector size = /sys/block/%s/queue/hw_sector_size
198 # path to get h/w sector size for partitions = /sys/dev/block/%lu:%lu/subsystem/%s/../queue/hw_sector_size
199 # performance metrics for disks with major 8 = yes
201 [plugin:proc:/proc/diskstats:sda]
203 # enable performance metrics = yes
206 # merged operations = auto
208 # queued operations = auto
209 # utilization percentage = auto
212 [plugin:proc:/proc/net/rpc/nfsd]
213 # filename to monitor = /proc/net/rpc/nfsd
221 # NFS v2 procedures = yes
222 # NFS v3 procedures = yes
223 # NFS v4 procedures = yes
224 # NFS v4 operations = yes
226 [plugin:proc:/proc/net/rpc/nfs]
227 # filename to monitor = /proc/net/rpc/nfs
230 # NFS v2 procedures = yes
231 # NFS v3 procedures = yes
232 # NFS v4 procedures = yes