From 7d61fee99ac4727c9669413c685356ea2da1d621 Mon Sep 17 00:00:00 2001 From: Suraj Nath <9503187+electron0zero@users.noreply.github.com> Date: Wed, 1 Jan 2025 03:25:48 +0530 Subject: [PATCH] Add RabbitMQ probe example (#1349) Signed-off-by: Suraj Nath <9503187+electron0zero@users.noreply.github.com> --- example.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/example.yml b/example.yml index 5e887a54d..462df64ec 100644 --- a/example.yml +++ b/example.yml @@ -141,6 +141,34 @@ modules: - expect: "PING :([^ ]+)" send: "PONG ${1}" - expect: "^:[^ ]+ 001" + rabbitmq: + prober: tcp + timeout: 30s + tcp: + query_response: + - send: "HELO\r" + - send: "\r" + - send: "\r" + - send: "\r" + - expect: "AMQP" + tls: true + tls_config: + insecure_skip_verify: false + ca_file: "/etc/blackbox_exporter/CA_cert.crt" + rabbitmq_insecure: + prober: tcp + timeout: 30s + tcp: + query_response: + - send: "HELO\r" + - send: "\r" + - send: "\r" + - send: "\r" + - expect: "AMQP" + tls: true + tls_config: + insecure_skip_verify: true + ca_file: "/etc/blackbox_exporter/CA_cert.crt" icmp_example: prober: icmp timeout: 5s