Re: Changing ip addr

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

 



And how about the prometheus.yml?

/var/lib/ceph/{fsid}/prometheus.{node}/etc/prometheus/prometheus.yml

It contains an IP address as well:

alerting:
  alertmanagers:
    - scheme: http
      http_sd_configs:
        - url: http://{IP}:8765/sd/prometheus/sd-config?service=alertmanager

I misread the line, maybe you need to update alertmanager instead of prometheus.


Zitat von Albert Shih <Albert.Shih@xxxxxxxx>:

Le 11/07/2024 à 08:34:21+0000, Eugen Block a écrit

Hi,

Sorry I miss the answer to the list.

Do you see it in 'ceph mgr services'? You might need to change the

Yes I did

root@cthulhu1:/etc# ceph mgr services
{
    "dashboard": "https://NEW_SUBNET.189.35:8443/";,
    "prometheus": "http://NEW_SUBNET.189.35:9283/";
}
root@cthulhu1:/etc#

prometheus config as well and redeploy.

I'm not sure, but I don't think the problem is on the «server side» (server
= prometheus) because I got every daemon listen on every IP


root@cthulhu1:/etc# ceph orch ps|grep pro
prometheus.cthulhu1 cthulhu1 *:9095 running (22h) 9m ago 5M 58.8M - 2.43.0 a07b618ecd1d 77abd8ebe0c2 prometheus.cthulhu2 cthulhu2 *:9095 running (22h) 9m ago 5M 55.6M - 2.43.0 a07b618ecd1d a1346925807a prometheus.cthulhu3 cthulhu3 *:9095 running (22h) 9m ago 5M 61.5M - 2.43.0 a07b618ecd1d 2fb558b9d300 prometheus.cthulhu4 cthulhu4 *:9095 running (22h) 9m ago 5M 56.3M - 2.43.0 a07b618ecd1d 119ada9ba6de prometheus.cthulhu5 cthulhu5 *:9095 running (22h) 9m ago 5M 60.6M - 2.43.0 a07b618ecd1d c355ed607fae

If I check with ss same result.

I'm guessing is on the client side somewhere they are the old IP
address...but I can't find where and of course I'm unable to change it.

Regards
--
Albert SHIH 🦫 🐸
Observatoire de Paris
France
Heure locale/Local time:
jeu. 11 juil. 2024 10:51:25 CEST


_______________________________________________
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