]> git.proxmox.com Git - pve-docs.git/blame - pve-external-metric-server.adoc
mediawiki.conf: implement thumbnail attribute
[pve-docs.git] / pve-external-metric-server.adoc
CommitLineData
d9abb1d6
DC
1External Metric Server
2----------------------
3include::attributes.txt[]
4ifdef::wiki[]
5:pve-toplevel:
6endif::wiki[]
7
8Starting with {pve} 4.0, you can define external metric servers,
9which will be sent various stats about your hosts, virtual machines and storages.
10
11Currently supported are:
12
13 * graphite (see http://graphiteapp.org )
14 * influxdb (see https://www.influxdata.com/time-series-platform/influxdb/ )
15
16The server definitions are saved in
17 /etc/pve/status.cfg
18
19Graphite server configuration
20~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
21
22The definition of a server is:
23
24 graphite:
25 server your-server
26 port your-port
27 path your-path
28
29where your-port defaults to *2003*
30and your-path defaults to *proxmox*
31
32{pve} sends the data over udp, so the graphite server
33has to be configured for this
34
35Influxdb plugin configuration
36~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37
38The definition is:
39
40 influxdb:
41 server your-server
42 port your-port
43
44{pve} sends the data over udp, so the influxdb server
45has to be configured for this
46
47Here is an example configuration for influxdb (on your influxdb server):
48
49 [[udp]]
50 enabled = true
51 bind-address = "0.0.0.0:8089"
52 database = "proxmox"
53 batch-size = 1000
54 batch-timeout = "1s"
55
56With this configuration, your server listens on all IP adresses on
57port 8089, and writes the data in the *proxmox* database