Skip to content

Commit

Permalink
modules/nixos/monitoring/alert-rules: disable smart warnings on build05
Browse files Browse the repository at this point in the history
  • Loading branch information
zowoq committed Jan 6, 2025
1 parent 71aee31 commit 849be42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/nixos/monitoring/alert-rules.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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'';
};
};
}

0 comments on commit 849be42

Please sign in to comment.