Re: [ceph-users] Simple API to have cluster healthcheck ?

2019-01-31 Thread Ben Kerr
lf.body = self.oldhandler(*args, **kwargs)\n File > \"/usr/lib/python2.7/site-packages/cherrypy/_cperror.py\", line 386, in > __call__\n raise self\nNotFou > nd: (404, \"The path '/api/health/minimal' was not found.\")\n"} > > Vincent > > -M

Re: [ceph-users] Simple API to have cluster healthcheck ?

2019-01-31 Thread PHARABOT Vincent
r()\n File \"/usr/lib/python2.7/site-packages/cherrypy/lib/encoding.py\", line 188, in __call__\n self.body = self.oldhandler(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/cherrypy/_cperror.py\", line 386, in __call__\n raise self\nNotFou nd: (404, \"The path

Re: [ceph-users] Simple API to have cluster healthcheck ?

2019-01-30 Thread Lenz Grimmer
Am 30. Januar 2019 19:33:14 MEZ schrieb PHARABOT Vincent : >Thanks for the info >But, nope, on Mimic (13.2.4) /api/health ends in 404 (/api/health/full, >/api/health/minimal also...) On which node did you try to access the API? Did you enable the Dashboard module in Ceph manager? Lenz -- D

Re: [ceph-users] Simple API to have cluster healthcheck ?

2019-01-30 Thread Martin Verges
Hello Vincent, when you install or migrate to croit, you can get a large number of REST API's (see https://croit.io/docs/v1809/cluster#get-cluster-status) and we support read-only users that you can create in our GUI. If you want to use our API's from the cli, you can use our httpie-auth plugin fr

Re: [ceph-users] Simple API to have cluster healthcheck ?

2019-01-30 Thread PHARABOT Vincent
:26 À : ceph-users@lists.ceph.com Objet : Re: [ceph-users] Simple API to have cluster healthcheck ? Hi, On 1/30/19 2:02 PM, PHARABOT Vincent wrote: > I have my cluster set up correctly now (thank you again for the help) What version of Ceph is this? > I am seeking now a way to get cluster

Re: [ceph-users] Simple API to have cluster healthcheck ?

2019-01-30 Thread Lenz Grimmer
Hi, On 1/30/19 2:02 PM, PHARABOT Vincent wrote: > I have my cluster set up correctly now (thank you again for the help) What version of Ceph is this? > I am seeking now a way to get cluster health thru API (REST) with curl > command. > > I had a look at manager / RESTful and Dashboard but none

Re: [ceph-users] Simple API to have cluster healthcheck ?

2019-01-30 Thread PHARABOT Vincent
Hi Yes it could do the job in the meantime Thank you ! Vincent -Message d'origine- De : Alexandru Cucu [mailto:m...@alexcucu.ro] Envoyé : mercredi 30 janvier 2019 14:31 À : PHARABOT Vincent Cc : ceph-users@lists.ceph.com Objet : Re: [ceph-users] Simple API to have cluster health

Re: [ceph-users] Simple API to have cluster healthcheck ?

2019-01-30 Thread Alexandru Cucu
Hello, Not exactly what you were looking for, but you could use the Prometheus plugin for ceph-mgr and get the health status from the metrics. curl -s http://ceph-mgr-node:9283/metrics | grep ^ceph_health_status On Wed, Jan 30, 2019 at 3:04 PM PHARABOT Vincent wrote: > > Hello, > > > > I h

Re: [ceph-users] Simple API to have cluster healthcheck ?

2019-01-30 Thread Wido den Hollander
On 1/30/19 2:02 PM, PHARABOT Vincent wrote: > Hello, > >   > > I have my cluster set up correctly now (thank you again for the help) > >   > > I am seeking now a way to get cluster health thru API (REST) with curl > command. > > I had a look at manager / RESTful and Dashboard but none seems

[ceph-users] Simple API to have cluster healthcheck ?

2019-01-30 Thread PHARABOT Vincent
Hello, I have my cluster set up correctly now (thank you again for the help) I am seeking now a way to get cluster health thru API (REST) with curl command. I had a look at manager / RESTful and Dashboard but none seems to provide simple way to get cluster health RESTful module do a lot of thing