Re: ceph monitoring with graphite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 27, 2015 at 10:37 AM, Wido den Hollander <wido@xxxxxxxx> wrote:
> On 08/26/2015 04:33 PM, Dan van der Ster wrote:
>> Hi Wido,
>>
>> On Wed, Aug 26, 2015 at 10:36 AM, Wido den Hollander <wido@xxxxxxxx> wrote:
>>> I'm sending pool statistics to Graphite
>>
>> We're doing the same -- stripping invalid chars as needed -- and I
>> would guess that lots of people have written similar json2graphite
>> convertor scripts for Ceph monitoring in the recent months.
>>
>> It makes me wonder if it might be useful if Ceph had a --format mode
>> to output df/stats/perf commands directly in graphite compatible text.
>> Shouldn't be too difficult to write.
>>
>
> Could be indeed, or some standard Graphite scripts in the repository.
>
> I've written this: https://gist.github.com/wido/e815faedb393195c5a25
>
> It sends per pool statistics to Graphite so I can Graph which pool does
> most of the I/O and how data grows.
>
> I still want to extend it so that you can run it on any monitor, but
> only the leading monitor will actually send out statistics.

If you would like an example of some python that does that, here it is:
https://github.com/ceph/Diamond/blob/calamari/src/collectors/ceph/ceph.py#L401

John
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux