From ae6c5c40c33fff5a9654bafbcd03866f56914f9d Mon Sep 17 00:00:00 2001 From: Matt Layher Date: Sun, 28 Jan 2024 14:13:39 -0500 Subject: [PATCH] nixos/servnerr-4: switch alertmanager to discord --- nixos/servnerr-4/prometheus.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/servnerr-4/prometheus.nix b/nixos/servnerr-4/prometheus.nix index 4f9a953..5bbb074 100644 --- a/nixos/servnerr-4/prometheus.nix +++ b/nixos/servnerr-4/prometheus.nix @@ -64,7 +64,9 @@ in { }; receivers = [{ name = "default"; - pushover_configs = secrets.alertmanager.pushover; + discord_configs = [{ + webhook_url = secrets.alertmanager.discord.webhook_url; + }]; }]; }; };