Skip to main content
Connect your RabbitMQ brokers to enable Tony (Database Engineer) to monitor queue depths, analyze consumer lag, inspect dead-letter queues, and track cluster and node health. RabbitMQ authenticates with a username and password over the Management HTTP API (default port 15672) — the same API the RabbitMQ management UI uses, so no AMQP client setup is required.

Supported platforms


Prerequisites

  • A RabbitMQ broker reachable from CloudThinker on its management port (default 15672, or 15671 for HTTPS).
  • The management plugin enabled. On self-hosted brokers:
  • A broker user with the monitoring or administrator tag, so the Management HTTP API returns queue, node, and cluster data.
The monitoring tag is enough for all read and health-check capabilities. Only grant administrator if you want the agent to run the gated write operations (purge/delete queues, delete exchanges, update definitions) — these always require in-app approval. See Required permissions.

Setup

1

Enable the management plugin

On a self-hosted broker, enable the management plugin and confirm it is listening:
Managed providers such as CloudAMQP expose the Management HTTP API by default — skip to the next step.
2

Create a monitoring user

Create a dedicated user for CloudThinker and tag it monitoring:
The monitoring tag grants read access to all queues, exchanges, nodes, and cluster health across virtual hosts.
3

Confirm network access

Ensure CloudThinker can reach the broker at <host>:15672 (or <host>:15671 for TLS). Open the management port on your firewall or security group for CloudThinker’s egress.
4

Add connection in CloudThinker

Navigate to Connections → RabbitMQ and enter:
  • Username: the broker user (e.g. cloudthinker)
  • Password: the user’s password
  • Host: the broker hostname or IP (host only — no scheme or port)
  • Management Port: the management API port (default 15672)
  • Use TLS: enable for an HTTPS management API and AMQPS
  • Log Level: connector log verbosity (info by default)
Click Connect. CloudThinker verifies the credentials against the Management HTTP API and shows a Connected status.
Set Host to the hostname only — do not include http://, https://, or the port. Use the Use TLS toggle to select HTTP vs. HTTPS, and Management Port for the port.

Connection details

The management API listens on 15672 for HTTP and 15671 for HTTPS. When you enable Use TLS, set Management Port to your TLS management port.

Required permissions

The connecting user needs a management tag so the HTTP API returns broker data:
Follow least privilege: the monitoring tag is enough for queue, consumer-lag, DLQ, and cluster-health investigation. Only use administrator if you intend to run the gated write operations described below.

Write operations require approval

This connection has four mutative tools enabled. They are always gated behind in-app approval — the agent must request your confirmation before any of them run:
  • delete_queue — delete a queue
  • purge_queue — drop all messages in a queue
  • delete_exchange — delete an exchange
  • update_definition — modify broker definitions
All other capabilities are read-only. Destructive operations also require the broker user to hold the administrator tag with write permissions on the target virtual host.

Agent capabilities

Once connected, Tony can:

Verify the connection

Example prompts


Troubleshooting

  • Verify the broker is reachable from CloudThinker at <host>:15672 (or your TLS management port).
  • Confirm the management port — not the AMQP port 5672 — is open on your firewall or security group.
  • For self-hosted brokers, ensure RabbitMQ is bound to an accessible interface, not just 127.0.0.1.
The management plugin is not enabled. Run rabbitmq-plugins enable rabbitmq_management and retry. On managed providers, confirm the Management HTTP API is exposed for your instance.
  • Verify the username and password.
  • Confirm the user has the monitoring or administrator tag: rabbitmqctl set_user_tags <user> monitoring.
  • A user with no management tag can authenticate to AMQP but is rejected by the Management HTTP API.
  • Make sure Use TLS matches the broker: enable it only when the management API serves HTTPS (typically port 15671).
  • If Use TLS is enabled but the port serves plain HTTP (or vice versa), the connection fails — align the toggle and Management Port.
  • The monitoring user may lack permissions on some virtual hosts. Grant read permissions on the vhosts you want visible: rabbitmqctl set_permissions -p <vhost> <user> "" "" ".*".

Security

  • Least privilege — grant only the permissions the agents need for your use case; start read-only and widen later.
  • Read-only by default — use read-only credentials unless you want agents to make changes through this connection.
  • Rotate credentials — rotate keys and tokens on your normal schedule; CloudThinker picks up the new value when you update the connection.
  • Revoke on offboarding — remove the credential at the provider when you delete a connection or a teammate leaves.
  • Dedicated user — create a separate cloudthinker broker user; never reuse the guest or admin account
  • TLS in transit — enable Use TLS so management API traffic is encrypted between CloudThinker and the broker

Tony Agent

Database-focused monitoring and optimization agent

Kafka Connection

Setup instructions for Apache Kafka streaming