Update monit config

This commit is contained in:
Paul-Henri Froidmont 2024-12-22 23:15:59 +01:00
parent e352e583e3
commit 20c62089d7
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE

View file

@ -292,9 +292,10 @@
protocol https protocol https
status = 401 status = 401
with timeout 20 seconds with timeout 20 seconds
for 10 cycles
then alert 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 if status != 0 then alert
check program raid-md127 with path "${pkgs.mdadm}/bin/mdadm --misc --detail --test /dev/md127" check program raid-md127 with path "${pkgs.mdadm}/bin/mdadm --misc --detail --test /dev/md127"
if status != 0 then alert if status != 0 then alert