Re: Simple API to have cluster healthcheck ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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 to
> provide simple way to get cluster health
> 
> RESTful module do a lot of things but I didn’t find the simple health
> check result – moreover I don’t want monitoring user to be able to do
> all the command in this module.
> 
> Dashboard is a dashboard so could not get health thru curl
> 
>  
> 
> It seems it was possible with “ceph-rest-api” but it looks like this
> tools is no more available in ceph-common…
> 
>  
> 
> Is there a simple way to have this ? (without writing python mgr module
> which will take a lot of time for this)
> 

Not at this time, but I do agree with you. A very simple JSON API which
is read-only would be very welcome.

I've been playing with the idea to create a Mgr Module called
'status-api' or something which just allows you to query certain
elements like:

- health
- data usage
- performance (?)

But as time is limited I haven't gotten to this yet.

Wido

>  
> 
> Thank you
> 
> Vincent
> 
>  
> 
> This email and any attachments are intended solely for the use of the
> individual or entity to whom it is addressed and may be confidential
> and/or privileged.
> 
> If you are not one of the named recipients or have received this email
> in error,
> 
> (i) you should not read, disclose, or copy it,
> 
> (ii) please notify sender of your receipt by reply email and delete this
> email and all attachments,
> 
> (iii) Dassault Systèmes does not accept or assume any liability or
> responsibility for any use of or reliance on this email.
> 
> 
> Please be informed that your personal data are processed according to
> our data privacy policy as described on our website. Should you have any
> questions related to personal data protection, please contact 3DS Data
> Protection Officer at 3DS.compliance-privacy@xxxxxxx
> <mailto:3DS.compliance-privacy@xxxxxxx>
> 
> 
> For other languages, go to https://www.3ds.com/terms/email-disclaimer
> 
> 
> _______________________________________________
> 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




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux