Add vnodes default configuration file. (#14553)
Co-authored-by: ilyam8 <ilya@netdata.cloud>
Austin S. Hemmelgarn committed
Mar 13, 2023 at 10:42 UTC
de1bbaa0de5e9d70ad013bcd6968ada6d00bad0a
2 files changed
+29
system/Makefile.am
+6
@@ -27,6 +27,7 @@ dist_config_DATA = \
27
.install-type \
28
$(NULL)
29
30
+libconfigvnodesdir=$(libconfigdir)/vnodes
31
libsyscrondir=$(libsysdir)/cron
32
libsysfreebsddir=$(libsysdir)/freebsd
33
libsysfreebsdrcddir=$(libsysfreebsddir)/rc.d
@@ -54,6 +55,11 @@ install-exec-local:
55
$(INSTALL) -d $(DESTDIR)$(libsyssystemddir)
56
$(INSTALL) -d $(DESTDIR)$(libsysopenrcinitddir)
57
$(INSTALL) -d $(DESTDIR)$(libsysopenrcconfddir)
58
+ $(INSTALL) -d $(DESTDIR)$(libconfigvnodesdir)
59
+
60
+dist_libconfigvnodes_DATA = \
61
+ vnodes/vnodes.conf
62
+ $(NULL)
63
64
libexecnetdatadir=$(libexecdir)/netdata
65
nodist_libexecnetdata_SCRIPTS = \
system/vnodes/vnodes.conf
new
+23
@@ -0,0 +1,23 @@
1
+## This file is in YAML format.
2
+##
3
+## It contains a list of virtual nodes. Virtual node, defined with the following parameters:
4
+##
5
+## 1. hostname
6
+## The hostname of the virtual node. String. Required.
7
+## 2. guid
8
+## Uniquely identifies the node. String. Required.
9
+## 3. labels
10
+## The virtual node host labels. Dictionary in the form key: value. Optional.
11
+## Special labels that are used to set virtual host system information:
12
+## https://learn.netdata.cloud/docs/improving-netdata---developers/external-plugins#host_label
13
+##
14
+## You can create GUIDs online: https://www.guidgen.com/
15
+## or generate with the linux command: uuidgen
16
+##
17
+## ---------------------------------------------------------------------------------------------------------------------
18
+
19
+#- hostname: HOSTNAME1
20
+# guid: GUID1
21
+#
22
+#- hostname: HOSTNAME2
23
+# guid: GUID2