1 # netdata configuration for aggregating data from remote hosts
3 # API keys authorize a pair of sending-receiving netdata servers.
4 # Once their communication is authorized, they can exchange metrics for any
7 # You can generate API keys, with the linux command: uuidgen
9 # -----------------------------------------------------------------------------
10 # 1. SLAVE NETDATA - THE ONE THAT WILL BE SENDING METRICS
15 # where to send metrics to?
16 # A space separated list of IP:PORT is accepted. The first available will
18 # IPv6 addresses should be [IP]:PORT
21 # The API_KEY to use (as the sender)
24 # other options (uncomment and set)
26 # timeout seconds = 60
27 # default port = 19999
28 # buffer size bytes = 1048576
29 # reconnect delay seconds = 5
30 # initial clock resync iterations = 60
33 # -----------------------------------------------------------------------------
34 # 2. MASTER NETDATA - THE ONE THAT WILL BE RECEIVING METRICS
36 # You can have one API key per slave, or the same API key for all slaves.
38 # All options below are used in this order:
40 # a) MACHINE_GUID (settings for each machine)
41 # b) API_KEY (settings for the API key)
42 # c) this netdata defaults (as in netdata.conf)
44 # You can combine the above (the more specific setting will be used).
46 # API key authentication
47 # If the key is not listed here, it will not be able to connect.
50 # Default settings for the API key
52 # You can disable the API key, by setting this to: no
53 # The default (for unknown API keys) is also: no
56 # The default history in entries, for all hosts using this API key.
57 # You can also set it per host below.
58 # If you don't set it here, the history size of the central netdata
60 default history = 3600
62 # The default memory mode to be used for all hosts using this API key.
63 # You can also set it per host below.
64 # If you don't set it here, the memory mode of netdata.conf will be used.
66 # save save on exit, load on start
67 # map like swap (continuously syncing to disks)
68 # ram keep it in RAM, don't touch the disk
69 # none no database (passing through this netdata)
70 default memory mode = ram
72 # Shall we enable health monitoring for the hosts using this API key?
75 # no do not enable alarms
76 # auto enable alarms, only when the sending netdata is connected
77 # You can also set it per host, below.
78 # The default is the same as to netdata.conf
79 health enabled by default = auto
81 # postpone alarms for a short period after the sender is connected
82 default postpone alarms on connect seconds = 60
84 # need to route metrics differently? set these.
85 # the defaults are the ones at the [stream] section
86 #default proxy enabled = yes | no
87 #default proxy destination = IP:PORT IP:PORT ...
88 #default proxy api key = API_KEY
91 # -----------------------------------------------------------------------------
92 # Each netdata has a unique GUID - generated the first time netdata starts.
93 # You can find it at /var/lib/netdata/registry/netdata.public.unique.id
94 # The host sending data will have one. If it is static and you can find it,
95 # you can give settings for each specific host here.
98 # enable this host: yes | no
99 # THIS IS NOT A SECURITY MECHANISM - AN ATTACKER CAN SET ANY OTHER GUID.
100 # Use only the API key for security.
103 # The number of entries in the database
106 # The memory mode of the database: save | map | ram | none
109 # Health / alarms control: yes | no | auto
112 # postpone alarms when the sender connects
113 postpone alarms on connect seconds = 60
115 # need to route metrics differently?
116 #proxy enabled = yes | no
117 #proxy destination = IP:PORT IP:PORT ...
118 #proxy api key = API_KEY