This repository was archived by the owner on Feb 29, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable the RabbitMQ managment plugin. RabbitMQ managment will listen on localhost (127.0.0.1) only. NOTE: This depend on this upstream change: voxpupuli/puppet-rabbitmq#777 Also to optimize for performance: - Disables message rates in the management plugin. - Raises the collect_statistics_interval from 5000ms to 30000ms. NB: Cherry-pick was not clean so I tested this manually on queens and got the expected result: ~]# pcs status |grep -e 'rabbitmq.*Started' rabbitmq-bundle-0 (ocf::heartbeat:rabbitmq-cluster): Started controller-0 rabbitmq-bundle-1 (ocf::heartbeat:rabbitmq-cluster): Started controller-1 rabbitmq-bundle-2 (ocf::heartbeat:rabbitmq-cluster): Started controller-2 ~]# curl -sS -u guest:$(hiera -c /etc/puppet/hiera.yaml rabbitmq::default_pass) http://127.0.0.1:15672/api/queues/ 2> /dev/null |jq . |head -n5 [ { "memory": 10936, "idle_since": "2019-08-08 8:49:23", "consumer_utilisation": null, Related-Bug: #1815675 Change-Id: I5e73660e23fef15d1cae4c89d8b45b2456b0a110 (cherry-picked from commit d6727af
- Loading branch information