updated info
Costa Tsaousis (ktsaou) committed
Feb 25, 2017 at 02:34 UTC
355ab6f8150762f8d87b48fd27a61cfa54a22a41
1 file changed
+10
-16
conf.d/aggregated_hosts.conf
+10
-16
@@ -1,5 +1,11 @@
1
# netdata configuration for aggregating data from remote hosts
2
#
3
+# API keys authorize a pair of sending-receiving netdata servers.
4
+# Once their communication is authorized, they can exchange metrics for any
5
+# number of hosts.
6
+#
7
+# You can generate API keys, with the linux command: uuidgen
8
+#
9
# -----------------------------------------------------------------------------
10
# 1. SLAVE NETDATA - THE ONE THAT WILL BE SENDING METRICS
11
#
@@ -11,31 +17,19 @@
17
# # default: no
18
# enabled = yes
19
#
14
-# # when set to yes, the slave netdata will not start
15
-# # its web server and will not maintain a database.
16
-# # when set to yes, the slave netdata will be just a metrics collector.
17
-# # default: yes
18
-# exclusive = yes
19
-#
20
# # one or more netdata hosts to send metrics to.
21
# # only one will get them, the first available.
22
-# stream metrics to = HOST1:PORT1 HOST2:PORT2 ...
22
+# destination = HOST1:PORT1 HOST2:PORT2 ...
23
#
24
# # the API key to use, to authorize ourselves
25
-# api key = API_KEY_GENERATED_BY_UUIDGEN
25
+# api key = API_KEY
26
#
27
# -----------------------------------------------------------------------------
28
# 2. MASTER NETDATA - THE ONE THAT WILL BE RECEIVING METRICS
29
#
30
-# You need an API key: API_KEY_GENERATED_BY_UUIDGEN
31
-# This key should be specified at the master and the slave netdata servers.
32
-#
33
-# You can generate one with the command: uuidgen
34
-# You can add many API key sections below, for each API key.
30
+# Use this file to define the API keys is accepts.
31
#
32
# You can have one API key per slave, or the same API key for all slaves.
37
-# Each slave will automatically create its own virtual host at the master
38
-# even if all slaves use the same API key.
33
#
34
# All options below are used in this order:
35
#
@@ -50,7 +44,7 @@
44
# API key authentication
45
# If the key is not listed here, it will not be able to connect.
46
53
-[API_KEY_GENERATED_BY_UUIDGEN]
47
+[API_KEY]
48
# Default settings for the API key
49
50
# You can disable the API key, by setting this to: no