普罗米修斯prometheus+grafana+windows_exporter监控Windows

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

一、安装windows_exporter
要获取服务器运行时的参数,比如当前的CPU负载、内存消耗、硬盘使用、网络IO等等,就可以在服务器上运行一个node_exporter,它能把这些参数收集好,并且暴露出一个HTTP接口以便你访问查询。

1、下载好直接双击安装

2、验证访问http://IP:9182

部分数据

二、编辑prometheus.yml文件

[root@MonitorServer ~]# vi /opt/prometheus/prometheus.yml #添加以下内容

  - job_name: 'Windows_Server'
    scrape_interval: 10s
    static_configs:
    - targets: ['30.0.0.99:9182']
      labels:
        instance: Windowsname

[root@MonitorServer ~]# systemctl restart prometheus

1、验证

2、搭建Prometheus仪表盘
Import Dashboard: 10467

普罗米修斯prometheus+grafana+windows_exporter监控Windows
暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇