[pve-devel] [PATCH docs] metric server: remove whitespace in front of config section

Aaron Lauterer a.lauterer at proxmox.com
Mon Aug 10 13:42:25 CEST 2020


The leading whitespace in the first lines of the examples caused some
confusion and problems [0] because the config would not work with it.

Removing the whitespace will make it easier to copy and paste the
examples, causing less frustation and confusion.

Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>

[0] https://forum.proxmox.com/threads/issue-setting-up-influxdb.70687
---
 pve-external-metric-server.adoc | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/pve-external-metric-server.adoc b/pve-external-metric-server.adoc
index c9e1107..4eadb2f 100644
--- a/pve-external-metric-server.adoc
+++ b/pve-external-metric-server.adoc
@@ -20,7 +20,7 @@ Graphite server configuration
 The definition of a server is:
 
 ----
- graphite: your-id
+graphite: your-id
     server your-server
     port your-port
     path your-path
@@ -37,7 +37,7 @@ Influxdb plugin configuration
 The definition is:
 
 ----
- influxdb: your-id
+influxdb: your-id
     server your-server
     port your-port
 ----
@@ -48,7 +48,7 @@ for this.
 Here is an example configuration for influxdb (on your influxdb server):
 
 ----
- [[udp]]
+[[udp]]
    enabled = true
    bind-address = "0.0.0.0:8089"
    database = "proxmox"
@@ -68,14 +68,14 @@ type, then the ids must be defined and different from each other.
 Here is an example of a finished status.cfg
 
 ----
- graphite:
+graphite:
     server 10.0.0.5
 
- influxdb: influx1
+influxdb: influx1
     server 10.0.0.6
     port 8089
 
- influxdb: influx2
+influxdb: influx2
     server 10.0.0.7
     port 8090
 ----
-- 
2.20.1






More information about the pve-devel mailing list