Ceph - Cluster

Dashboard

Ceph Cluster overview.
Last updated: 6 months ago

Downloads: 674

Reviews: 0

  • ceph_cluster_3.png
    ceph_cluster_3.png
  • ceph_cluster_5.png
    ceph_cluster_5.png
  • ceph_cluster_4.png
    ceph_cluster_4.png

Description

This dashboard is targeted for service managers or teams which manage more than one ceph instances. It shows all the stats per cluster and easy to switch between them. This dashboard uses native Ceph prometheus module (ceph_exporter not needed) for ceph stats and node exporter for node stats

Requisites

  • Ceph 12.2 Luminous or Ceph 13.2 Mimic (Note that some of the stats are only reported by Mimic instances)
  • Node Exporter for node metrics

Setup

  • Enable ceph prometheus module on every cluster: ceph mgr module enable prometheus
  • Allow traffic through the port 9283 of the machines containing the ceph mgr
  • To ensure that you don't lose the metrics between mgr fail-overs, add all the mgr to the target section in Prometheus (depending of the prometheus scrape interval some of the metrics could be lost during the failover)
  • In prometheus configuration, create a new label when defining the ceph targets and also the node targets, like:

{ceph-targets}

{
        "targets": [ "mycluster-mgr-1:9283", "mycluster-mgr-2:9283", "mycluster-mgr-3:9283" ],
        "labels": {
           "cluster":"mycluster"
        }
}

{node-exporter-targets}

{
        "targets": [ "mycluster-node-1:9100", "mycluster-node-2:9100", "mycluster-node-3:9100" ],
        "labels": {
           "cluster":"mycluster"
        }
}
  • In case you don't use the above label nomenclature, adapt accordingly the cluster variable in Grafana