diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-02-25 02:34:04 +0200 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-02-25 02:34:04 +0200 |
commit | 355ab6f8150762f8d87b48fd27a61cfa54a22a41 (patch) | |
tree | d998f8d3c36b8b7707254e0b805a7053301e1840 /conf.d | |
parent | a0d5d14b11c9f8150dae15cd72a19c8fb14f6b31 (diff) |
updated info
Diffstat (limited to 'conf.d')
-rw-r--r-- | conf.d/aggregated_hosts.conf | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/conf.d/aggregated_hosts.conf b/conf.d/aggregated_hosts.conf index 233c4ea5f3..b573582017 100644 --- a/conf.d/aggregated_hosts.conf +++ b/conf.d/aggregated_hosts.conf @@ -1,5 +1,11 @@ # netdata configuration for aggregating data from remote hosts # +# API keys authorize a pair of sending-receiving netdata servers. +# Once their communication is authorized, they can exchange metrics for any +# number of hosts. +# +# You can generate API keys, with the linux command: uuidgen +# # ----------------------------------------------------------------------------- # 1. SLAVE NETDATA - THE ONE THAT WILL BE SENDING METRICS # @@ -11,31 +17,19 @@ # # default: no # enabled = yes # -# # when set to yes, the slave netdata will not start -# # its web server and will not maintain a database. -# # when set to yes, the slave netdata will be just a metrics collector. -# # default: yes -# exclusive = yes -# # # one or more netdata hosts to send metrics to. # # only one will get them, the first available. -# stream metrics to = HOST1:PORT1 HOST2:PORT2 ... +# destination = HOST1:PORT1 HOST2:PORT2 ... # # # the API key to use, to authorize ourselves -# api key = API_KEY_GENERATED_BY_UUIDGEN +# api key = API_KEY # # ----------------------------------------------------------------------------- # 2. MASTER NETDATA - THE ONE THAT WILL BE RECEIVING METRICS # -# You need an API key: API_KEY_GENERATED_BY_UUIDGEN -# This key should be specified at the master and the slave netdata servers. -# -# You can generate one with the command: uuidgen -# You can add many API key sections below, for each API key. +# Use this file to define the API keys is accepts. # # You can have one API key per slave, or the same API key for all slaves. -# Each slave will automatically create its own virtual host at the master -# even if all slaves use the same API key. # # All options below are used in this order: # @@ -50,7 +44,7 @@ # API key authentication # If the key is not listed here, it will not be able to connect. -[API_KEY_GENERATED_BY_UUIDGEN] +[API_KEY] # Default settings for the API key # You can disable the API key, by setting this to: no |