External Metrics Server for Proxmox

到PVE Host 新增:

nano /etc/pve/status.cfg
influxdb:
  server <DB_IP>
	port 8089

新增 influxdb UDP接收:

nano /etc/influxdb/influxdb.conf

[[udp]]
  enabled = true
  bind-address = "0.0.0.0:8089"
  database = "Proxmox"

新增DB:

influxd
>>CREATE DATABASE Proxmox;
>>SHOW DATABASES;

查看資料:

show series
ballooninfo,host=kvm.dev-eth0.test,object=qemu,vmid=101
blockstat,host=kvm.dev-eth0.test,instance=ide0,object=qemu,vmid=101
blockstat,host=proxmox,object=nodes
cpustat,host=proxmox,object=nodes

Grafana Dashboard:

https://grafana.com/dashboards/5872
阅读剩余
THE END