Hello everyone,

We deployed the monitoring stack with Grafana and Prometheus via cephadm and set “mgr/cephadm/secure_monitoring_stack true.”
To get the OSD latencies into the dashboard, we deployed the ceph-exporter on the hosts.
However, due to the secure_monitoring_stack, Prometheus tries to access the Ceph Exporter via https, as the schema has been set to https by cephadm.
The Ceph exporter can be accessed locally via http with curl, but not via https.
If I manually configure the schema for the Ceph exporter to http in prometheus.yml and restart the service, I get the data correctly. However, a redeploy overwrites my change.
Can someone tell me how to either configure the Ceph-exporter to respond to https or tell Prometheus to only access the Ceph exporter via http? Unfortunately, there is no documentation on this.

Best regards and many thanks in advance.
Thomas Maintz




---------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
Forschungszentrum Jülich GmbH
52425 Jülich
Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Stefan Müller
Geschäftsführung: Prof. Dr. Astrid Lambrecht (Vorsitzende),
Dr. Stephanie Bauer (stellvertretende Vorsitzende), 
Prof. Dr. Ir. Pieter Jansens, Prof. Dr. Laurens Kuipers
---------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------