-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metricbeat Ceph stats collection breaks for Ceph Mimic release #7429
Comments
Seems related to #7723 |
Is there any chance that Metricbeat Ceph module will support the new Ceph Restful API? |
@eihkoh Updated Ceph module is coming in the next release. |
@sorantis.. Thanks a lot. which release will it be? 7.6.x? |
@eihkoh 7.7.0 |
Does it use the correct API base url? The code I see uses "/api/v0.1", which is incorrect for ceph Mimic and later releases. The code in the 7.7 branch as of today is still broken and using the old API.
|
@wyllys66 It's not broken, it uses old API for support compatibility with old releases. As you noticed it doesn't work with Mimic and later releases. Newer releases base on Ceph Manager Daemon and the Restful module (https://docs.ceph.com/docs/master/mgr/restful/). Metricsets with names starting with "mgr_" prefix are compatible with ceph-mgr. For reference: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-ceph.html |
OK, thanks for the clarification. |
I will resolve this one in favor of #7723 |
I use metricbeat 7.6.2 collect ceph data(mimic ) ,the conig file is:
|
This was initially reported by jrosser on discuss at https://discuss.elastic.co/t/metricbeat-ceph-stats-collection-breaks-for-ceph-mimic-release/137496
Metricbeat's Ceph module queries the API provided by ceph-rest-api, a command-line tool provided with Ceph versions up to Luminous. This is documented here:
http://docs.ceph.com/docs/luminous/man/8/ceph-rest-api/
This was deprecated under Luminous and has been removed completely from the latest Ceph release, Mimic. (See "Notable Changes" on this page: https://ceph.com/releases/v12-2-5-luminous-released/ )
The replacement is the more comprehensive and more secure Restful plugin for the ceph-mgr service. This is documented here:
http://docs.ceph.com/docs/mimic/mgr/restful/
This uses HTTPS and requires authentication by the client: see
https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/3/html/ceph_management_api/restful-api#enabling-and-securing-the-restful-plug-in
It would be great if MetricBeat understood the new Ceph API for collecting stats.
The text was updated successfully, but these errors were encountered: