From c7de1f1904ef8987038b765f68ee826821457ef9 Mon Sep 17 00:00:00 2001 From: Thomas Bernhart Date: Thu, 11 Apr 2024 14:30:03 +0200 Subject: [PATCH] Restructure netdata.conf template according to official docs No actual settings are changed, additionally links to the documentation pages are added as comments. --- templates/netdata.conf.j2 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/templates/netdata.conf.j2 b/templates/netdata.conf.j2 index 030bd2d..0a1330d 100644 --- a/templates/netdata.conf.j2 +++ b/templates/netdata.conf.j2 @@ -1,13 +1,18 @@ +# SOURCE: https://github.com/netdata/netdata/blob/8c84a6241ba89cd10b257ca37b442cf358ac7597/src/daemon/config/README.md [global] - update every = 15 - memory mode = none {% if netdata_hostname != "auto-detected" %} hostname = {{ netdata_hostname }} {% endif %} +[db] + update every = 15 + mode = none + +# SOURCE: https://github.com/netdata/netdata/blob/8c84a6241ba89cd10b257ca37b442cf358ac7597/src/web/server/README.md [web] mode = none +# SOURCE: https://github.com/netdata/netdata/blob/8c84a6241ba89cd10b257ca37b442cf358ac7597/src/registry/README.md [registry] enabled = no registry to announce = {{ netdata_registry_to_announce | mandatory }}