mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-21 08:57:19 +08:00
Add ProbeFailed alert for the Blackbox exporter
This commit is contained in:
parent
80b1cb8fe2
commit
d789cc314c
1 changed files with 4 additions and 0 deletions
|
|
@ -506,6 +506,10 @@ services:
|
|||
- name: prometheus/blackbox_exporter
|
||||
doc_url: https://github.com/prometheus/blackbox_exporter
|
||||
rules:
|
||||
- name: Probe failed
|
||||
description: Probe failed
|
||||
query: probe_success == 0
|
||||
severity: error
|
||||
- name: Status Code
|
||||
description: HTTP status code is not 200-299
|
||||
query: 'probe_http_status_code <= 199 OR probe_http_status_code >= 300'
|
||||
|
|
|
|||
Loading…
Reference in a new issue