How to Use rabbitmqctl to Connect to a Remotely Hosted RabbitMQ Server

rabbitmq

I'm using a hosted RabbitMQ solution (provided by VMware), where I'm assigned an individual RabbitMQ queue, along with a username / password. I'd like to see some of my queue's stats using the rabbitmqctl command, but I can't find documentation anywhere which shows how to use rabbitmqctl on a remote host.

Here's what I get from my host:

amqp://user:pass@blah.rabbitmq.com:31278/myqueue

Any suggestions?

Best Answer

I used to use rabbitmqctl a lot because I was stuck with a sysadmin who refused to install the RabbitMQ management plugins. But really, nowadays with version 2.8.4 of the server, just install the plugins. This gives you not only a web management GUI but a nice CLI that does allow you to talk to remote servers as well as local ones.

I haven't touched rabbitmqctl in months since the management plugins became available.