Hashicorp Vault cluster health

This commit is contained in:
marian.ciotlos@yahoo.com 2023-02-14 16:12:51 +02:00
parent fa56b637a1
commit af5dd73b43

View file

@ -30,3 +30,12 @@ groups:
annotations: annotations:
summary: Vault too many infinity tokens (instance {{ $labels.instance }}) summary: Vault too many infinity tokens (instance {{ $labels.instance }})
description: "Too many infinity tokens {{ $labels.instance }}: {{ $value | printf \"%.2f\"}}%\n VALUE = {{ $value }}\n LABELS = {{ $labels }}" description: "Too many infinity tokens {{ $labels.instance }}: {{ $value | printf \"%.2f\"}}%\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
- alert: VaultClusterHealth
expr: 'max(up {job='vault'}) == 0'
for: 30s
labels:
severity: critical
annotations:
summary: Vault cluster is in bad shape (instance {{ $labels.instance }})
description: "Vault cluster unhealthy on {{ $labels.instance }}\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"