From f3a99c40d31f5f6bbe03dfa01fec8e3c64a8c33d Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Tue, 20 Apr 2021 14:48:00 +0000 Subject: [PATCH] totoro: oops, indent --- ops/nixos/totoro/default.nix | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/ops/nixos/totoro/default.nix b/ops/nixos/totoro/default.nix index 7786e19f84..7963da761d 100644 --- a/ops/nixos/totoro/default.nix +++ b/ops/nixos/totoro/default.nix @@ -265,25 +265,25 @@ in { summary: "Blade: Single Blade Power Usage Out of Bounds" description: "{{ $labels.system }} has power usage of {{ $value }}, which is out of expected bounds." - # Systems - - alert: NodeExporterDown - expr: up{exporter="node", system=~"(blade-(tuvok|paris|janeway|torres)|kusakabe|marukuru|swann|totoro|clouvider-.*|etheroute-.*)"} < 1 - for: 30m - labels: - severity: page - annotations: - summary: "Node exporter no longer scrapable" - description: "{{ $labels.system }} is not reachable from totoro." + # Systems + - alert: NodeExporterDown + expr: up{exporter="node", system=~"(blade-(tuvok|paris|janeway|torres)|kusakabe|marukuru|swann|totoro|clouvider-.*|etheroute-.*)"} < 1 + for: 30m + labels: + severity: page + annotations: + summary: "Node exporter no longer scrapable" + description: "{{ $labels.system }} is not reachable from totoro." - # Alert if the NixOS channels are broken - - alert: NixOSChannelBad - expr: hydra_job_failed{} == 1 - for: 30m - labels: - severity: email - annotations: - summary: "NixOS Channel {{ $labels.channel }} failing" - description: "The channel {{ $labels.channel }} is failing - see https://hydra.nixos.org/job/{{ $labels.project }}/{{ $labels.jobset }}/tested" + # Alert if the NixOS channels are broken + - alert: NixOSChannelBad + expr: hydra_job_failed{} == 1 + for: 30m + labels: + severity: email + annotations: + summary: "NixOS Channel {{ $labels.channel }} failing" + description: "The channel {{ $labels.channel }} is failing - see https://hydra.nixos.org/job/{{ $labels.project }}/{{ $labels.jobset }}/tested" '' ];