Security Compliance
Modifying RabbitMQ user accounts in SolarWinds ARM
This article describes how to create a new user account to access the RabbitMQ console.
First published date
Last published date
Overview
RabbitMQ is a message queuing application used in the SolarWinds Access Rights Manager (ARM) to clear queues and messages.
Follow the procedure in this article to reset the password for existing RabbitMQ users, create a unique RabbitMQ user with administrator privileges and delete the old administrator account.
Product section
Resolution
- Reset password for existing RabbitMQ users
- Create a new RabbitMQ user with administrator privileges.
- Verify the changes were set using the new account.
- Update the ARM Server username and password.
|
Note: For ARM 2025.2 and above, the file locations have changed:
Please change the script examples below to include this change. If you receive permission errors, update permissions to the location/file indicated to allow Administrators full control of the file/folder indicated in the error. |
Reset the password for an existing RabbitMQ User
- Log in to the ARM server as an administrator.
- Open a Command window as administrator.
- Run the following command to add a new user, replacing the username and password with your preferred credential:
“C:\Program Files (x86)\SolarWinds.RabbitMQ.Install\RabbitMQ\sbin\rabbitmqctl.bat” change_password arm_client <newpassword>
- Replace arm_client with the actual RabbitMQ user. (arm_client and arm_management are the default RabbitMQ user accounts)
- Replace <newpassword> with the actual new password.
- For example:
The example above is for ARM 2025.2 and above. See the NOTE above at the beginning of the article regarding file path changes.
Create a new RabbitMQ user with administrator privileges
- Log in to the ARM server as an administrator.
- Open a Command window as administrator.
- Run the following command to add a new user, replacing the username and password with your preferred credential:
“C:\Program Files (x86)\SolarWinds.RabbitMQ.Install\RabbitMQ\sbin\rabbitmqctl.bat” add_user username password
For example: - Run the following commands to set the administrator rights for the new user, replacing username with the username you created in step 3:
“C:\Program Files (x86)\SolarWinds.RabbitMQ.Install\RabbitMQ\sbin\rabbitmqctl.bat” set_permissions -p arm username “.*” “.*” “.*”“C:\Program Files (x86)\SolarWinds.RabbitMQ.Install\RabbitMQ\sbin\rabbitmqctl.bat” set_permissions -p / username “.*” “.*” “.*”
For example:
- Run the following command to provide administrator rights and access to the management plug-in:
"C:\Program Files (x86)\SolarWinds.RabbitMQ.Install\RabbitMQ\sbin\rabbitmqctl.bat" set_user_tags username administrator
For example:
Verify the changes were set using the new account
Log in to the RabbitMQ console on the local host of the SolarWinds ARM Server.
For ARM 2020.2 and earlier, use:
http://localhost:15672
For ARM 2021.4 and later, use:
https://localhost:15671
Update the ARM Server username and password
- Log in to the ARM server as an administrator.
- Click the Start menu, navigate to the SolarWinds folder, and select ARM - Configuration Wizard.
- Log in using your ARM software credentials.
- Select Basic Config in the left menu.
- Click Next four times until you reach the RabbitMQ configuration page.
- Scroll down to Management Plugin.
- Add the new account you created in the RabbitMQ Administration Console, and then click Next.
- Click Save Config. The password change is completed.
- Open a Command window.
- Run the following command to delete the old administrator account:
"C:\Program Files (x86)\SolarWinds.RabbitMQ.Install\RabbitMQ\sbin\rabbitmqctl.bat" delete_user arm_management
The following message displays:
Deleting user "arm_management" ...