1-下载镜像
prom/node-exporter:v1.7.0 # 9100
2- 配置 prometheus 监控 node
- job_name: "-node-exporter"
static_configs:
- targets:
- "10.233.103.229:9100"
- "10.233.108.132:9100"
- "10.233.110.114:9100"
- "10.233.96.27:9100"
- "10.233.97.17:9100"
- "10.233.98.111:9100"
地址可以更换为 node 地址
- job_name: "-node-exporter"
static_configs:
- targets:
- "192.168.1.215:31017"
- "192.168.1.212:31017"
- "192.168.1.211:31017"
- "192.168.1.210:31017"
- "192.168.1.209:31017"
- "192.168.1.208:31017"
配置grafna
1860
https://grafana.com/grafana/dashboards/1860-node-exporter-full/