[pve-devel] [PATCH docs] document ids for status.cfg

Thomas Lamprecht t.lamprecht at proxmox.com
Wed May 8 09:24:49 CEST 2019


On 4/11/19 10:06 AM, Dominik Csapak wrote:
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>

applied, but can you please try to start adding some short, for human (not machine)
intended, tags, that would be great. E.g.:

> ext. metric server: document IDs in configuration

> ---
>  pve-external-metric-server.adoc | 23 +++++++++++++++++++++--
>  1 file changed, 21 insertions(+), 2 deletions(-)
> 
> diff --git a/pve-external-metric-server.adoc b/pve-external-metric-server.adoc
> index 1cb7eb2..8bbd1a6 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:
> + graphite: your-id
>      server your-server
>      port your-port
>      path your-path
> @@ -36,7 +36,7 @@ Influxdb plugin configuration
>  
>  The definition is:
>  
> - influxdb:
> + influxdb: your-id
>      server your-server
>      port your-port
>  
> @@ -54,3 +54,22 @@ Here is an example configuration for influxdb (on your influxdb server):
>  
>  With this configuration, your server listens on all IP addresses on
>  port 8089, and writes the data in the *proxmox* database
> +
> +Multiple Definitions and Example
> +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> +
> +The *id* is optional, but if you want to have multiple definitions of a single
> +type, then the ids must be different.
> +
> +Here is an example of a finished status.cfg
> +
> + graphite:
> +    server 10.0.0.5
> +
> + influxdb: influx1
> +    server 10.0.0.6
> +    port 8089
> +
> + influxdb: influx2
> +    server 10.0.0.7
> +    port 8090
> 





More information about the pve-devel mailing list