monitoring: explicitly list valid HTTP status codes
All checks were successful
Run nix flake check / flake-check (push) Successful in 2m6s

Empty valid_status_codes defaults to 2xx only, not "any".
Explicitly list common status codes (2xx, 3xx, 4xx, 5xx) so
services returning 400/401 like ha and nzbget pass the probe.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-09 22:41:47 +01:00
parent 1460eea700
commit 9bd48e0808

View File

@@ -39,7 +39,22 @@ in
http: http:
fail_if_not_ssl: true fail_if_not_ssl: true
preferred_ip_protocol: ip4 preferred_ip_protocol: ip4
valid_status_codes: [] # Accept any status, we only care about TLS valid_status_codes:
- 200
- 204
- 301
- 302
- 303
- 307
- 308
- 400
- 401
- 403
- 404
- 405
- 500
- 502
- 503
''; '';
}; };