modules/nixos/monitoring/alert-rules: disable smart warnings on build05

This commit is contained in:
zowoq 2025-01-06 12:08:37 +10:00
parent 71aee31b9c
commit 849be4284f

View file

@ -43,6 +43,8 @@
expr = ''systemd_units_active_code{name="matrix-hook.service", sub!="running"}'';
annotations.description = "{{$labels.host}} should have a running {{$labels.name}}";
};
SmartErrors.expr = lib.mkForce ''smart_device_health_ok{enabled!="Disabled", host!="build05"} != 1'';
};
};
}