prometheus.prometheus.alertmanager role – Prometheus Alertmanager service
Note
This role is part of the prometheus.prometheus collection (version 0.5.1).
To install it use: ansible-galaxy collection install prometheus.prometheus
.
To use it in a playbook, specify: prometheus.prometheus.alertmanager
.
Entry point main
– Prometheus Alertmanager service
Synopsis
Deploy and manage Prometheus alertmanager service using ansible.
Parameters
Parameter |
Comments |
---|---|
URL of the alertmanager Default: |
|
Template for amtool config Default: |
|
Extended output, use Default: |
|
Allows to use local packages instead of ones distributed on github. As parameter it takes a directory where This overrides alertmanager_version parameter |
|
URL of the alertmanager binaries .tar.gz file Default: |
|
URL of the alertmanager checksums file Default: |
|
HA cluster network configuration. Disabled by default. More information in alertmanager readme Default: |
|
Path to directory with alertmanager configuration Default: |
|
Variable used to provide custom alertmanager configuration file in form of ansible template Default: |
|
Additional configuration flags passed to prometheus binary at startup |
|
Path to directory with alertmanager database Default: |
|
Hipchat webhook url |
|
Hipchat authentication token |
|
Http config for using custom webhooks |
|
List of inhibition rules. Same as in official docs |
|
Opsgenie webhook key |
|
Opsgenie webhook url |
|
Pagerduty webhook url |
|
A list of notification receivers. Configuration same as in official docs |
|
Time after which an alert is declared resolved Default: |
|
Alert routing. More in official docs |
|
Alertmanager installation tasks gets skipped when set to true. Choices:
|
|
Slack webhook url |
|
SMTP (email) configuration |
|
List of folders where ansible will look for template files which will be copied to Files must have Default: |
|
Alertmanager package version. Also accepts `latest` as parameter. Default: |
|
VictorOps webhook key |
|
VictorOps webhook url |
|
External address on which alertmanager is available. Useful when behind reverse proxy. Ex. example.org/alertmanager Default: |
|
Address/addresses on which alertmanager will be listening Default: |
|
Enterprise WeChat corporation id |
|
Enterprise WeChat secret token |
|
Enterprise WeChat webhook url |