编辑
2024-04-09
Prometheus
0
请注意,本文编写于 434 天前,最后修改于 434 天前,其中某些信息可能已经过时。

上传下面文件 到 C:\windows_exporter\

  • windows_exporter-0.25.1-amd64.exe
  • configuration.yml
  • tlsCertificate.crt
  • tlsCertificate.key

管理员身份运行 cmd命令行界面

先停止原来的服务并删除

sc stop windows_exporter sc delete windows_exporter

创建新的服务

sc create windows_exporter binpath= ""C:\windows_exporter\windows_exporter-0.25.1-amd64.exe" --web.config.file "C:\windows_exporter\configuration.yml"" type= own start= auto displayname= windows_exporter

启动服务

sc start windows_exporter

访问服务

https://127.0.0.1:9182/
如果对你有用的话,可以打赏哦
打赏
ali pay
wechat pay

本文作者:澳门🇲🇴上班的IT人

本文链接:

版权声明:本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!