Ceph monitoring
In case of usage of
Virtual Appliance
- Use local account lpar2rrd for hosting of STOR2RRD on the virtual appliance
- Use /home/stor2rrd/stor2rrd as the product home
STOR2RRD collects data from Prometheus export module.
Ceph version 14.2 (Nautilus) and newer are supported.
Enable Prometheus export module
ceph mgr module enable prometheus
Enable Pool metrics
Selected pools
ceph config set mgr mgr/prometheus/rbd_stats_pools "pool1,pool2,poolN"
All pools
ceph config set mgr mgr/prometheus/rbd_stats_pools "*"
Enable performance counters in Prometheus
With the introduction of ceph-exporter daemon, the Prometheus module will no longer export Ceph daemon perf counters as prometheus metrics by default.
However, one may re-enable exporting these metrics by setting the module option exclude_perf_counters to false:
ceph config set mgr mgr/prometheus/exclude_perf_counters false
Configure frewall
Enable access to Prometheus export module from LPAR2RRD appliance.
By default module accepts HTTP requests on port 9283.
Check connectivity:
$ perl /home/stor2rrd/stor2rrd/bin/conntest.pl <CEPH MGR IP> 9283
Connection to "<CEPH MGR IP>" on port "9283" is ok
STOR2RRD configuration