PVE 安装 node-exporter

sudo apt install python3 python3-pip

sudo pip3 install prometheus-pve-exporter

 

sudo tee /etc/prometheus/pve.yml<<EOF

default:
    user: <Username>@pam
    password: <Password>
    verify_ssl: false
EOF

sudo tee /etc/systemd/system/prometheus-pve-exporter.service<<EOF
[Unit]
Description=Prometheus exporter for Proxmox VE
Documentation=https://github.com/znerol/prometheus-pve-exporter

[Service]
Restart=always
User=prometheus
ExecStart=/usr/local/bin/pve_exporter /etc/prometheus/pve.yml

[Install]
WantedBy=multi-user.target
EOF


systemctl daemon-reload
systemctl start prometheus-pve-exporter
systemctl enable prometheus-pve-exporter

测试

http://<Service IP>:9221/pve

给TA打赏
共{{data.count}}人
人已打赏
PVE

Proxmox PVE 遇到 Could not open 'xxxx': Read-only file system

2021-8-22 18:24:05

PVE

PVE 7+ 更换国内镜像源

2022-4-18 18:30:30

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索