From 2c4854f628dc5a5a84b1ea79abb51f2d261f0a59 Mon Sep 17 00:00:00 2001 From: Micha Date: Sun, 17 May 2026 11:25:35 +0200 Subject: [PATCH] Accept protected HTTP checks in blackbox --- monitoring/blackbox/blackbox.yml | 12 +++++++++++- monitoring/prometheus/prometheus.yml | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/monitoring/blackbox/blackbox.yml b/monitoring/blackbox/blackbox.yml index ac561ac..ad34c31 100644 --- a/monitoring/blackbox/blackbox.yml +++ b/monitoring/blackbox/blackbox.yml @@ -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 diff --git a/monitoring/prometheus/prometheus.yml b/monitoring/prometheus/prometheus.yml index 7249485..29151c5 100644 --- a/monitoring/prometheus/prometheus.yml +++ b/monitoring/prometheus/prometheus.yml @@ -34,7 +34,7 @@ scrape_configs: metrics_path: /probe params: module: - - http_2xx + - http_reachable static_configs: - targets: - https://monitoring.kaleschke.info