Zed + fail2ban notifications

This commit is contained in:
Aleksandr Lebedev 2025-09-29 18:29:31 +02:00
parent 5c6639f0b6
commit ebdfe095d8
2 changed files with 6 additions and 5 deletions

View file

@ -78,14 +78,15 @@ in {
extraArgs = ["--sshoption=StrictHostKeyChecking=off"];
};
};
services.zfs.zed.settings = {
ZED_DEBUG_LOG = "/tmp/zed.debug.log";
ZED_NTFY_URL = "ntfy.kylekrein.com";
ZED_NTFY_TOPIC = "zed";
ZED_DEBUG_LOG = "/var/log/zed-debug.log";
ZED_EMAIL_ADDR = ["zed@localhost.com"];
ZED_EMAIL_PROG = "/run/wrappers/bin/sendmail";
ZED_EMAIL_OPTS = "-i @ADDRESS@";
ZED_NOTIFY_INTERVAL_SECS = 3600;
ZED_NOTIFY_VERBOSE = true;
ZED_NOTIFY_DATA = true;
ZED_USE_ENCLOSURE_LEDS = true;
ZED_SCRUB_AFTER_RESILVER = true;