From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id A2ECA69D72 for ; Mon, 10 Aug 2020 13:42:31 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 90ACD14CBF for ; Mon, 10 Aug 2020 13:42:31 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [212.186.127.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id D5B3E14CB5 for ; Mon, 10 Aug 2020 13:42:29 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 95B3C44525 for ; Mon, 10 Aug 2020 13:42:29 +0200 (CEST) From: Aaron Lauterer To: pve-devel@lists.proxmox.com Date: Mon, 10 Aug 2020 13:42:25 +0200 Message-Id: <20200810114225.23205-1-a.lauterer@proxmox.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.048 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] [PATCH docs] metric server: remove whitespace in front of config section X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Aug 2020 11:42:31 -0000 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 [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