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/776f1f83-3fb6-4a27-bc28-00a084072d44o%40googlegroups.com.

Reply via email to