ansible-roles/system/extra/netdata/templates/netdata.conf

35 lines
910 B
Plaintext
Raw Normal View History

2023-10-08 00:15:34 +02:00
# NetData Configuration
# The current full configuration can be retrieved from the running
# server at the URL
#
# http://localhost:19999/netdata.conf
#
# for example:
#
# wget -O /etc/netdata/netdata.conf http://localhost:19999/netdata.conf
#
[global]
2023-10-08 18:48:41 +02:00
run as user = netdata
web files owner = root
web files group = root
# Netdata is not designed to be exposed to potentially hostile
# networks. See https://github.com/netdata/netdata/issues/164
bind socket to IP = {{ system_extra_netdata_bind_to }}
2023-10-21 15:50:41 +02:00
[plugins]
netdata monitoring = no
2023-10-08 18:48:41 +02:00
[health]
enabled = {{ "yes" if system_extra_netdata_stream_parent else "no" }}
[db]
mode = {{ "dbengine" if system_extra_netdata_stream_parent else "none" }}
[web]
mode = {{ "static-threaded" if system_extra_netdata_stream_parent else "none" }}
[ml]
enabled = {{ "yes" if system_extra_netdata_stream_parent else "no" }}