External metric server

From Proxmox VE
Revision as of 13:21, 13 October 2015 by Alexandre Derumier (talk | contribs) (Created page with "= Introduction = Since Proxmox 4.0, it's possible to send metrics stats (host,vms,storage) to external metrics servers in addition to embedded proxmox rrd graphs Currently ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduction

Since Proxmox 4.0, it's possible to send metrics stats (host,vms,storage) to external metrics servers in addition to embedded proxmox rrd graphs

Currently supported :

- graphite (http://graphite.wikidot.com/)

- influxdb 0.9 ( https://influxdb.com/ )

you can generate graphs && dashbaord with grafana: http://grafana.org/


Graphite plugin configuration

create a file /etc/pve/status.cfg

graphite:
      server yourgraphiteserver.fqdn
      port 2003
      path proxmox

Your graphite carbon server need to listen to udp

Influxdb 0.9 plugin configuration

create a file /etc/pve/status.cfg

influxdb:
      server yourinfluxdbserver.fqdn
      port 8089


you need to configure your influxdbserver to listen to an udp port. In this exemple we defined port 8089 with a database "proxmox"

influxdb.conf (on your influxdb server)

[[udp]]
  enabled = true
  bind-address = "0.0.0.0:8089"
  database = "proxmox"
  batch-size = 1000
  batch-timeout = "1s"