]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm:fix alerts sent to wrong URL 41660/head
authorPaul Cuzner <pcuzner@redhat.com>
Wed, 2 Jun 2021 23:34:19 +0000 (11:34 +1200)
committerPatrick Seidensal <pseidensal@suse.com>
Mon, 28 Jun 2021 18:36:33 +0000 (20:36 +0200)
commitbafaf717fc0e2695f5e4d080ccea869626a348f2
treed75c394ac44c99817a8dc7bf2dd7f3355c9b3fbd
parent823b0738844dbc3b5894a83d57df0e0a481bc016
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>
(cherry picked from commit 9d408a70c7d01fd7c94f9b814af916396d7cbf1f)
src/pybind/mgr/cephadm/templates/services/prometheus/prometheus.yml.j2