Skip to content

Commit

Permalink
Add RabbitMQ probe example (#1349)
Browse files Browse the repository at this point in the history
Signed-off-by: Suraj Nath <[email protected]>
  • Loading branch information
electron0zero authored Dec 31, 2024
1 parent 9cc59c3 commit 7d61fee
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7d61fee

Please sign in to comment.