collectd: monitor cluster stats
#4 Updated by Sage Weil over 8 years ago
Wido den Hollander wrote:
Isn't this related to #685 ?
Yes. There are no libceph bindings, though (at least not yet). The interface is currently
ceph osd dump --format=json
ceph pg dump --format=json [pools|pgs|osds]
to get a json dump of the data structures.
I've also written a backend for collectd some time ago where it uses RADOS as a backend storage instead of RRD or CSV.
Nice! One probably shouldn't use that for monitoring ceph itself :) but it would be useful for monitoring other services.
#8 Updated by Colin McCabe over 8 years ago
- Status changed from New to Resolved
I implemented the proposed metrics, as well as these three additional ones:
num_objects_missing_on_primary num_objects_degraded num_objects_unfound
ideas welcome for anything else we can/should be monitoring!
Also note that your Ceph build needs to include commit:44b19ac716d71783eb5c021cbefdc725c5e88b16 to get this working.