On 18-01-16 10:22, Alex Leake wrote: > Hello All. > > > Does anyone know if it's possible to retrieve the remaining OSD capacity > via the Python or C API? > Using a mon_command in librados you can send a 'osd df' if you want to. See this snippet: https://gist.github.com/wido/ac53ae01d661dd57f4a8 Here I sent the command 'status', but you can change that to 'osd df' and you should get back JSON. Wido > > I can get all other sorts of information, but I thought it would be nice > to see near-full OSDs via the API. > > > > Kind Regards, > > Alex. > > > > _______________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com