Re: [ceph-users] Pool statistics via API

2019-10-15 Thread Ernesto Puerta
Hi Sinan, Unfortunately, Ceph-Dashboard v2 didn't show up until Mimic release (Luminous one is v1). Kind regards, Ernesto Puerta He / Him / His Senior Software Engineer, Ceph Red Hat On Mon, Oct 14, 2019 at 4:17 AM Sinan Polat wrote: > H

Re: [ceph-users] Pool statistics via API

2019-10-13 Thread Sinan Polat
Hi Ernesto, I just opened the Dashboard and there is no menu at the top-right. Also no "?". I have a menu at the top-left which has the following items: Cluster health, Cluster, Block and Filesystems. Running Ceph version 12.2.8-89. Kind regards, Sinan Polat > Op 11 oktober 2019 om 22:09 schree

Re: [ceph-users] Pool statistics via API

2019-10-11 Thread Sinan Polat
Hi Ernesto, Thanks for the information! I didn’t know about the existence of the REST Dashboard API. I will check that out, Thanks again! Sinan > Op 11 okt. 2019 om 21:06 heeft Ernesto Puerta het > volgende geschreven: > > Hi Sinan, > > If it's in the Dashboard, it sure comes from the Dashb

Re: [ceph-users] Pool statistics via API

2019-10-11 Thread Ernesto Puerta
Hi Sinan, If it's in the Dashboard, it sure comes from the Dashboard REST API (which is an API completely unrelated to the RESTful Module). To check the Dashboard REST API, log in there and click on the top-right "?" menu, and in the dropdown, click on "API". That will lead you to the Swagger/Ope

Re: [ceph-users] Pool statistics via API

2019-10-10 Thread Konstantin Shalygin
Currently I am getting the pool statistics (especially USED/MAX AVAIL) via the command line: ceph df -f json-pretty| jq '.pools[] | select(.name == "poolname") | .stats.max_avail' ceph df -f json-pretty| jq '.pools[] | select(.name == "poolname") | .stats.bytes_used' Command "ceph df" does not sh

[ceph-users] Pool statistics via API

2019-10-10 Thread Sinan Polat
Hi, Currently I am getting the pool statistics (especially USED/MAX AVAIL) via the command line: ceph df -f json-pretty| jq '.pools[] | select(.name == "poolname") | .stats.max_avail' ceph df -f json-pretty| jq '.pools[] | select(.name == "poolname") | .stats.bytes_used' Command "ceph df" does no