Installation
ceph mgr module enable prometheusEnable Pool metrics
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
ceph config set mgr mgr/prometheus/exclude_perf_counters falseConfigure frewall
$ perl /home/stor2rrd/stor2rrd/bin/conntest.pl <CEPH MGR IP> 9283 Connection to "<CEPH MGR IP>" on port "9283" is ok
$ crontab -l | grep load_cephperf.sh $
$ crontab -e # Ceph 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/stor2rrd/stor2rrd/load_cephperf.sh > /home/stor2rrd/stor2rrd/load_cephperf.out 2>&1
$ crontab -e # STOR2RRD UI (just ONE entry of load.sh must be there) 5 * * * * /home/stor2rrd/stor2rrd/load.sh > /home/stor2rrd/stor2rrd/load.out 2>&1
$ cd /home/stor2rrd/stor2rrd $ ./load.sh