I haven't used mgmt-gateway yet, except for a short test if I could deploy it. But the fact that alertmanager is trying to connect to the wrong dashboard port makes me wonder. Alertmanager should be configured accoording to the dashboard config, for example I bootstrapped a new cluster with the parameter "--ssl-dashboard-port 8080": root@tentacle-ubuntu24:~# ceph mgr services { "dashboard": "https://192.168.124.172:8080/" "prometheus": "http://192.168.124.172:9283/" } After applying alertmanager, the webhook_configs are configured correctly: root@tentacle-ubuntu24:~# grep -A1 webhook_configs /var/lib/ceph/70495e92-2466-11f1-96c3-fa163edcc19e/alertmanager.tentacle-ubuntu24/etc/alertmanager/alertmanager.yml webhook_configs: - name: 'ceph-dashboard' webhook_configs: - url: 'https://tentacle-ubuntu24.domain:8080/api/prometheus_receiver' Did you see anything in the mgr logs related to "reconfigure" the alertmanager? Or did you maybe at some point change the ssl port of the dashboard (manually)? The respective config-key is: config/mgr/mgr/dashboard/ssl_server_port And does the error go away if you run: ceph orch reconfigure alertmanager Or alternatively redeploy it: ceph orch redeploy alertmanager Regards, Eugen Zitat von lejeczek via ceph-users <ceph-users@ceph.io>:
I did not think that ceph should be aware of any "external" proxy being used - it runs on one of ceph nodes - I assumed such a proxy would only be relevant to users/clients looking at ceph via web-browser.
As far a ceph goes I did:
-> $ ceph config set mgr mgr/dashboard/standby_behaviour "redirect" # set it back to default
-> $ ceph config set mgr mgr/dashboard/standby_behaviour "error" -> $ ceph config set mgr mgr/dashboard/redirect_resolve_ip_addr true # resolve to hostnames -> $ ceph config set mgr mgr/dashboard/ssl false -> $ ceph mgr services { "dashboard": "http://10.1.1.63:8080/", "prometheus": "http://10.1.1.63:9283/" }
Rest is Nginx's, what I'd call a "standard" proxy configuration. If needed - I should spam it here?
thanks, L. _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io