Skip to content

Latest commit

 

History

History
68 lines (53 loc) · 2.6 KB

Readme.markdown

File metadata and controls

68 lines (53 loc) · 2.6 KB

** FIRST OF ALL ** This is a WIP!

Humpty

Humpty is be a Sinatra Application which provides administrative access to one or more RabbitMQ servers. It uses REST Resources provided by alice to retrieve information from the RabbitMQ server which is not exposed by the AMQP protocol itself.

As an addition to alice's features, humpty allows basic manipulation of Queues, bindings and exchanges. Currently only deletion of queues is supported, but other operations such as creating queues, binding exchanges to queues, will be supported soon.

It is planed to allow monitoring of queue sizes (graphs for the win!) in the near future.

Quickstart

  1. install alice and start it
  2. install bundler (gem install bundler)
  3. bundle install
  4. copy the default config from config/config.yml.default to config/config.yml and edit the defaults as needed
  5. ruby humpty.rb
  6. visit localhost:4567 in your webbrowser

Configuration

Add a configuration entry for every server you wan't to make accessible by humpty. A alice node needs to run on every Server which is added in the configuration file. The name for the broker can be chosen freely (as long as it is unique) since it is only used by humpty to distinguish the several servers and for the web frontend.

name_of_broker1:
    rabbitmq:
        host: localhost
    alice:
        base_url: http://localhost
        port: 9999
name_of_broker2:
    rabbitmq:
        host: my.fanzy.host
    alice:
        base_url: http://my.fanzy.host
        port: 9988

Screenshots

Ok they are ugly, feel free to contribute.... :) Just to show some examples:

Exchanges

Exchanges

Overview

Overview

FAQ

Q: why not use wonderland?
A: Several reasons.. I want to support multiple servers with one interface
I love alice and wonderland. I just wanted to add some features myself and I still suck at erlang :)
and of course, I plan to do more features as the one supported by alice

Q: is humpty already usable?
A: c'mon are you kiddin me? I've just pushed the first couple of LOC. haha, try again later

Q: alice doesnt start correctly :(
A: Have a look at alice project page. helped me a lot.
(I, for example, had to start it with ./start.sh -sname alice -setcookie "MYERLANGCOOKIE")

Q: NO TESTS?
A: Aaah, you got me... for fun and profit! I'll add them soon, promise :)