bitcoiner.social/ansible/group_vars/observability/blackbox_exporter.yml

33 lines
774 B
YAML
Raw Normal View History

--- # prometheus.prometheus.blacbox_exporter role variables
# https://github.com/prometheus/blackbox_exporter
blackbox_exporter_web_listen_address: "127.0.0.1:8031"
blackbox_exporter_configuration_modules:
http_2xx:
prober: http
timeout: 5s
http:
valid_status_codes: []
method: GET
preferred_ip_protocol: ip4
fail_if_not_ssl: true
tcp_probe:
prober: tcp
timeout: 5s
smtp_starttls:
prober: tcp
timeout: 5s
tcp:
query_response:
- expect: "^220 ([^ ]+) ESMTP (.+)$"
- send: "EHLO prober\r"
- expect: "^250-STARTTLS"
- send: "STARTTLS\r"
- expect: "^220"
- starttls: true
- send: "EHLO prober\r"
- expect: "^250-AUTH"
- send: "QUIT\r"