Merge pull request #4853 from StevenHessing/noddos
[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
51 [web]
52 web files owner = root
53 web files group = root
54 # default port = 19999
55 # bind to = *
56
57 [plugins]
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
59 tc = no
60 # idlejitter = yes
61 # proc = yes
62 # diskspace = yes
63 cgroups = no
64 # checks = no
65 # plugins directory = /usr/libexec/netdata/plugins.d
66 enable running new plugins = no
67 # check for new plugins every = 60
68 charts.d = no
69 # plugins directory = /usr/libexec/netdata/plugins.d
70 node.d = no
71 python.d = no
72 apps = no
73 fping = no
74
75 [registry]
76 # enabled = no
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
83 # registry domain =
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
89
90 [health]
91 enabled = no
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
99
100 [backend]
101 # enabled = no
102 # data source = average
103 # type = graphite
104 # destination = localhost
105 # prefix = netdata
106 # hostname = LEDE
107 # update every = 10
108 # buffer on failures = 10
109 # timeout ms = 20000
110
111 # per plugin configuration
112
113 [plugin:fping]
114 # update every = 1
115 # command options =
116
117 [plugin:proc]
118 # netdata server resources = yes
119 # /proc/stat = yes
120 # /proc/uptime = yes
121 # /proc/loadavg = yes
122 # /proc/sys/kernel/random/entropy_avail = yes
123 # /proc/interrupts = yes
124 # /proc/softirqs = yes
125 # /proc/vmstat = 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
132 /proc/net/snmp = no
133 /proc/net/snmp6 = 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
141 # ipc = yes
142 /proc/spl/kstat/zfs/arcstats = no
143
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
152
153 [plugin:proc:/proc/interrupts]
154 # interrupts per core = yes
155 # filename to monitor = /proc/interrupts
156
157 [plugin:proc:/proc/softirqs]
158 # interrupts per core = yes
159 # filename to monitor = /proc/softirqs
160
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
172
173 [plugin:proc:/proc/net/dev:eth0]
174 # enabled = yes
175 # bandwidth = auto
176 # packets = auto
177 # errors = auto
178 # drops = auto
179 # fifo = auto
180 # compressed = auto
181 # events = auto
182
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
200
201 [plugin:proc:/proc/diskstats:sda]
202 # enable = yes
203 # enable performance metrics = yes
204 # bandwidth = auto
205 # operations = auto
206 # merged operations = auto
207 # i/o time = auto
208 # queued operations = auto
209 # utilization percentage = auto
210 # backlog = auto
211
212 [plugin:proc:/proc/net/rpc/nfsd]
213 # filename to monitor = /proc/net/rpc/nfsd
214 # read cache = yes
215 # file handles = yes
216 # I/O = yes
217 # threads = yes
218 # read ahead = yes
219 # network = yes
220 # rpc = yes
221 # NFS v2 procedures = yes
222 # NFS v3 procedures = yes
223 # NFS v4 procedures = yes
224 # NFS v4 operations = yes
225
226 [plugin:proc:/proc/net/rpc/nfs]
227 # filename to monitor = /proc/net/rpc/nfs
228 # network = yes
229 # rpc = yes
230 # NFS v2 procedures = yes
231 # NFS v3 procedures = yes
232 # NFS v4 procedures = yes