参考:[https://github.com/digitalocean/ceph_exporter]
-
运行 ceph_exporter (/etc/ceph 为ceph集群的配置文件)
docker run -v /etc/ceph:/etc/ceph -p=9128:9128 -it digitalocean/ceph_exporter -
在prometheus 配置文件中添加job
- job_name: ceph-exporter
static_configs:
- targets: ['$DOCKERHOST:9128']
- job_name: ceph-exporter
-
在grafana 中添加监控ceph的dashbord
网友评论