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