modules/nixos/monitoring/alert-rules: disable smart warnings on build05
This commit is contained in:
parent
71aee31b9c
commit
849be4284f
1 changed files with 2 additions and 0 deletions
|
@ -43,6 +43,8 @@
|
||||||
expr = ''systemd_units_active_code{name="matrix-hook.service", sub!="running"}'';
|
expr = ''systemd_units_active_code{name="matrix-hook.service", sub!="running"}'';
|
||||||
annotations.description = "{{$labels.host}} should have a running {{$labels.name}}";
|
annotations.description = "{{$labels.host}} should have a running {{$labels.name}}";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
SmartErrors.expr = lib.mkForce ''smart_device_health_ok{enabled!="Disabled", host!="build05"} != 1'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue