1
0

hosts/monitoring-3: Use solid-xmpp-alarm

This commit is contained in:
2023-02-06 13:38:16 +01:00
parent 8d623692c7
commit 9849e4868d
3 changed files with 33 additions and 12 deletions

View File

@@ -1,15 +1,10 @@
{ ... }:
{ pkgs, ... }:
{
services.prometheus.xmpp-alerts = {
services.solid-xmpp-alarm = {
enable = true;
settings = {
jid = "feuer@fem-net.de";
password_command = "cat /var/src/secrets/xmpp-alert/password";
listen_address = "::1";
listen_port = 9199;
to_jid = "clerie@fem-net.de";
format = "short";
};
jid = "feuer@fem-net.de";
passwordFile = "/var/src/secrets/xmpp-alert/password";
receiver = "clerie@fem-net.de";
};
services.prometheus.alertmanager = {