RabbitMQ tools
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
test
.document
.gitignore
LICENSE
README.md
Rakefile
VERSION
rabbit-tools.gemspec

README.md

+---+   +---+
|   |   |   |
|   |   |   |
|   |   |   |       	           _     _       _     _              _
|   +---+   +-------+	          | |   | |   (_) |   | |            | |
|                   |	 _ __ __ _| |__ | |__  _| |_  | |_ ___   ___ | |___
|           +---+   |	| '__/ _` | '_ \| '_ \| | __| | __/ _ \ / _ \| / __|
|           |   |   |	| | | (_| | |_) | |_) | | |_  | || (_) | (_) | \__ \
|           +---+   |	|_|  \__,_|_.__/|_.__/|_|\__|  \__\___/ \___/|_|___/
|                   |
+-------------------+

Overview

This gem provides the

rabbitstatus

command that dumps the following information about a local RabbitMQ server:

  • list_exchanges
  • list_bindings
  • list queues
  • list_connections

Run

rabbitstatus --help

to see the available options.

You can run

rabbitstatus --admin

to dump the following information:

  • list_users
  • list_vhosts
  • list_permissions (for each vhost defined)

Use --vhost VHOST to print information regarding this particular virtual host.

Installation

Install this gem by running

[sudo] gem install rabbit-tools

Make sure the rabbitmqctl command is in your $PATH

stefan@macbookpro:~/rabbit-tools (master) [0]$ which rabbitmqctl
/opt/rabbitmq/current/sbin/rabbitmqctl

If it isn't add the sbin directory to your PATH environment variable:

RABBIT_HOME=/path/to/rabbit-server
export PATH=$PATH:$RABBIT_HOME/sbin

Documentation

This release was successfully tested against:

  • RabbitMQ Server version 1.6.0
  • RabbitMQ Server version 1.7.0

Works with (but not properly tested):

  • RabbitMQ Server version 2.1.1

See: http://dev.coravy.com/wiki/display/OpenSource/RabbitMQ+Tools

Copyright

Copyright (c) 2009 Stefan Saasen. See LICENSE (MIT) for details but feel free to just use it!