summaryrefslogtreecommitdiff
path: root/roles/monitoring/prometheus/exporter/blackbox/defaults/main.yml
blob: 73b9fde160a182a143e114a4ca3b220fa7855974 (plain) (blame)
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
26
27
28
29
30
31
32
33
---
prometheus_exporter_blackbox_modules:
  tcp_connect:
    prober: tcp
    tcp:
      preferred_ip_protocol: "ip4"
  tcp_tls_connect:
    prober: tcp
    tcp:
      preferred_ip_protocol: "ip4"
      tls: true
      tls_config:
        insecure_skip_verify: true
  http_2xx:
    prober: http
    http:
      preferred_ip_protocol: "ip4"
  http_tls_2xx:
    prober: http
    http:
      preferred_ip_protocol: "ip4"
      fail_if_not_ssl: true
      tls_config:
        insecure_skip_verify: true
  ssh_banner:
    prober: tcp
    tcp:
      preferred_ip_protocol: "ip4"
      query_response:
      - expect: "^SSH-2.0-"
      - send: "SSH-2.0-blackbox-ssh-check"

prometheus_exporter_blackbox_modules_extra: {}