aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/prometheus_exporter/files/blackbox.yml
blob: f61c26e1a85225cd441245a66355a4c142a01ec7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
modules:
  http_2xx:
    prober: http
    timeout: 5s
    http:
      valid_http_versions: ["HTTP/1.1", "HTTP/2.0"]
      no_follow_redirects: false
      fail_if_ssl: false
      fail_if_not_ssl: true
      tls_config:
        insecure_skip_verify: false
      preferred_ip_protocol: "ip4"
  icmp_v4:
    prober: icmp
    timeout: 5s
    icmp:
      preferred_ip_protocol: "ip4"
  dns_udp:
    prober: dns
    timeout: 5s
    dns:
      query_name: "jenkins.fd.io"
      query_type: "A"
      valid_rcodes:
      - NOERROR