Project

General

Profile

Feature #1269

collectd: monitor cluster stats

Added by Sage Weil almost 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Related issues

Related to Ceph - Feature #685: libcephmon: interact with ceph monitors via a library Duplicate 01/06/2011
Duplicated by Ceph - Feature #1327: collectd plugin to suck in monitor stats Closed 07/22/2011

History

#1 Updated by Sage Weil almost 9 years ago

  • Target version set to v0.32

#2 Updated by Sage Weil almost 9 years ago

  • Target version changed from v0.32 to v0.33
  • translation missing: en.field_position set to 1

#3 Updated by Wido den Hollander over 8 years ago

Isn't this related to #685 ?

I've also written a backend for collectd some time ago where it uses RADOS as a backend storage instead of RRD or CSV.

#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.

#5 Updated by Sage Weil over 8 years ago

  • translation missing: en.field_story_points set to 3
  • translation missing: en.field_position deleted (22)
  • translation missing: en.field_position set to 18

#6 Updated by Colin McCabe over 8 years ago

  • Assignee set to Colin McCabe

#7 Updated by Sage Weil over 8 years ago

number of osds
number of osds up/down
number of osds in/out
df info : total disk available, used, free
number of pools
number of objects
number of bytes
number of pgs
number of pgs in each state
number of monitors
number of monitors in quorum ...

#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.

Also available in: Atom PDF