JiaHe

相遇即是缘

下载安装

windows_exporter.exe 下载地址 https://github.com/prometheus-community/windows_exporter/releases

可以使用 nssm 安装为Windows服务

配置Prometheus

修改对应IP

/opt/prometheus/prometheus.yml
- job_name: "Windows"
static_configs:
- targets: ["IP:9182"]
# 重启prometheus
systemctl restart prometheus
systemctl status prometheus

配置Grafana

  1. 新增Dashboard
  2. 填写https://grafana.com/grafana/dashboards/20763
  3. 选择Prometheus
  4. 导入

Windows Exporter Dashboard 2024