Windows Exporter监控win10
安装
下载安装包,使用.msi格式能自动生成服务
GitHub - prometheus-community/windows_exporter: Prometheus exporter for Windows machines
配置
服务
配置文件
放置于C:\Program Files\windows_exporter\config.yml
1 |
|
修改注册表
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\windows_exporter
ImagePath修改为”C:\Program Files\windows_exporter\windows_exporter.exe” –log.file eventlog –config.file=”C:\Program Files\windows_exporter\config.yml”