weitere implementierung

This commit is contained in:
Hoang Nguyen
2026-05-06 11:19:18 +02:00
parent d8d4d1cbe9
commit aca2d6be33
18 changed files with 323 additions and 11 deletions

View File

@@ -0,0 +1,17 @@
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
name: cnpg-backup-alert
namespace: database
spec:
groups:
- name: cnpg.rules
rules:
- alert: CNPGBackupMissing
expr: time() - cnpg_last_backup_time_seconds > 86400
for: 10m
labels:
severity: critical
annotations:
summary: "CNPG Backup missing"
description: "No backup in last 24h"