Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upPrometheus failing to start as it cannot validate alertmanager url #2022
Comments
This comment has been minimized.
This comment has been minimized.
|
Updating of the govalidator version fixes this issue. Fix in #2023. |
This comment has been minimized.
This comment has been minimized.
|
Thanx @fabxc . |
fabxc
added a commit
that referenced
this issue
Sep 22, 2016
juliusv
closed this
in
#2023
Sep 22, 2016
juliusv
added a commit
that referenced
this issue
Sep 22, 2016
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
lock
bot
locked and limited conversation to collaborators
Mar 24, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
mg03 commentedSep 22, 2016
What did you do?
prometheus -alertmanager.url=http://alertmanager-infra--0-4-1--mtq3ndm0odqxnw.service.us-east-1.consul:9093 -config.file=/etc/prometheus/prometheus.yml -log.level=debug
What did you expect to see?
Prometheus should start
What did you see instead? Under which circumstances?
ERRO[0000] invalid Alertmanager URL: http://alertmanager-infra--0-4-1--mtq3ndm0odqxnw.service.us-east-1.consul source=main.go:64
Environment
Docker Using phusion base image . Running docker with prometheus in net=host mode
System information:
uname -srm
Linux 4.4.0-31-generic x86_64
Prometheus version:
prometheus -version
prometheus, version 1.0.1 (branch: master, revision: be40190)
build user: root@e881b289ce76
build date: 20160722-19:54:46
go version: go1.6.2
Alertmanager version:
Prometheus configuration file:
I see yall are using github.com/asaskevich/govalidator
I did the following as a test
When i run it
Why is prometheus failing to start up even when the url is valid?