address XXXX: missing port in address - alertmanager v0.21.0

35 views
Skip to first unread message

Rajashekharaiah M

unread,
Jul 31, 2020, 11:16:40 AM7/31/20
to Prometheus Users

getting this error with latest alert manager.


level=error ts=2020-07-31T14:58:49.625Z caller=coordinator.go:124 component=configuration msg="Loading configuration file failed" file=/etc/alertmanager/config/alertmanager.yaml err="address XXXX: missing port in address"


Any idea? verified with both latest prom and operator.

Brian Candler

unread,
Jul 31, 2020, 4:28:37 PM7/31/20
to Prometheus Users
You're missing the port number.  Find the line which contains XXXX, and change it to XXXX:80 or whatever is required.

Rajashekharaiah M

unread,
Aug 1, 2020, 2:59:49 AM8/1/20
to Prometheus Users
Thank you. I missed adding port to one of the receiver. In old version of alert manager there was no validation it seems. Now it is there. Great work team. Thank you Brian.
Reply all
Reply to author
Forward
0 new messages