[rabbitmq-discuss] rabbitmqctl diag command?

Ben Hood 0x6e6562 at gmail.com
Thu Jul 3 17:14:13 BST 2008


On Thu, Jul 3, 2008 at 4:52 PM, Dmitriy Samovskiy
<dmitriy.samovskiy at cohesiveft.com> wrote:
> When you are running rabbitmq broker, what do you use to check its status and to make sure
> it's still operational?

The crudest way is to call rabbitmqctl status which will list the
running nodes and running applications, e.g.

4> rabbit_control:action(status,node(),[]).
Status of node nonode at nohost ...
                        {mnesia,"MNESIA  CXC 138 12","4.4.3"},
                        {os_mon,"CPO  CXC 138 46","2.1.6"},
                        {sasl,"SASL  CXC 138 11",""},
                        {stdlib,"ERTS  CXC 138 10","1.15.3"},
                        {kernel,"ERTS  CXC 138 10","2.12.3"}]},
 {nodes,[nonode at nohost]},
 {running_nodes,[nonode at nohost]}]

If those 6 OTP applications are not running, then you may have a problem.

> I could open a test connection every 5 minutes or so, send and consume a message; if
> either fails, send an alarm. Does anybody else have other ideas?


More information about the rabbitmq-discuss mailing list