Setup blackbox for some HTTP monitoring

This commit is contained in:
Jake Howard
2022-12-04 22:11:49 +00:00
parent e89f13b8a9
commit 75862dbaf9
6 changed files with 112 additions and 29 deletions

View File

@ -0,0 +1,23 @@
modules:
http:
prober: http
timeout: 10s
http_external:
prober: http
timeout: 10s
http:
proxy_url: http://{{ pve_hosts.qbittorrent.ip }}:3128
skip_resolve_phase_with_proxy: true
https_redir:
prober: http
timeout: 10s
http:
method: GET
valid_status_codes: [301, 302, 307, 308]
no_follow_redirects: true
fail_if_ssl: true
fail_if_header_not_matches:
- header: Location
regexp: ^https