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">&lt;<a href="mailto:alexis.richardson@gmail.com">alexis.richardson@gmail.com</a>&gt;</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&#39;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 &lt;<a href="mailto:lars@worldlingo.com">lars@worldlingo.com</a>&gt; wrote:<br>
&gt; Hi Matthew,<br>
&gt;<br>
&gt; Bummer. Yes, I meant using the API. Is there a reason for not making<br>
&gt; this info available? It would help to make decisions within the app<br>
&gt; based on if a queue is considered full (more than n entries) etc.<br>
&gt;<br>
&gt; The SNMP interface is very nice and a good start, but that is for<br>
&gt; Nagios/Cacti to check really. Otherwise I would have to implement an<br>
&gt; SNMP get into the app to get the meta data.<br>
&gt;<br>
&gt; Just wondering.<br>
&gt;<br>
&gt; Lars<br>
&gt;<br>
&gt; Matthew Sackman schrieb:<br>
&gt;&gt; On Tue, Dec 01, 2009 at 11:41:38AM +0100, Lars George wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Is there a way to query a queues status, as in queued elements, how many<br>
&gt;&gt;&gt; not ack&#39;ed yet etc.?<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Not via the protocol - all you can get there is the number of messages<br>
&gt;&gt; ready in a queue through eg queue.declare. However, if you use the<br>
&gt;&gt; rabbitmqctl command, you can get messages_ready and<br>
&gt;&gt; messages_unacknowledged, and other goodies too.<br>
&gt;&gt;<br>
&gt;&gt; Matthew<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; rabbitmq-discuss mailing list<br>
&gt;&gt; <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
&gt;&gt; <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>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; rabbitmq-discuss mailing list<br>
&gt; <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
&gt; <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>
&gt;<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>