重庆思庄Oracle、KingBase、PostgreSQL、Redhat认证学习论坛

标题: prometheus监控windows操作系统exporter的部署 [打印本页]

作者: mahan    时间: 5 天前
标题: prometheus监控windows操作系统exporter的部署
WINDOWS安装方式:
1、在C盘创建目录windows_exporter
2、将安装包复制到windows_exporter目录中
3、打开CDM执行如下三条命令来启动服务
sc create windows_exporter binPath= "C:\windows_exporter\windows_exporter-0.18.1-amd64.exe" start= auto DisplayName= "Windows Exporter"

sc start windows_exporter

sc query windows_exporter

注意:一定要在cmd下运行,powershell是调用不了sc命令的






欢迎光临 重庆思庄Oracle、KingBase、PostgreSQL、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2