Skip to main content

Overview

OpenSRE uses the RabbitMQ Management HTTP API to investigate message-bus incidents — checking queue backlogs, consumer health, broker-wide resource usage, cluster partition state, and connection patterns. From OpenSRE’s perspective the Management API is read-only — no messages are published, consumed, or deleted.

Prerequisites

  • RabbitMQ 3.12+ (3.13 recommended)
  • The rabbitmq_management plugin enabled on the broker:
  • Network access from the OpenSRE environment to the Management API port (default 15672, not AMQP 5672)
  • A user with at least the monitoring tag

Setup

There is no dedicated opensre integrations setup rabbitmq wizard today. Configure via environment variables or the persistent store, then verify. Alias service name: amqp.

Option 1: Environment variables

Option 2: Persistent store

Credentials

The monitoring tag grants read access to all management endpoints without the ability to publish, consume, create, or delete resources. The permissions line grants no configure or write access (^$), and read access to all resources (.*).

TLS

SSL is disabled by default because many Management API deployments use HTTP internally. For production endpoints exposed over the network:
Set RABBITMQ_VERIFY_SSL=false only for self-signed certificates in trusted networks.

Investigation tools

Verify

Expected output:
Verify calls Management GET /api/overview.

Troubleshooting

Security

  • Use a dedicated monitoring user — never guest or an administrator-tagged user.
  • Enable TLS when the Management API is exposed over the network.
  • Keep passwords out of source control — use .env or the persistent store.
  • Rotate credentials periodically.