mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-21 08:57:19 +08:00
fix(blackbox exporter): alert when http >= 400 instead of 300
This commit is contained in:
parent
1d3e31669d
commit
51e7231b3d
1 changed files with 2 additions and 2 deletions
|
|
@ -519,8 +519,8 @@ services:
|
|||
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'
|
||||
description: HTTP status code is not 200-399
|
||||
query: 'probe_http_status_code <= 199 OR probe_http_status_code >= 400'
|
||||
severity: error
|
||||
- name: SSL certificate will expire soon
|
||||
description: SSL certificate expires in 30 days
|
||||
|
|
|
|||
Loading…
Reference in a new issue