2024-07-09 18:03:39 -05:00
|
|
|
# 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
|
2024-07-10 00:46:25 -05:00
|
|
|
ssh_banner:
|
|
|
|
prober: tcp
|
|
|
|
timeout: 3s
|
|
|
|
tcp:
|
|
|
|
query_response:
|
|
|
|
- expect: "^SSH-2.0-"
|
|
|
|
- send: "SSH-2.0-blackbox-ssh-check"
|