rabbitmqalertsbrokermailingrabbitmqctl

I want to send a mail to admin when Rabbitmq memory or disk alarm are triggered, is there some easy way to achive this?


https://www.rabbitmq.com/alarms.html

according to docs,

There are two circumstances under which RabbitMQ will stop reading from client network sockets, in order to prevent crashes. They are:

When memory use goes above the configured limit. When disk space drops below the configured limit.

I want to send mail to admin if any of condition is breached.

Thanks in advance for helping.


Solution

  • there are a lot of off-the-shelf tools that will do this for you. check out the management & monitoring section of the "How To" page on the RMQ website and find one that works with your existing monitoring tools.