From 2498eab51c1ac572299a10d462430319b6d0c3f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorben=20G=C3=BCnther?= Date: Wed, 15 Feb 2023 22:52:19 +0100 Subject: [PATCH] alertmanager: Update ntfy-alertmanager config --- roles/alertmanager/templates/ntfy-alertmanager.j2 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/roles/alertmanager/templates/ntfy-alertmanager.j2 b/roles/alertmanager/templates/ntfy-alertmanager.j2 index ca6686a..8e0b8f0 100644 --- a/roles/alertmanager/templates/ntfy-alertmanager.j2 +++ b/roles/alertmanager/templates/ntfy-alertmanager.j2 @@ -1,4 +1,5 @@ http-address 127.0.0.1:8089 +base-url https://ntfy-alertmanager.xenrox.net log-level debug user {{ alertmanager_secrets['webhook_user'] }} password {{ alertmanager_secrets['webhook_pass'] }} @@ -19,8 +20,18 @@ labels { } } +resolved { + tags "resolved" +} + ntfy { topic https://ntfy.xenrox.net/infrastructure user infrastructure password {{ infrastructure_password }} } + +alertmanager { + silence-duration 72h + user {{ alertmanager_secrets['user'] }} + password {{ alertmanager_secrets['pass'] }} +} -- 2.44.0