~xenrox/ansible

8f764ce13b0a49fb45741af077f8fd9bd1d8c676 — Thorben Günther 1 year, 12 days ago e6e5c6f
alertmanager: Update ntfy-alertmanager config

Explicitly set single alert mode (in case the default gets set to multi
in the future), increase silence duration to one week and use Redis as a
cache backend.
1 files changed, 9 insertions(+), 1 deletions(-)

M roles/alertmanager/templates/ntfy-alertmanager.j2
M roles/alertmanager/templates/ntfy-alertmanager.j2 => roles/alertmanager/templates/ntfy-alertmanager.j2 +9 -1
@@ 1,6 1,7 @@
http-address 127.0.0.1:8089
base-url https://ntfy-alertmanager.xenrox.net
log-level debug
alert-mode single
user {{ alertmanager_secrets['webhook_user'] }}
password {{ alertmanager_secrets['webhook_pass'] }}



@@ 30,7 31,14 @@ ntfy {
}

alertmanager {
    silence-duration 72h
    silence-duration 168h
    user {{ alertmanager_secrets['user'] }}
    password {{ alertmanager_secrets['pass'] }}
}

cache {
    type redis
    duration 24h

    redis-url redis://localhost:6379/10
}