RabbitMQ - Disable a plugin using the rabbitmq-plugins command

by
Jeremy Canfield |
Updated: February 03 2022
| RabbitMQ articles
Before using the rabbitmq-plugins command with the disable option to disable a plugin, you will probably want to use the rabbitmq-plugins list or rabbitmqctl status command to list the enabled plugins.
]# rabbitmq-plugins list
Configured: E = explicitly enabled; e = implicitly enabled
| Status: * = running on rabbit@server001
|/
[E*] accept 0.3.3
[e*] amqp_client 3.6.10
[e*] cowboy 1.0.4
[e*] cowlib 1.0.2
[e*] prometheus 3.4.3
[E*] prometheus_httpd 2.1.8
[E*] prometheus_process_collector 1.3.0
[E*] prometheus_rabbitmq_exporter v3.6.14.1
[ ] rabbitmq_amqp1_0 3.6.10
[E*] rabbitmq_auth_backend_ldap 3.6.10
[ ] rabbitmq_auth_mechanism_ssl 3.6.10
[ ] rabbitmq_consistent_hash_exchange 3.6.10
[ ] rabbitmq_event_exchange 3.6.10
[e*] rabbitmq_federation 3.6.10
[E*] rabbitmq_federation_management 3.6.10
[ ] rabbitmq_jms_topic_exchange 3.6.10
[E*] rabbitmq_management 3.6.10
[e*] rabbitmq_management_agent 3.6.10
[ ] rabbitmq_management_visualiser 3.6.10
[E*] rabbitmq_message_timestamp 20171215-3.6.x
[ ] rabbitmq_mqtt 3.6.10
[ ] rabbitmq_recent_history_exchange 3.6.10
[ ] rabbitmq_sharding 3.6.10
[E*] rabbitmq_shovel 3.6.10
[E*] rabbitmq_shovel_management 3.6.10
[ ] rabbitmq_stomp 3.6.10
[ ] rabbitmq_top 3.6.10
[ ] rabbitmq_tracing 3.6.10
[ ] rabbitmq_trust_store 3.6.10
[e*] rabbitmq_web_dispatch 3.6.10
[ ] rabbitmq_web_mqtt 3.6.10
[ ] rabbitmq_web_mqtt_examples 3.6.10
[ ] rabbitmq_web_stomp 3.6.10
[ ] rabbitmq_web_stomp_examples 3.6.10
[ ] sockjs 0.3.4
The rabbitmq-plugins command with the disable option can be used to enable a plugin. In this example, the rabbitmq_shovel plugin will be disabled.
~]# rabbitmq-plugins disable rabbitmq_shovel
Disabling plugins on node rabbit@server1:
rabbitmq_shovel
The following plugins have been configured:
rabbitmq_auth_backend_ldap
rabbitmq_management
rabbitmq_management_agent
rabbitmq_message_timestamp
rabbitmq_prometheus
rabbitmq_web_dispatch
Applying plugin configuration to rabbit@server1...
The following plugins have been disabled:
rabbitmq_shovel
rabbitmq_shovel_management
Did you find this article helpful?
If so, consider buying me a coffee over at