Add `prometheus` monitoring config for `vault`.

This commit is contained in:
Kazuhiro MUSASHI 2023-05-13 15:11:55 +09:00
parent 1de33f97cb
commit fbdd033d4b
1 changed files with 9 additions and 0 deletions

View File

@ -90,3 +90,12 @@ groups:
annotations:
summary: "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 }}."