Re: [ceph-users] Monitoring ceph statistics using rados python module

2014-05-14 Thread Adrian Banasiak
haomaiw...@gmail.com: Not sure your demand. I use ceph --admin-daemon /var/run/ceph/ceph-osd.x.asok perf dump to get the monitor infos. And the result can be parsed by simplejson easily via python. On Tue, May 13, 2014 at 10:56 PM, Adrian Banasiak adr...@banasiak.it wrote: Hi, i am working

[ceph-users] Monitoring ceph statistics

2014-05-13 Thread Adrian Banasiak
= conn.open_ioctx(pool) stats[pool] = io.get_stats() read+=int(stats[pool]['num_rd']) write+=int(stats[pool]['num_wr']) Could someone share his knowledge about rados module for retriving ceph statistics? BTW Ceph is awesome! -- Best regards, Adrian Banasiak email: adr

[ceph-users] Monitoring ceph statistics using rados python module

2014-05-13 Thread Adrian Banasiak
= conn.open_ioctx(pool) stats[pool] = io.get_stats() read+=int(stats[pool]['num_rd']) write+=int(stats[pool]['num_wr']) Could someone share his knowledge about rados module for retriving ceph statistics? BTW Ceph is awesome! -- Best regards, Adrian Banasiak email: adr

Re: [ceph-users] Monitoring ceph statistics using rados python module

2014-05-13 Thread Adrian Banasiak
ceph --admin-daemon /var/run/ceph/ceph-osd.x.asok perf dump to get the monitor infos. And the result can be parsed by simplejson easily via python. On Tue, May 13, 2014 at 10:56 PM, Adrian Banasiak adr...@banasiak.it wrote: Hi, i am working with test Ceph cluster and now I want to implement