Russel053/ 20 5 月, 2020/ Proxmox VE

新增檔案:

nano /etc/pve/status.cfg

填入 influxdb 連線資訊:

influxdb:
   server 10.0.1.167
   port 8089

influxdb 建立 Database:

influx

create database Proxmox;

CREATE RETENTION POLICY "180d" ON "Proxmox" DURATION 180d REPLICATION 1 DEFAULT

在 /etc/influxdb/influxdb.conf 填入:

nano /etc/influxdb/influxdb.conf
[[udp]]
   enabled = true
   bind-address = "0.0.0.0:8089"
   database = "Proxmox"
   batch-size = 1000
   batch-timeout = "1s"

重啟服務:

service pve-cluster restart

確認資料是否有傳送:

tcpdump udp -i vmbr0 -vv port 8089
Share this Post