Files
computer-playbook/roles/web-app-openbao/templates/prometheus/alert_rules.yml.j2
evangelostsak 71e4437634 refactor(openbao): drop the activation guard from the alert fragment
The lookup now returns only scraped roles, so the fragment is rules and
nothing else.
2026-09-21 17:45:13 +02:00

15 lines
603 B
Django/Jinja

- name: openbao_seal
interval: 30s
rules:
- alert: OpenBaoSealed
expr: vault_core_active{job="openbao"} == 0 or absent(vault_core_active{job="openbao"})
for: 2m
labels:
severity: critical
annotations:
summary: "OpenBao is sealed or unreachable"
description: >
OpenBao has not reported an active, unsealed core for more than 2 minutes.
Secrets, PKI issuance and machine logins are unavailable while it is sealed.
Check the container and confirm the static seal key reached its environment.