mirror of
https://github.com/ceph/ceph
synced 2025-01-03 09:32:43 +00:00
mgr/cephadm:fix alerts sent to wrong URL
The path_prefix in prometheus.yml was specifying an endpoint prefix, which was invalid. This resulted in 404 errors when trying to send alerts to alertmanager and blocked alerts being sent on to the ceph-dashboard API receiver. This fix remves this prefix. Fixes: https://tracker.ceph.com/issues/51073 Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
This commit is contained in:
parent
5871240363
commit
9d408a70c7
@ -8,7 +8,6 @@ rule_files:
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- scheme: http
|
||||
path_prefix: /alertmanager
|
||||
static_configs:
|
||||
- targets: [{{ alertmgr_targets|join(', ') }}]
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user