Prometheus + Grafana 使用 Node Exporter 监控主机

参考:https://songjiayang.gitbooks.io/prometheus/content/exporter/nodeexporter.html
官方下载:https://prometheus.io/download/
Grafana Dashboard:https://grafana.com/grafana/dashboards/8919

Node Exporter部署

# tar -zxf node_exporter-0.18.1.linux-amd64.tar.gz -C /usr/local/
# mv /usr/local/node_exporter-0.18.1.linux-amd64 /usr/local/node_exporter
# cd /usr/local/node_exporter/
# nohup ./node_exporter &
# firewall-cmd --permanent --add-port=9100/tcp
# firewall-cmd --reload

Prometheus配置

- job_name: linux
  static_configs:
    - targets: ['192.168.16.80:9100']
      labels:
        instance: node-80
        group: inner
    - targets: ['192.168.16.82:9100']
      labels:
        instance: node-82
        group: inner
    - targets: ['192.168.16.86:9100']
      labels:
        instance: node-86
        group: inner
    - targets: ['192.168.16.87:9100']
      labels:
        instance: node-87
        group: inner
    - targets: ['192.168.16.88:9100']
      labels:
        instance: node-88
        group: inner
上一篇 CentOS下部署Prometheus
下一篇 Prometheus + Grafana 使用 redis_exporter 监控 Redis
目录
文章列表
1 整合Shiro出现org.quartz.Scheduler错误
整合Shiro出现org.quartz.Scheduler错误
2
Python搭建HTTP服务器:Windows下使用virtualenv安装Flask
Python搭建HTTP服务器:Windows下使用virtualenv安装Flask
3
有赞前端组件库Vant
有赞前端组件库Vant
4
H5唤起App技术DeepLink方案总结
H5唤起App技术DeepLink方案总结
5
SpringBoot+Redis布隆过滤器防恶意流量击穿缓存
SpringBoot+Redis布隆过滤器防恶意流量击穿缓存
最新评论
一位WordPress评论者
一位WordPress评论者
2月12日
您好,这是一条评论。若需要审核、编辑或删除评论,请访问仪表盘的评论界面。评论者头像来自 Gravatar。