Bootstrap FreeKB - RabbitMQ - rabbitmq conf file
RabbitMQ - rabbitmq conf file

Updated:   |  RabbitMQ articles

The rabbitmqctl status command can be used to list the location of the main configuration files.

rabbitmqctl status

 

Which should return something like this.

Config files

 * /etc/rabbitmq/advanced.config
 * /etc/rabbitmq/rabbitmq.conf

 

Or, the main RabbitMQ log file, such as /var/log/rabbitmq/rabbit@server001.log on Linux, will contain the location of the main configuration files, like this:

=INFO REPORT==== 14-Oct-2020::20:47:15 ===
node           : rabbit@server1
home dir       : /var/lib/rabbitmq
config file(s) : /etc/rabbitmq/advanced.config
               : /etc/rabbitmq/rabbitmq.conf
cookie hash    : Bddfb/l/3CnnYPk34AsxABa=
log            : /var/log/rabbitmq/rabbit@server1.log
sasl log       : /var/log/rabbitmq/rabbit@server1-sasl.log
database dir   : /opt/rabbitmq/mnesia/rabbit@server1

 

Be aware that a RabbitMQ configuration file may be in either an INI style layout, like this.

listeners.tcp = none
listeners.ssl.default = 5671
ssl_options.cacertfile = /var/lib/rabbitmq/config/certs/ca.pem
ssl_options.certfile   = /var/lib/rabbitmq/config/certs/certificate.pem
ssl_options.keyfile    = /var/lib/rabbitmq/config/certs/key.pem

 

Or a YAML style layout, like this.

[
 {rabbitmq_shovel,
  [{shovels,
   [ . . .

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 9cb6e1 in the box below so that we can be sure you are a human.