Ceph: monitoring with the Ceph Admin API
For quite some time, Ceph has an admin API. This article demonstrates and gives some hints to monitor Ceph.
Check health status:
$ curl localhost:5000/api/v0.1/health |
OSD tree:
$ curl localhost:5000/api/v0.1/osd/tree |
OSD status:
$ curl localhost:5000/api/v0.1/osd/stat |
Monitors status:
$ curl localhost:5000/api/v0.1/mon/stat |
For a complete API overview please look at: http://dmsimard.com/2014/01/01/documentation-for-ceph-rest-api/
Comments