Discussion:
Zenoss 4.2.3 - resetting rabbit queues - instructions changed!!
jcurry
2013-01-22 16:29:57 UTC
Permalink
jcurry [http://community.zenoss.org/people/jcurry] created the discussion

"Zenoss 4.2.3 - resetting rabbit queues - instructions changed!!"

To view the discussion, visit: http://community.zenoss.org/message/71139#71139

--------------------------------------------------------------
If you have Zenoss Core 4.2.3 installed with the excellent auto-deploy script, or you have run the secure_zenoss.sh script separately then you have changed passwords for many parts of Zenoss that assumed that access was available with user=zenoss and password=zenoss.  The secure_zenoss.sh script is run by the auto-deploy script and generates a robust password for various parts of Zenoss for the zenoss user.  You can find this password in $ZENHOME/etc/global.conf (provided you have access to it - zenoss user only has any access to $ZENHOME/etc now).

Areas affected include rabbit queues, access to the events database, zenoss_zep, access to the zodb database and access to zenhub (eg. if you use zensendevent).

The Zenoss Administrators Guide, section 14.8 "Host Name Changes" provides some commands to reset your rabbit MQ environment.

export VHOST="/zenoss"
export USER="zenoss"
export PASS="zenoss"
rabbitmqctl stop_app
rabbitmqctl reset
rabbitmqctl start_app
rabbitmqctl add_vhost "$VHOST"
rabbitmqctl add_user "$USER" "$PASS"
rabbitmqctl set_permissions -p "$VHOST" "$USER" '.*' '.*' '.*'

If your password has been changed then find the amqppassword in $ZENHOME/etc/global.conf and make sure you substitute it in line 3 above, replacing the password of zenoss.

Note this change does not affect Core 4.2.0 - it was new with 4.2.3.

Cheers,
Jane
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/71139#71139]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...