me小怪兽

导航

windows_exporter安装

https://github.com/prometheus-community/windows_exporter ---参考链接
msiexec /i D:\windows_exporter-0.15.0-amd64.msi LISTEN_PORT=20051 ---使用20051端口启动
安装服务方式:
1.下载windows_exporter-0.15.0-amd64.msi
2.上传windows_exporter-0.15.0-amd64.msi 到d盘某个目录下(例如:d盘)
3.执行win+r   cmd管理员运行   msiexec /i D:\windows_exporter-0.15.0-amd64.msi LISTEN_PORT=20051


4.在服务中生成windows_exporter,检查端口是否被监听
卸载服务方式:
1. sc delete windows_exporter 卸载安装好的服务
2. 删除 C:\Program Files\windows_exporter 所有

posted on 2022-08-31 23:47  me小怪兽  阅读(1692)  评论(0编辑  收藏  举报