Add vnodes default configuration file. (#14553)

Co-authored-by: ilyam8 <ilya@netdata.cloud>
This commit is contained in:
Austin S. Hemmelgarn 2023-03-13 10:42:58 -04:00 committed by GitHub
parent cd8c7a26b6
commit de1bbaa0de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

View File

@ -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 = \

23
system/vnodes/vnodes.conf Normal file
View File

@ -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