Prometheus+Grafana+windows_exporter 监控 Windows 系统
Prometheus Grafana DevOps 大约 832 字下载地址
分为exe
和msi
。
https://github.com/prometheus-community/windows_exporter/releases
运行 windows_exporter
双击运行exe
文件即可。
windows_exporter 默认端口
修改 Prometheus 配置
scrape_configs
下新增job_name
为windows
(名称随意)
- job_name: 'windows'
static_configs:
- targets: ['192.168.1.2:9182']
完整的scrape_configs
如下
scrape_configs:
- job_name: "prometheus"
static_configs:
- targets: ["localhost:9090"]
- job_name: 'linux'
static_configs:
- targets: ['192.168.1.2:9182']
重启 Prometheus
重启后可查看windows_exporter
是否上线。
Grafana Dashboard
Windows Node (fixed for v0.13.0+): https://grafana.com/grafana/dashboards/12422
开源地址
阅读 1280 · 发布于 2022-02-20
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb扫描下方二维码关注公众号和小程序↓↓↓

昵称: