Add blackbox exporter and HTTP alerts

This commit is contained in:
g4st3r
2026-03-07 20:57:13 +00:00
parent fb855dbbad
commit 7005255aab
4 changed files with 97 additions and 0 deletions

View File

@@ -90,3 +90,21 @@ groups:
annotations:
summary: "Container down"
description: "A container has not been seen for >2m"
- alert: HttpEndpointDown
expr: probe_success{job="blackbox-http"} == 0
for: 2m
labels:
severity: critical
annotations:
summary: "HTTP endpoint down: {{ $labels.instance }}"
description: "Blackbox probe failed"
- alert: HttpEndpoint5xx
expr: probe_success{job="blackbox-5xx"} == 1
for: 1m
labels:
severity: critical
annotations:
summary: "HTTP 5xx detected: {{ $labels.instance }}"
description: "Endpoint returned 5xx"