PreEmptive Analytics Data Hub User Guide

RabbitMQ Users

The Data Hub installation of RabbitMQ uses its default user settings, with one administrator account named guest, with the password guest. This installation only allows access to RabbitMQ on the same machine, but you may wish to create another administrator account and delete the default one for security reasons. Or, you may wish to create a user with monitoring privileges only, to prevent accidental changes using the management console.

Adding a Monitoring User

A monitoring user can see statistics on RabbitMQ, but cannot make any changes to the user configuration, nor affect the queues in any way.

To create such a user:

  1. Using a web browser, browse to http://localhost:15672/#/users.
  2. Log in using an account with administrator privileges (guest/guest by default).
  3. Locate the Add a user section. Expand if necessary.
  4. Enter the Username and Password.
  5. Click [Monitoring].
  6. Click Add user.
  7. Locate the All users section. Expand if necessary.
  8. Click on the name of the user you just created.
  9. Locate the Permissions section. Expand if necessary.
  10. Under Set permission, choose the appropriate virtual host (/ by default).
  11. Clear the Configure regexp, Write regexp, and Read regexp fields entirely.
  12. Click Set permission.

Adding an Administrator User

An administrator user can modify all elements of RabbitMQ, including changing the user configuration and purging queues.

To create such a user:

  1. Using a web browser, browse to http://localhost:15672/#/users.
  2. Log in using an account with administrator privileges (guest/guest by default).
  3. Locate the Add a user section. Expand if necessary.
  4. Enter the Username and Password.
  5. Click [Admin].
  6. Click Add user.
  7. Locate the All users section. Expand if necessary.
  8. Click on the name of the user you just created.
  9. Locate the Permissions section. Expand if necessary.
  10. Under Set permission, choose the appropriate virtual host (/ by default).
  11. Ensure the Configure regexp, Write regexp, and Read regexp fields are each set to .*.
  12. Click Set permission.

Removing a User

Warning: You must reconfigure the Data Hub connections to use another administrator user before removing the user currently used by the Data Hub (default is guest).

Warning: Do not remove all administrator users. If you do so, you will probably have to uninstall and reinstall, causing data loss.

To remove a user:

  1. Using a web browser, browse to http://localhost:15672/#/users.
  2. Log in using an account with administrator privileges (guest/guest by default).
  3. Locate the All users section. Expand if necessary.
  4. Click on the name of the user you wish to remove.
  5. Locate the Delete this User section. Expand if necessary.
  6. Click Delete.
  7. Confirm that you wish to permanently delete the user.

Data Hub User Guide Version 1.2.0. Copyright © 2013 PreEmptive Solutions, LLC