prometheus.prometheus.alertmanager role – Prometheus Alertmanager service
Note
This role is part of the prometheus.prometheus collection (version 0.22.0).
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
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: |
|
Advanced Directory to install binaries Default: |
|
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 |
|
Local path to stash the archive and its extraction Default: |
|
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 |
|
Slack webhook url |
|
SMTP (email) configuration |
|
Advanced System group for alertmanager Default: |
|
Advanced alertmanager system user Default: |
|
List of folders where ansible will look for template files which will be copied to Files must have Default: |
|
A list of time intervals. Configuration same as in official docs |
|
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 on which alertmanager will be listening Default: |
|
Enterprise WeChat corporation id |
|
Enterprise WeChat secret token |
|
Enterprise WeChat webhook url |