Project

General

Profile

Actions

Feature #1269

closed

collectd: monitor cluster stats

Added by Sage Weil almost 13 years ago. Updated over 12 years ago.

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

0%

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

Related issues 2 (0 open2 closed)

Related to Ceph - Feature #685: libcephmon: interact with ceph monitors via a libraryDuplicateDan Mick01/06/2011

Actions
Has duplicate Ceph - Feature #1327: collectd plugin to suck in monitor statsClosed07/22/2011

Actions
Actions #1

Updated by Sage Weil almost 13 years ago

  • Target version set to v0.32
Actions #2

Updated by Sage Weil almost 13 years ago

  • Target version changed from v0.32 to v0.33
  • Translation missing: en.field_position set to 1
Actions #3

Updated by Wido den Hollander almost 13 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.

Actions #4

Updated by Sage Weil over 12 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.

Actions #5

Updated by Sage Weil over 12 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
Actions #6

Updated by Colin McCabe over 12 years ago

  • Assignee set to Colin McCabe
Actions #7

Updated by Sage Weil over 12 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 ...

Actions #8

Updated by Colin McCabe over 12 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.

Actions

Also available in: Atom PDF