From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Mick Subject: Re: status monitoring options for ceph cluster Date: Wed, 02 Jan 2013 15:02:40 -0800 Message-ID: <50E4BC90.4030407@inktank.com> References: <50E44D79.6070809@widodh.nl> <50E45909.4080907@inktank.com> <50E4619C.6070300@conversis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mail-pb0-f44.google.com ([209.85.160.44]:54913 "EHLO mail-pb0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752718Ab3ABXCo (ORCPT ); Wed, 2 Jan 2013 18:02:44 -0500 Received: by mail-pb0-f44.google.com with SMTP id uo1so8112569pbc.31 for ; Wed, 02 Jan 2013 15:02:44 -0800 (PST) In-Reply-To: <50E4619C.6070300@conversis.de> Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Dennis Jacobfeuerborn Cc: Joao Eduardo Luis , Wido den Hollander , Ugis , ceph-devel@vger.kernel.org There are plans being discussed for RESTful interfaces for configuration and monitoring; no timetable yet but it's definitely on our radar, and we'll discuss design etc. here when it starts happening; anyone wanting to participate is of course welcome. On 01/02/2013 08:34 AM, Dennis Jacobfeuerborn wrote: > On 01/02/2013 04:58 PM, Joao Eduardo Luis wrote: >> On 01/02/2013 03:08 PM, Wido den Hollander wrote: >>> On 01/02/2013 04:05 PM, Ugis wrote: >>>> Hi all, >>>> >>>> I am planning to set up monitoring of ceph cluster relying on output >>>> of commands: >>>> >>>> #ceph health >>>> #ceph -s >>>> >>>> The need is to retrieve certain values, for example %degraded; >>>> proportion "X GB / Y GB avail" to calculate available space%. I plan >>>> to graph those values via zabbix and set up triggers for certain >>>> tresholds. >>>> May be somebody already has written shell parser for getting values >>>> from output of these commands? >>>> >>>> Probably this ir wider question - what is the intended approach for >>>> ceph cluster monitoring? What do you guys use? >>> >>> You might want to take a look at: http://tracker.newdream.net/issues/685 >>> >>> In version 0.35 a json output was added. I've never tried it before, but >>> you might want to look at that. >> >> Currently, the only command that will output useful json for this kind of >> thing is 'ceph report'. I am finishing up on a patch to add json output >> capabilities to 'ceph health' and 'ceph status' though, but wasn't aiming >> at doing it with such level of detail -- basically, just output the same >> info as their plain counterparts, but using json instead. > > I'm interested in this topic as well. What is also needed is a way to query > the state of the individual daemons on each machine in the cluster. > > Regards, > Dennis > > -- > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >