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 upalertmanager.url must be a public url (not just a container name) #1250
Comments
brian-brazil
added
the
question
label
Dec 16, 2015
This comment has been minimized.
This comment has been minimized.
|
Per prometheus/alertmanager#164 (comment) this appears to be an issue with your setup rather than anything innate with prometheus or alertmanager. If you've a specific feature you'd like us to implement please file an issue for it. |
brian-brazil
closed this
Feb 29, 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.
casertap commentedDec 1, 2015
Using prometheus with alertmanager to monitor containers is great.
The problem is that the alertmanager.url option in the command:
needs to be the host url.
This is problematic because the port 9093 which also serve the dashboard needs to be public on the host machine.
This could be so much better if we could use the /etc/hosts created by docker to point to the alermanager container within the private network of docker.
this way the command will look like such:
Then the promalertmanager will be:
The important part here is that 9093 is expose only to 127.0.0.1.
This means nobody can see the dashboard of alertmanager from the outside.
I will need to create a ssh tunnel to see this dashboard and I will be very happy with that.
I have open some issues about that but did not get much answers:
prometheus/alertmanager#141
prometheus/alertmanager#164