summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2023-03-13 10:42:58 -0400
committerGitHub <noreply@github.com>2023-03-13 16:42:58 +0200
commitde1bbaa0de5e9d70ad013bcd6968ada6d00bad0a (patch)
tree5690023936495bc5e376d440f8ed0daa5cbcb020 /system
parentcd8c7a26b6dbbbc3da6b603e0c6e2c50439ff598 (diff)
Add vnodes default configuration file. (#14553)
Co-authored-by: ilyam8 <ilya@netdata.cloud>
Diffstat (limited to 'system')
-rw-r--r--system/Makefile.am6
-rw-r--r--system/vnodes/vnodes.conf23
2 files changed, 29 insertions, 0 deletions
diff --git a/system/Makefile.am b/system/Makefile.am
index abcd8cd845..b6efe45009 100644
--- a/system/Makefile.am
+++ b/system/Makefile.am
@@ -27,6 +27,7 @@ dist_config_DATA = \
.install-type \
$(NULL)
+libconfigvnodesdir=$(libconfigdir)/vnodes
libsyscrondir=$(libsysdir)/cron
libsysfreebsddir=$(libsysdir)/freebsd
libsysfreebsdrcddir=$(libsysfreebsddir)/rc.d
@@ -54,6 +55,11 @@ install-exec-local:
$(INSTALL) -d $(DESTDIR)$(libsyssystemddir)
$(INSTALL) -d $(DESTDIR)$(libsysopenrcinitddir)
$(INSTALL) -d $(DESTDIR)$(libsysopenrcconfddir)
+ $(INSTALL) -d $(DESTDIR)$(libconfigvnodesdir)
+
+dist_libconfigvnodes_DATA = \
+ vnodes/vnodes.conf
+ $(NULL)
libexecnetdatadir=$(libexecdir)/netdata
nodist_libexecnetdata_SCRIPTS = \
diff --git a/system/vnodes/vnodes.conf b/system/vnodes/vnodes.conf
new file mode 100644
index 0000000000..abcd57842c
--- /dev/null
+++ b/system/vnodes/vnodes.conf
@@ -0,0 +1,23 @@
+## This file is in YAML format.
+##
+## It contains a list of virtual nodes. Virtual node, defined with the following parameters:
+##
+## 1. hostname
+## The hostname of the virtual node. String. Required.
+## 2. guid
+## Uniquely identifies the node. String. Required.
+## 3. labels
+## The virtual node host labels. Dictionary in the form key: value. Optional.
+## Special labels that are used to set virtual host system information:
+## https://learn.netdata.cloud/docs/improving-netdata---developers/external-plugins#host_label
+##
+## You can create GUIDs online: https://www.guidgen.com/
+## or generate with the linux command: uuidgen
+##
+## ---------------------------------------------------------------------------------------------------------------------
+
+#- hostname: HOSTNAME1
+# guid: GUID1
+#
+#- hostname: HOSTNAME2
+# guid: GUID2