Add alert rule for `node_exporter`.

This commit is contained in:
Kazuhiro MUSASHI 2023-02-05 19:02:38 +09:00
parent ceb75182df
commit 5bf5eac091
1 changed files with 4 additions and 4 deletions

View File

@ -10,12 +10,12 @@ groups:
summary: "Digdag is not running: {{ $labels.instance }}."
description: "Digdag is not running: {{ $labels.instance }}."
- alert: go-mmproxy
expr: node_systemd_unit_state{name="go-mmproxy:w.service", state="active"} != 1
- alert: node_exporter
expr: node_systemd_unit_state{name="node_exporter.service", state="active"} != 1
for: 5m
labels:
severity: error
annotations:
summary: "Digdag is not running: {{ $labels.instance }}."
description: "Digdag is not running: {{ $labels.instance }}."
summary: "node_exporter is not running: {{ $labels.instance }}."
description: "node_exporter is not running: {{ $labels.instance }}."