Yep! Good addition. <br><br>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<br><br>nagios ALL=(ALL) NOPASSWD: /usr/sbin/rabbitmqctl<br>
<br>-- Tim<br><br><div class="gmail_quote">On Thu, Oct 29, 2009 at 8:04 AM, Matthias Radestock <span dir="ltr"><<a href="mailto:matthias@lshift.net">matthias@lshift.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Tim,<br>
<div class="im"><br>
Tim Rosenblatt wrote:<br>
> output = `sudo rabbitmqctl list_queues`<br>
> queue_sizes = output.scan(/\d+/)<br>
<br>
</div>You may want to supply the '-q' option to rabbitmqctl in order to<br>
suppress the output of information messages ("Listing queues ..." ,<br>
"...done", etc).<br>
<br>
<br>
Regards,<br>
<font color="#888888"><br>
Matthias.<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Tim Rosenblatt<br>Cloudspace<br>Office: 407-823-8808<br>Cell: 407-719-2777<br><br>10244 E Colonial Dr, Suite 106<br>Orlando, FL 32817<br>