I thought Alice plugged into the erlang process for rabbitmq, and did not wrap rabbitmqctl.<br><br><div class="gmail_quote">On Tue, Dec 1, 2009 at 2:24 PM, Alexis Richardson <span dir="ltr"><<a href="mailto:alexis.richardson@gmail.com">alexis.richardson@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Lars,<br>
<br>
Is there any reason why using rabbitmqctl won't give you what you<br>
want? Also, have you looked at Alice and Wonderland which wrap<br>
rabbitmqctl in HTTP..?<br>
<br>
Putting all this stuff into the protocol itself will make it more<br>
complex. Though, it may be necessary...<br>
<br>
alexis<br>
<br>
<br>
On Tue, Dec 1, 2009 at 4:13 AM, Lars George <<a href="mailto:lars@worldlingo.com">lars@worldlingo.com</a>> wrote:<br>
> Hi Matthew,<br>
><br>
> Bummer. Yes, I meant using the API. Is there a reason for not making<br>
> this info available? It would help to make decisions within the app<br>
> based on if a queue is considered full (more than n entries) etc.<br>
><br>
> The SNMP interface is very nice and a good start, but that is for<br>
> Nagios/Cacti to check really. Otherwise I would have to implement an<br>
> SNMP get into the app to get the meta data.<br>
><br>
> Just wondering.<br>
><br>
> Lars<br>
><br>
> Matthew Sackman schrieb:<br>
>> On Tue, Dec 01, 2009 at 11:41:38AM +0100, Lars George wrote:<br>
>><br>
>>> Is there a way to query a queues status, as in queued elements, how many<br>
>>> not ack'ed yet etc.?<br>
>>><br>
>><br>
>> Not via the protocol - all you can get there is the number of messages<br>
>> ready in a queue through eg queue.declare. However, if you use the<br>
>> rabbitmqctl command, you can get messages_ready and<br>
>> messages_unacknowledged, and other goodies too.<br>
>><br>
>> Matthew<br>
>><br>
>> _______________________________________________<br>
>> rabbitmq-discuss mailing list<br>
>> <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
>> <a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
>><br>
>><br>
><br>
><br>
> _______________________________________________<br>
> rabbitmq-discuss mailing list<br>
> <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
> <a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
><br>
<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</blockquote></div><br>