It seems this label solve the problem --cluster.advertise-address="public-ip:9093"
On Saturday, June 6, 2020 at 4:04:42 PM UTC+4:30, Saeedeh Moghimi wrote: > > I made a service for alertmanager, which is like this: > > > Description=Alert Manager > Wants=network-online.target > After=network-online.target > > [Service] > Type=simple > User=alertmanager > Group=alertmanager > ExecStart=/usr/local/bin/alertmanager \ > --config.file=/etc/alertmanager/alertmanager.yml \ > --storage.path=/data/alertmanager \ > --web.external-url http://public_ip_server:9093 > > Restart=always > > [Install] > WantedBy=multi-user.target > > > I get this error when i start the alermanager > err="couldn't deduce an advertise address: no private IP found, explicit > advertise addr not provided" > > > no private IP has been configed on this server, but I set --web.external-url > http://public_ip_server:9093 , Why I still get this error? > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/36514088-0580-4af0-81e9-55d08f104f71o%40googlegroups.com.

