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. > Cheers, Dan > -- Wido den Hollander 42on B.V. Ceph trainer and consultant Phone: +31 (0)20 700 9902 Skype: contact42on _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com