infrastructure/ansible/roles/prometheus/files/prometheus/blackbox.yml

20 lines
342 B
YAML
Raw Normal View History

modules:
http:
prober: http
timeout: 10s
https_redir:
prober: http
timeout: 10s
http:
method: GET
valid_status_codes: [301, 302, 307, 308]
follow_redirects: false
fail_if_ssl: true
fail_if_header_not_matches:
- header: Location
regexp: ^https
2023-01-31 14:29:27 +00:00
icmp:
prober: icmp