diff options
-rw-r--r-- | system/Makefile.am | 6 | ||||
-rw-r--r-- | system/vnodes/vnodes.conf | 23 |
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 |