Monday, November 30, 2015

Manage your RabbitMQ message broker via the web interface

Yes, you heard it right. There's a web interface to manage/monitor your RabbitMQ message broker. And it's buit-in. You just need to enable it:

$ sudo rabbitmq-plugins enable rabbitmq_management
$ sudo service rabbitmq-server restart

Then use your administrator account to login into the web interface at http://localhost:15672



If you don't set up your administrator account yes, you can create it by:

$ sudo rabbitmqctl add_user myadmin mypasswd
$ sudo rabbitmqctl set_user_tags myadmin administrator
$ sudo rabbitmqctl set_permissions -p / myadmin ".*" ".*" ".*"

You will see the gorgeous dashboard:





References:
[0] http://www.rabbitmq.com/management.html
[1] http://stackoverflow.com/questions/22850546/cant-access-rabbitmq-web-management-interface-after-fresh-install