From 20c62089d7eede826250ade59142a8049f45bf0b Mon Sep 17 00:00:00 2001 From: Paul-Henri Froidmont Date: Sun, 22 Dec 2024 23:15:59 +0100 Subject: [PATCH] Update monit config --- profiles/hel.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/profiles/hel.nix b/profiles/hel.nix index ebac05d..8209204 100644 --- a/profiles/hel.nix +++ b/profiles/hel.nix @@ -292,9 +292,10 @@ protocol https status = 401 with timeout 20 seconds + for 10 cycles then alert - check program raid-md126 with path "${pkgs.mdadm}/bin/mdadm --misc --detail --test /dev/md127" + check program raid-md126 with path "${pkgs.mdadm}/bin/mdadm --misc --detail --test /dev/md126" if status != 0 then alert check program raid-md127 with path "${pkgs.mdadm}/bin/mdadm --misc --detail --test /dev/md127" if status != 0 then alert