Add `alert rule` for `filestat_exporter`.

This commit is contained in:
Kazuhiro MUSASHI 2023-02-07 23:47:20 +09:00
parent f7eae0c857
commit 0b4860279f
1 changed files with 18 additions and 0 deletions

View File

@ -45,3 +45,21 @@ groups:
annotations:
summary: "vector-snmp_exporter is not running: {{ $labels.instance }}."
description: "vector-snmp_exporter is not running: {{ $labels.instance }}."
- alert: filestat_exporter
expr: node_systemd_unit_state{name="filestat_exporter.service", state="active"} != 1
for: 5m
labels:
severity: error
annotations:
summary: "filestat_exporter is not running: {{ $labels.instance }}."
description: "filestat_exporter is not running: {{ $labels.instance }}."
- alert: vector-filestat_exporter
expr: node_systemd_unit_state{name="vector-filestat_exporter.service", state="active"} != 1
for: 5m
labels:
severity: error
annotations:
summary: "vector-filestat_exporter is not running: {{ $labels.instance }}."
description: "vector-filestat_exporter is not running: {{ $labels.instance }}."