On 2 February 2011 13:46, Bill Moseley <mose...@hank.org> wrote:
> Anyone here using using Supervisor to manage RabbitMQ consumers?  Could you
> describe your configuration?
> My goal is to have centralized monitoring and control of worker processes
> (RabbitMQ consumers) over a collection of machines.  I want to integrate
> with the rabbitmqctl tool that lists queues and their sizes so that I can
> rebalance the worker processes based on changing load.
> For a simple example, I might notice that the queue creating reports is
> getting large and that the queue for rotating photos is empty, so I might
> want to stop half the image rotation processes and double the number of
> report generation processes.
> I understand Supervisor doesn't have a direct way to interface and display
> output from rabbitmqctl, but I could use the XML-RPC API to tie rabbitmqclt
> and Supervisor together, for example.
> I'm more curious if what I describe above is a good use for Supervisor, and
> if anyone is using it in a similar way.

Hi Bill,

You might find my 'supermessage' experimental package interesting
(https://bitbucket.org/lrowe/supermessage/src). It's a supervisor
event <-> XMPP message gateway. The concept would certainly be
extensible to AMQP. I currently use it to set the supervisor status as
the XMPP status so I know my personal server's up by looking at my
google chat. It also lets you interact with supervisor through chat,
though that's probably not terribly useful!

Laurence
_______________________________________________
Supervisor-users mailing list
Supervisor-users@lists.supervisord.org
http://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to