Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to configure alertmanager.url into prometheus.yml #1615

Closed
wkshare opened this Issue May 6, 2016 · 9 comments

Comments

Projects
None yet
7 participants
@wkshare
Copy link

wkshare commented May 6, 2016

-alertmanager.url
The URL of the alert manager to send notifications to.

Command line to use trouble, need to restart

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented May 6, 2016

The only way to do this currently is as a command line argument to Prometheus. It'll move into the config at some point in the future.

@wkshare

This comment has been minimized.

Copy link
Author

wkshare commented May 9, 2016

thks:)@brian-brazil

@dimh

This comment has been minimized.

Copy link

dimh commented Feb 9, 2017

Hi, some news about it??

@brancz

This comment has been minimized.

Copy link
Member

brancz commented Feb 10, 2017

@dimh

This comment has been minimized.

Copy link

dimh commented Feb 10, 2017

thank you @brancz

@gvenka008c

This comment has been minimized.

Copy link

gvenka008c commented May 6, 2017

@brancz Any example on how to configure alert manager within prometheus.yml instead of passing it thorugh command line flag?

# Alert manager configuration
alerting:
  alertmanagers:

Any example on how this is done?
Alertmanagers may be statically configured via the static_configs parameter or dynamically discovered using one of the supported service-discovery mechanisms.

@juliusv

This comment has been minimized.

@knope

This comment has been minimized.

Copy link

knope commented May 17, 2018

the doc does leave a bit to be desired in the way of a complete example. incase the good.conf changes again here's the current full example:

alerting:
  alertmanagers:
  - scheme: https
    static_configs:
    - targets:
      - "1.2.3.4:9093"
      - "1.2.3.5:9093"
@lock

This comment has been minimized.

Copy link

lock bot commented Mar 22, 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 lock bot locked and limited conversation to collaborators Mar 22, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.