~xenrox/ansible

cf427eb5739ded3f072680c1706f43e71fe82315 — Thorben Günther 1 year, 6 months ago 85776fe
alertmanager: Configure ntfy severities
1 files changed, 16 insertions(+), 0 deletions(-)

M roles/alertmanager/templates/ntfy-alertmanager.j2
M roles/alertmanager/templates/ntfy-alertmanager.j2 => roles/alertmanager/templates/ntfy-alertmanager.j2 +16 -0
@@ 3,6 3,22 @@ log-level debug
user {{ alertmanager_secrets['webhook_user'] }}
password {{ alertmanager_secrets['webhook_pass'] }}

labels {
    order "severity"

    severity "critical" {
        priority 4
    }

    severity "warning" {
        priority 3
    }

    severity "info" {
        priority 1
    }
}

ntfy {
    topic https://ntfy.xenrox.net/infrastructure
    user infrastructure