kolla-ansible/ansible/roles/prometheus/templates/prometheus-blackbox-exporter.yml.j2
Mark Goddard 94c6b8e220 prometheus: add tls_connect blackbox module
This allows checking of TLS servers. It can be useful to check
RabbitMQ TLS, including certificate expiry.

Change-Id: I2192d3481d790c11b110bf10082b3efeade75463
2021-07-23 10:42:30 +01:00

29 lines
494 B
Django/Jinja

modules:
http_2xx:
prober: http
os_endpoint:
prober: http
http:
valid_status_codes: [200,300]
headers:
Content-Type: application/json
fail_if_body_not_matches_regexp:
- "versions"
http_post_2xx:
prober: http
http:
method: POST
tcp_connect:
prober: tcp
tls_connect:
prober: tcp
tcp:
tls: true
ssh_banner:
prober: tcp
tcp:
query_response:
- expect: "^SSH-2.0-"
icmp:
prober: icmp