ansible/roles/prometheus/templates/blackbox.yml.j2
Jacob Babor 45904e221d Add Prometheus Blackbox for synthetics
Now the only thing I'm missing is an alerting system that actually works
and we'll be off to the races.
2024-07-09 18:03:55 -05:00

13 lines
343 B
Django/Jinja

# https://github.com/prometheus/blackbox_exporter/blob/master/CONFIGURATION.md
# vim:ft=ansible:
modules:
http_2xx:
prober: http
timeout: 5s
http:
preferred_ip_protocol: "ip4"
follow_redirects: true
valid_http_versions: ["HTTP/1.1", "HTTP/2.0"]
valid_status_codes: [] # Defaults to 2xx
method: GET