[rabbitmq-discuss] Monitoring queue size via Nagios

Tim Rosenblatt tim at cloudspace.com
Thu Oct 29 12:09:20 GMT 2009


Yep! Good addition.

Also to note: you will probably have to configure sudoers to allow nagios to
run rabbitmqctl without prompting for a password. Use the following line

nagios                          ALL=(ALL) NOPASSWD: /usr/sbin/rabbitmqctl

-- Tim

On Thu, Oct 29, 2009 at 8:04 AM, Matthias Radestock <matthias at lshift.net>wrote:

> Tim,
>
> Tim Rosenblatt wrote:
> > output = `sudo rabbitmqctl list_queues`
> > queue_sizes = output.scan(/\d+/)
>
> You may want to supply the '-q' option to rabbitmqctl in order to
> suppress the output of information messages ("Listing queues ..." ,
> "...done", etc).
>
>
> Regards,
>
> Matthias.
>



-- 
Tim Rosenblatt
Cloudspace
Office: 407-823-8808
Cell: 407-719-2777

10244 E Colonial Dr, Suite 106
Orlando, FL 32817
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20091029/9010ebe6/attachment.htm 


More information about the rabbitmq-discuss mailing list