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

35 lines
910 B
Plaintext

# 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]
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 }}
[plugins]
netdata monitoring = no
[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" }}