Re: config/mgr/mgr/dashboard/GRAFANA_API_URL vs fqdn

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

They are either static (so when the manager moves they become dead) or dynamic (so they will be overwritten the moment the mgr moves), aren't they?

there might be a misunderstanding but the MGR failover will just redirect your dashboard access to the new active MGR. You can set that option like this (redirect is default):

$ ceph config set mgr mgr/dashboard/standby_behaviour "redirect"

But a failover won't overwrite any URLs like grafana or prometheus, the only URL that changes is the dashboard URL. Usually, you have only one alertmanager, prometheus and grafana server for your cluster so a static URL works fine.
I'm really not sure if we're on the same page here, if not please clarify.


Zitat von grin <cephlist@xxxxxxxxxxxx>:

On Thu, 21 Apr 2022 08:52:48 +0000 Eugen Block <eblock@xxxxxx> wrote:

there are a bunch of dashboard settings, for example

pacific:~ # ceph dashboard set-grafana-api-url
pacific:~ # ceph dashboard set-prometheus-api-host
pacific:~ # ceph dashboard set-alertmanager-api-host

They are either static (so when the manager moves they become dead) or dynamic (so they will be overwritten the moment the mgr moves), aren't they?

(By the way there is a switch which sets them static, by default they get updated automagically.)

(And also I already have mentioned them.)

Peter

[...]
> The problems are
>     "config/mgr/mgr/dashboard/ALERTMANAGER_API_HOST"
>     "config/mgr/mgr/dashboard/PROMETHEUS_API_HOST"
>     "config/mgr/mgr/dashboard/GRAFANA_API_URL"
> which seems to be set automagically but using the wrong magic.
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux