From 355ab6f8150762f8d87b48fd27a61cfa54a22a41 Mon Sep 17 00:00:00 2001 From: "Costa Tsaousis (ktsaou)" Date: Sat, 25 Feb 2017 02:34:04 +0200 Subject: [PATCH] updated info --- conf.d/aggregated_hosts.conf | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/conf.d/aggregated_hosts.conf b/conf.d/aggregated_hosts.conf index 233c4ea5..b5735820 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 -- 2.39.2