Friday 18 September 2015

RabbitMQ Management plugin

RabbitMQ management plugin provides HTTP-based API to manage and monitor your RabbitMQ server, along with a browser-based UI and a command line tool, rabbitmqadmin.

RabbitMQ management plugin is exported as part of distribution, Use following command to enable it.

rabbitmq-plugins enable rabbitmq_management

Note:
Make sure, your rabbitMQ server is running.

The web UI is located at: http://server-name:15672/.

Open browser and type url (http://localhost:15672). It opens login page like below.

Enter user credentials (by default username and password has value 'guest').

Once you logged in successfully, you will get following screen.
Note:
The port for RabbitMQ versions prior to 3.0 is 55672.

By using user interface, you can manage exchanges, queues, bindings, virtual hosts, users and permissions.

In overview section, you may see file descriptors tab, it shows maximum number of files to be opened at a time. You can see the same using ‘ulimit –n’ command’

$ ulimit -n
256

RabbitMQ recommends at least 65536 file descriptors for user rabbitmq in production environments, 4096 for development environments.

Use following command, to change allowed file descriptors to 4096.

ulimit -S -n 4096

You need to stop and start the server to reflect changes.


Prevoius                                                 Next                                                 Home

No comments:

Post a Comment