public
Description: RabbitMQ tools
Homepage:
Clone URL: git://github.com/juretta/rabbit-tools.git
juretta (author)
Sun Nov 01 21:09:03 -0800 2009
commit  41816dbba3534a60a587cb3820a0d68fdbe74249
tree    25eecd978d1dd4e292380a7780a9b4e5f1cec0f2
parent  023ad893682574f72a019b9756f73c6b58c40aff
name age message
file .document Wed Oct 07 00:28:44 -0700 2009 Initial commit to rabbit-tools. [juretta]
file .gitignore Wed Oct 07 00:28:44 -0700 2009 Initial commit to rabbit-tools. [juretta]
file LICENSE Loading commit data...
file README.md
file Rakefile
file VERSION
directory bin/
directory lib/
file rabbit-tools.gemspec
directory test/
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

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!