FAQ - Required RabbitMQ User Permissions
Section titled “FAQ - Required RabbitMQ User Permissions”Question
Section titled “Question”What permissions are required to monitor RabbitMQ?
Answer
Section titled “Answer”A RabbitMQ user with the monitoring tag (read-only access to the Management API). The agent only reads from RabbitMQ: the cluster overview, the nodes, and the queues. The Details action reads a queue live, and no Remote Action writes to RabbitMQ, so the agent never needs more than read access.
Permission Levels
Section titled “Permission Levels”| Permission Tag | Access Level | Use Case |
|---|---|---|
| monitoring | Read-only: view queues, nodes, and the cluster overview in every virtual host | ✅ Recommended for the agent |
| management | Management UI access to the user's own virtual hosts | Not needed by the agent |
| administrator | Full control: create and delete virtual hosts, users, policies | ❌ Not recommended for the agent (excessive privileges) |
Creating a Monitoring User
Section titled “Creating a Monitoring User”# Create user for monitoringrabbitmqctl add_user nodinite_monitor SecurePassword123
# Grant monitoring tag for read-only accessrabbitmqctl set_user_tags nodinite_monitor monitoring
# Grant permissions on virtual hosts to monitorrabbitmqctl set_permissions -p / nodinite_monitor ".*" ".*" ".*"Next Steps
Section titled “ Next Steps” Prerequisites for RabbitMQ Monitoring Agent
Install RabbitMQ Monitoring Agent