File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -156,12 +156,17 @@ netdata_stream_enabled: false
156156# Defines location of Netdata stream configuration file
157157netdata_stream_config_file : /etc/netdata/stream.conf
158158
159- # Defines Netdata API Key (must be generated with command uuidgen)
159+ # Defines Netdata API Keys (must be generated with command uuidgen)
160160netdata_stream_api_key : 11111111-2222-3333-4444-555555555555
161+ netdata_stream_send_api_key : " {{ netdata_stream_api_key }}"
162+ netdata_stream_receive_api_key : " {{ netdata_stream_api_key }}"
161163
162164# Defines Netdata master node and port (e.g. 127.0.0.1:19999)
163165netdata_stream_master_node : " "
164166
167+ # Defines weather the netdata node is acting as a proxy
168+ netdata_stream_proxy : false
169+
165170# Defines if Netdata should be uninstalled
166171# Caution: This does not prompt for uninstall as the original script
167172# was intended.
Original file line number Diff line number Diff line change 11# netdata stream configuration
22
3- {% if netdata_stream_master_node == '' %}
4- [{{ netdata_stream_api_key }}]
3+ {% if netdata_stream_master_node == '' or netdata_stream_proxy %}
4+ [{{ netdata_stream_receive_api_key }}]
55 # enable/disable this API key
66 enabled = yes
77
2323 destination = {{ netdata_stream_master_node }}
2424
2525 # the API key to use
26- api key = {{ netdata_stream_api_key }}
26+ api key = {{ netdata_stream_send_api_key }}
2727{% endif %}
You can’t perform that action at this time.
0 commit comments