Go to All Forums

Monitor consumers in each queue in RabbitMQ

I want site24x7 to alert me whenever there is no consumer in a queue. We have many queue in RabbitMQ and we want that each queue should have at least 1 consumer. If at any point of time the consumer becomes 0 in any of the queue then we should receive an alert. Can this be done using site24x7? Is there any script using which we can achieve this?

Like (1) Edit Delete Reply
Replies (3)

Re: Monitor consumers in each queue in RabbitMQ

Hi,

The RabbitMQ Plugin provides a metric named "consumers" . The threshold can be configured for the said metric to get alerted.

Kindly refer our help documentation to configure threshold for a plugin monitor.

 

 

Regards,

Sriram.

Like (0) Reply

Re: Re: Monitor consumers in each queue in RabbitMQ

The current plugin gives the total number of consumers in all the queues and the threshold condition is also dependent on the total number of consumer. I'm looking for put a threshold on consumers for individual queues.

 

Like (0) Edit Delete Reply

Re: Re: Re: Monitor consumers in each queue in RabbitMQ

Hi,

You can also configure a particular queue and get the respective queue's performance metrics out of the RabbitMq plugin.

Kindly follow the steps provided in the link https://github.com/site24x7/plugins/tree/master/rabbitmq_per_queue

 

Regards,

Sriram

Like (0) Reply

Was this post helpful?