[rabbitmq-discuss] Cacti templates for rabbitmq available

Simon MacMullen simon at rabbitmq.com
Mon Oct 29 16:22:21 GMT 2012


On 29/10/12 03:29, Artur Ejsmont wrote:
> Hi there everyone,
>
> I have created a cacti host template and a simple rabbitmqctl processing
> script for rabbitmq.

Cool!

> Please feel free to check it out and send some feedback:
> http://artur.ejsmont.org/blog/content/cacti-rabbitmq-host-template-with-graph-templates-and-gathering-script
>
> I only created them as I could not find any online and I still use cacti
> all over the place :)
>
> 1. If you know how to get stats over AMQP that would be even better as i
> would not need to run the cron. Is there some built-in stats reporting
> over AMQP giving rabbitmqctl list/stats features?

Not really, base AMQP just lets you get some very basic stats (number of 
messages, number of consumers) per queue in the queue.declare-ok method.

Gavin M Roy has started an unofficial plugin which broadcasts management 
info over AMQP:

https://github.com/gmr/rabbitmq-pulse

> 2. I also wanted to get some more stats but could not find a way to get
> them, is there way to get these:
> - avg message age (how much time does it take on avg for message to get
> from publisher to consumer

You can estimate this with (queue length) / (ack rate). But this is of 
course an estimate, not historical data.

> - total bytes sent/read per vhost or per node (value is available per
> channel but it can not be summarised to give stable graph)
> - total messages published/consumed (i can get depth of the queue but  i
> dont know how many messages passed through the system)
> - total connections opened (same as above, in case of clients connecting
> and disconnecting very fast i wont see the velocity as i can only see
> the current connections count)

Yeah, all these are reasonable things to want, and are on the list for 
the next time we revisit management statistics.

Cheers, Simon

-- 
Simon MacMullen
RabbitMQ, VMware


More information about the rabbitmq-discuss mailing list