Add `prometheus` monitoring config for `vault`.
This commit is contained in:
parent
1de33f97cb
commit
fbdd033d4b
|
@ -90,3 +90,12 @@ groups:
|
||||||
annotations:
|
annotations:
|
||||||
summary: "vector-prometheus is not running: {{ $labels.instance }}."
|
summary: "vector-prometheus is not running: {{ $labels.instance }}."
|
||||||
description: "vector-prometheus is not running: {{ $labels.instance }}."
|
description: "vector-prometheus is not running: {{ $labels.instance }}."
|
||||||
|
|
||||||
|
- alert: vault
|
||||||
|
expr: node_systemd_unit_state{name="vault.service", state="active"} != 1
|
||||||
|
for: 5m
|
||||||
|
labels:
|
||||||
|
severity: error
|
||||||
|
annotations:
|
||||||
|
summary: "vault is not running: {{ $labels.instance }}."
|
||||||
|
description: "vault is not running: {{ $labels.instance }}."
|
||||||
|
|
Loading…
Reference in New Issue