Skip to content

Commit 25b00b5

Browse files
committed
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 (cherry picked from commit 94c6b8e)
1 parent fe70a46 commit 25b00b5

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

ansible/roles/prometheus/templates/prometheus-blackbox-exporter.yml.j2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ modules:
1515
method: POST
1616
tcp_connect:
1717
prober: tcp
18+
tls_connect:
19+
prober: tcp
20+
tcp:
21+
tls: true
1822
ssh_banner:
1923
prober: tcp
2024
tcp:
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
features:
3+
- |
4+
Adds a ``tls_connect`` module to the Prometheus blackbox exporter. This can
5+
be used to test connectivity of TLS servers.

0 commit comments

Comments
 (0)