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