Applies To
- Zenoss 4.2.3
Summary
This article details the steps required to change the RabbitMQ password used by Zenoss.
Procedure
- Log into the Zenoss master server as root.
- Stop the Zenoss daemons:
# service zenoss stop - Change the password of the RabbitMQ zenoss user:
# rabbitmqctl change_password zenoss NEW-PASSWORD
- Switch to the zenoss user:
# su - zenoss - Edit the $ZENHOME/etc/global.conf file and change the amqppassword line to reflect the new RabbitMQ password.
- Verify that Zenoss is able to connect to the RabbitMQ daemon:
# zenq count zenoss.queues.zep.zeneventsIf the zenq command does not complete successfully, follow these additional steps:
- Delete the RabbitMQ zenoss user and re-add it with a new password:
# rabbitmqctl delete_user zenoss # rabbitmqctl add_user zenoss NEW-PASSWORD
- Assign the proper permissions to the RabbitMQ zenoss user:
# rabbitmqctl set_permissions -p /zenoss zenoss '.*' '.*' '.*'
- Delete the RabbitMQ zenoss user and re-add it with a new password:
- Start Zenoss:
# zenoss start - Update $ZENHOME/etc/global.conf on all remote hubs and collectors (if any):
# dc-admin updateImportant Notes
This step does not need to be run if you don't have any remote hubs. To determine if any remote hubs have been deployed in your Zenoss instance, run dc‑admin list
If you have configured a new (non-default) hub password, instead of running this step follow the instructions for your scenario in the How do I Change the Zenoss Hub Password(s)? Zenoss Knowledge Base article.
If you have made any changes to the $ZENHOME/etc/global.conf file on remote hubs or collectors, Zenoss strongly recommends that you verify that those changes have been maintained after running this step.
Comments