mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-30 15:37:44 +02:00
feat: benji alerting
This commit is contained in:
@@ -6,4 +6,5 @@ resources:
|
||||
- volume.yaml
|
||||
- helm-release.yaml
|
||||
- podmonitor.yaml
|
||||
- prometheus-rule.yaml
|
||||
- pgbackups.yaml
|
||||
|
19
cluster/apps/rook-system/benji/prometheus-rule.yaml
Normal file
19
cluster/apps/rook-system/benji/prometheus-rule.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: PrometheusRule
|
||||
metadata:
|
||||
name: benji
|
||||
namespace: rook-ceph
|
||||
spec:
|
||||
groups:
|
||||
- name: Benji
|
||||
rules:
|
||||
- alert: BackupFailed
|
||||
annotations:
|
||||
summary: >-
|
||||
{{ $labels.volume }} backup has failed.
|
||||
expr: >-
|
||||
benji_backup_status_succeeded != 1
|
||||
for: 30m
|
||||
labels:
|
||||
severity: page
|
Reference in New Issue
Block a user