Proxmox:External Metric Server 設置
新增檔案:
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
阅读剩余
THE END