alerts-fux: add alert for blackbox exporter probes
All checks were successful
/ Ansible Lint (push) Successful in 2m46s

This commit is contained in:
chris 2026-03-09 21:13:20 +01:00
commit 242746bcbd
Signed by: c6ristian
SSH key fingerprint: SHA256:B3m+yzpaxGXSEcDBpPHfvza/DNC0wuX+CKMeGq8wgak

View file

@ -10,6 +10,15 @@ groups:
annotations:
summary: Job {{ $labels.job }} flaky on (instance {{ $labels.instance }})
description: "The job {{ $labels.job }} on target: {{ $labels.instance }} has been flaky over the last 24 hours."
- alert: ProbeFailed
expr: group by(instance, job, ip) (probe_success{org="fux"} == 0)
for: 1m
labels:
severity: critical
org: fux
annotations:
summary: "Probe failed for {{ $labels.instance }} (job: {{ $labels.job }})"
description: "The Probe: {{ $labels.job }} can not complete its job for {{ $labels.instance }}, this most likely means that the instance is unreachable."
- name: Fux-SNMP
rules:
- alert: SnmpTargetMissing