public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH docs] metric server: remove whitespace in front of config section
@ 2020-08-10 11:42 Aaron Lauterer
  2020-08-11 13:36 ` [pve-devel] applied + followup: " Fabian Grünbichler
  0 siblings, 1 reply; 2+ messages in thread
From: Aaron Lauterer @ 2020-08-10 11:42 UTC (permalink / raw)
  To: pve-devel

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pve-devel] applied + followup: [PATCH docs] metric server: remove whitespace in front of config section
  2020-08-10 11:42 [pve-devel] [PATCH docs] metric server: remove whitespace in front of config section Aaron Lauterer
@ 2020-08-11 13:36 ` Fabian Grünbichler
  0 siblings, 0 replies; 2+ messages in thread
From: Fabian Grünbichler @ 2020-08-11 13:36 UTC (permalink / raw)
  To: pve-devel

with following diff on-top, to avoid it being picked up by
scan-adoc-refs:

diff --git a/pve-external-metric-server.adoc b/pve-external-metric-server.adoc
index 4eadb2f..cc19adb 100644
--- a/pve-external-metric-server.adoc
+++ b/pve-external-metric-server.adoc
@@ -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"
-- 
2.20.1





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-11 13:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-10 11:42 [pve-devel] [PATCH docs] metric server: remove whitespace in front of config section Aaron Lauterer
2020-08-11 13:36 ` [pve-devel] applied + followup: " Fabian Grünbichler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal