1 On the ceph node install collectd
2 - tested with collectd-5.7.0-4.el7ost.x86_64
4 Interval is set to 10 in collectd.conf
6 write_graphite plugin configured as follows;
8 LoadPlugin "write_graphite"
9 <Plugin write_graphite>
19 PreserveSeparator true
20 SeparateInstances true
24 5.7 introduces the PreserveSeparator parm, allowing the type instance name to
25 contain '.'. At the moment I used .'s in the metric name since the same plugin
30 This is what an entry looks like as seen in influx
31 collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.pools._rgw_root.num_bytes_recovered
35 prefix | hostname | plugin name | type |ceph|metric| metric name
38 In the case of pools, the metric name is prefixed by the pool name
40 Added cephmetrics.conf to /etc/collectd.d dir
42 mkdir -p /usr/lib64/collectd/python-plugins
44 to the plugin dir, I copied
50 1. Singlestat panels don't track the graph panel values 100% of the time
55 Container Configuration - pulled from docker.io registry
56 - grafana - grafana/grafana (official image)
57 - graphite - nickstenning/graphite - https://hub.docker.com/r/nickstenning/graphite/