noddos: Noddos v0.5.0 with mDNS / DNS-SD support
[feed/packages.git] / admin / netdata / files / netdata.conf
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
23 # global netdata configuration
24
25 [global]
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
38 debug log = syslog
39 error log = syslog
40 access log = none
41 # errors flood protection period = 1200
42 # errors to trigger flood protection = 200
43 memory mode = ram
44 # hostname = LEDE
45 # history = 3600
46 # update every = 1
47 update every = 2
48 # pthread stack size = 8388608
49 run as user = nobody
50 web files owner = root
51 web files group = root
52 # http port listen backlog = 100
53 # default port = 19999
54 # bind to = *
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
61
62 [plugins]
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
64 tc = no
65 # idlejitter = yes
66 # proc = yes
67 # diskspace = yes
68 cgroups = no
69 # checks = no
70 # plugins directory = /usr/libexec/netdata/plugins.d
71 enable running new plugins = no
72 # check for new plugins every = 60
73 charts.d = no
74 # plugins directory = /usr/libexec/netdata/plugins.d
75 node.d = no
76 python.d = no
77 apps = no
78 fping = no
79
80 [registry]
81 # enabled = no
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
88 # registry domain =
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
94
95 [health]
96 enabled = no
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
104
105 [backend]
106 # enabled = no
107 # data source = average
108 # type = graphite
109 # destination = localhost
110 # prefix = netdata
111 # hostname = LEDE
112 # update every = 10
113 # buffer on failures = 10
114 # timeout ms = 20000
115
116 # per plugin configuration
117
118 [plugin:fping]
119 # update every = 1
120 # command options =
121
122 [plugin:proc]
123 # netdata server resources = yes
124 # /proc/stat = yes
125 # /proc/uptime = yes
126 # /proc/loadavg = yes
127 # /proc/sys/kernel/random/entropy_avail = yes
128 # /proc/interrupts = yes
129 # /proc/softirqs = yes
130 # /proc/vmstat = 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
137 /proc/net/snmp = no
138 /proc/net/snmp6 = 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
146 # ipc = yes
147
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
156
157 [plugin:proc:/proc/interrupts]
158 # interrupts per core = yes
159 # filename to monitor = /proc/interrupts
160
161 [plugin:proc:/proc/softirqs]
162 # interrupts per core = yes
163 # filename to monitor = /proc/softirqs
164
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
176
177 [plugin:proc:/proc/net/dev:eth0]
178 # enabled = yes
179 # bandwidth = auto
180 # packets = auto
181 # errors = auto
182 # drops = auto
183 # fifo = auto
184 # compressed = auto
185 # events = auto
186
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
204
205 [plugin:proc:/proc/diskstats:sda]
206 # enable = yes
207 # enable performance metrics = yes
208 # bandwidth = auto
209 # operations = auto
210 # merged operations = auto
211 # i/o time = auto
212 # queued operations = auto
213 # utilization percentage = auto
214 # backlog = auto
215
216 [plugin:proc:/proc/net/rpc/nfsd]
217 # filename to monitor = /proc/net/rpc/nfsd
218 # read cache = yes
219 # file handles = yes
220 # I/O = yes
221 # threads = yes
222 # read ahead = yes
223 # network = yes
224 # rpc = yes
225 # NFS v2 procedures = yes
226 # NFS v3 procedures = yes
227 # NFS v4 procedures = yes
228 # NFS v4 operations = yes
229
230 [plugin:proc:/proc/net/rpc/nfs]
231 # filename to monitor = /proc/net/rpc/nfs
232 # network = yes
233 # rpc = yes
234 # NFS v2 procedures = yes
235 # NFS v3 procedures = yes
236 # NFS v4 procedures = yes