prometheus 监控 ceph

2019-05-30  本文已影响0人  shangyaqi

参考:[https://github.com/digitalocean/ceph_exporter]

  1. 运行 ceph_exporter (/etc/ceph 为ceph集群的配置文件)
    docker run -v /etc/ceph:/etc/ceph -p=9128:9128 -it digitalocean/ceph_exporter

  2. 在prometheus 配置文件中添加job

    • job_name: ceph-exporter
      static_configs:
      - targets: ['$DOCKERHOST:9128']
  3. 在grafana 中添加监控ceph的dashbord

[https://grafana.com/dashboards/917]

上一篇 下一篇

猜你喜欢

热点阅读