Prometheus+Grafana+windows_exporter 监控 Windows 系统

Prometheus Grafana DevOps About 832 words

下载地址

分为exemsi

https://github.com/prometheus-community/windows_exporter/releases

运行 windows_exporter

双击运行exe文件即可。

windows_exporter 默认端口

http://localhost:9182

修改 Prometheus 配置

scrape_configs下新增job_namewindows(名称随意)

  - 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是否上线。

http://localhost:9090/targets

Grafana Dashboard

1 windows_exporter for Prometheus Dashboard CN v20201012: https://grafana.com/grafana/dashboards/10467

Windows Node (fixed for v0.13.0+): https://grafana.com/grafana/dashboards/12422

开源地址

https://github.com/prometheus-community/windows_exporter

Views: 3,085 · Posted: 2022-02-20

————        END        ————

Give me a Star, Thanks:)

https://github.com/fendoudebb/LiteNote

扫描下方二维码关注公众号和小程序↓↓↓

扫描下方二维码关注公众号和小程序↓↓↓


Today On History
Browsing Refresh