metric server: remove whitespace in front of config section

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
This commit is contained in:
Aaron Lauterer 2020-08-10 13:42:25 +02:00 committed by Fabian Grünbichler
parent 7353437bdc
commit 6cd1e06b1e

View File

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