Skip to content

Commit

Permalink
Add vnodes default configuration file. (netdata#14553)
Browse files Browse the repository at this point in the history
Co-authored-by: ilyam8 <[email protected]>
  • Loading branch information
Ferroin and ilyam8 authored Mar 13, 2023
1 parent cd8c7a2 commit de1bbaa
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
6 changes: 6 additions & 0 deletions system/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ dist_config_DATA = \
.install-type \
$(NULL)

libconfigvnodesdir=$(libconfigdir)/vnodes
libsyscrondir=$(libsysdir)/cron
libsysfreebsddir=$(libsysdir)/freebsd
libsysfreebsdrcddir=$(libsysfreebsddir)/rc.d
Expand Down Expand Up @@ -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 = \
Expand Down
23 changes: 23 additions & 0 deletions system/vnodes/vnodes.conf
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit de1bbaa

Please sign in to comment.