Hi Lionel,<div><br></div><div>I&#39;ve used this script to monitor the number of messages in a queue in nagios just last week:</div><div><br></div><div><a href="http://bitkickers.blogspot.com.au/2011/07/checking-rabbitmq-queue-sizeage-with.html">http://bitkickers.blogspot.com.au/2011/07/checking-rabbitmq-queue-sizeage-with.html</a></div>
<div><br></div><div>Cheers,</div><div>Dave.<br><br><div class="gmail_quote">On 13 August 2012 18:46, Lionel Cons <span dir="ltr">&lt;<a href="mailto:lionel.cons@cern.ch" target="_blank">lionel.cons@cern.ch</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;m trying to find a simple way to monitor RabbitMQ usage in terms of number<br>
of messages received and sent. I&#39;ve looked on [1] at the REST API, the<br>
Nagios Plugin, Alice and the SNMP plugin (which does not seem to exist<br>
anymore on GitHub [2]) and none of these expose this information.<br>
<br>
Would it be possible to extend the REST API to expose counters representing<br>
the total number of messages received and sent so that this could be fed<br>
into Nagios or Graphite?<br>
<br>
Cheers,<br>
<br>
Lionel Cons<br>
<br>
[1] <a href="http://www.rabbitmq.com/how.html" target="_blank">http://www.rabbitmq.com/how.html</a><br>
[2] <a href="https://github.com/epicadvertising/rabbitmq_snmp_plugin" target="_blank">https://github.com/epicadvertising/rabbitmq_snmp_plugin</a><br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><span style="font-family:arial,sans-serif"><font size="1">David Gillies</font></span></div><div><font color="#999999" face="arial, helvetica, sans-serif" size="1">Senior Systems Engineer, Brandscreen</font></div>

<div><div><font color="#999999" face="arial, helvetica, sans-serif" size="1">+61 419 470 716 | <a href="mailto:dgillies@brandscreen.com" target="_blank">dgillies@brandscreen.com</a></font></div></div><div><font color="#999999" face="arial, helvetica, sans-serif" size="1"><br>

</font></div><div><font face="arial, helvetica, sans-serif" size="1" style="color:rgb(153,153,153)">Australia:</font><font face="arial, helvetica, sans-serif" size="1" style="color:rgb(153,153,153)">�Level 2, 30 Alfred Street, Milsons Point NSW 2061 Australia</font></div>

<br>
</div>