mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-23 18:06:58 +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
|
query: probe_success == 0
|
||||||
severity: error
|
severity: error
|
||||||
- name: Status Code
|
- name: Status Code
|
||||||
description: HTTP status code is not 200-299
|
description: HTTP status code is not 200-399
|
||||||
query: 'probe_http_status_code <= 199 OR probe_http_status_code >= 300'
|
query: 'probe_http_status_code <= 199 OR probe_http_status_code >= 400'
|
||||||
severity: error
|
severity: error
|
||||||
- name: SSL certificate will expire soon
|
- name: SSL certificate will expire soon
|
||||||
description: SSL certificate expires in 30 days
|
description: SSL certificate expires in 30 days
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue