RabbitMQ Management plugin auto refreshes the page in selected intervals of 5, 30 or 300 seconds. I want it to refresh it every 1 second. Is it possible?

Its too late reply :P but for the sake of documentation I am answering this.
You can try a quick hack with the management plugin.
Steps:
Unzip the management plugin:
cd /usr/lib/rabbitmq/lib/rabbitmq_server-3.7.4/plugins
unzip rabbitmq_management-3.7.4.ez
cd rabbitmq_management-3.7.4
vim rabbitmq_management-3.7.4/priv/www/js/tmpl/layout.ejs
[...]
<option value="5000">Refresh every 5 seconds</option>
<option value="10000">Refresh every 10 seconds</option>
<option value="30000">Refresh every 30 seconds</option>
<option value="">Do not refresh</option>
[...]
Edit with appropriate values (in your case 1000 --> Refresh every 1 second)
Move old plug in:
cd /usr/lib/rabbitmq/lib/rabbitmq_server-3.7.4/plugins/
mv rabbitmq_management-3.7.4.ez /myhome/rabbitmq_management-3.7.4.ez
Zip the the plugin directory
zip -r rabbitmq_management-3.7.4.ez rabbitmq_management-3.7.4
Restart the rabbitmq service.
-Rahul N.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With