Accept protected HTTP checks in blackbox
This commit is contained in:
@@ -1,8 +1,18 @@
|
||||
modules:
|
||||
http_2xx:
|
||||
http_reachable:
|
||||
prober: http
|
||||
timeout: 10s
|
||||
http:
|
||||
valid_status_codes:
|
||||
- 200
|
||||
- 204
|
||||
- 301
|
||||
- 302
|
||||
- 303
|
||||
- 307
|
||||
- 308
|
||||
- 401
|
||||
- 403
|
||||
valid_http_versions:
|
||||
- HTTP/1.1
|
||||
- HTTP/2.0
|
||||
|
||||
@@ -34,7 +34,7 @@ scrape_configs:
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module:
|
||||
- http_2xx
|
||||
- http_reachable
|
||||
static_configs:
|
||||
- targets:
|
||||
- https://monitoring.kaleschke.info
|
||||
|
||||
Reference in New Issue
Block a user