RabbitMQ plugin

RabbitMQ is a messaging broker - an intermediary for messaging. It gives your applications a common platform to send and receive messages.

More information on: https://www.rabbitmq.com/

How it works

The plugin gathers statistics (memory usage, queue length, etc) for RabbitMQ by connecting to the RabbitMQ management plugin. This plugin is not installed by default, see next steps.

The minimal supported version of RabbitMQ is 2.7.

Configuration

Enable RabbitMQ management

Enabled the RabbitMQ management plugin by executing the following command line:

rabbitmq-plugins enable rabbitmq_management

Active checks

This plugin can be configured to insert and retrieve a message into your RabbitMQ. This active monitoring allows us to calculate the uptime of the service and the response time of the insert and retrieval of the message.

An existing queue should be provided. This queue should be dedicated for this check, since we will insert and retrieve messages from the queue.

Events

  • Service state

Metrics

Metric name Metric unit
How much the total number of messages has changed per second in the most recent sampling interval msg/s
Average number of Erlang processes waiting to run on node %s procs
Count of RabbitMQ messages published in the %s queue msg
Current kernel net_ticktime setting for the node on node %s s
File descriptors used as socketsFile descriptors used as sockets on node %s socks
How much the free size of the disk has changed per second in the most recent sampling interval on node %s bytes/s
How much the number of file descriptors has changed per second in the most recent sampling interval on node %s fd/s
How much the number of processes has changed per second in the most recent sampling interval on node %s procs
How much the total number of file descriptors has changed per second in the most recent sampling interval on node %s fd/s
How much the total number of messages has changed per second in the most recent sampling interval msg
How much the total number of messages has changed per second in the most recent sampling interval in the %s queue msg/s
How much the total number of messages has changed per second in the most recent sampling interval in the %s queue msg/s
How much the total number of ready messages has changed per second in the most recent sampling interval msg/s
How much the total number of ready messages has changed per second in the most recent sampling interval in the %s queue msg/s
How much the total number of unacknowledged messages has changed per second in the most recent sampling interval msg/s
How much the total number of unacknowledged messages has changed per second in the most recent sampling interval in the %s queue msg/s
How much the used memory has changed per second in the most recent sampling interval on node %s b
Maximum number of Erlang processes on node %s procs
Number of cores detected and usable by Erlang on node %s cores
Number of Erlang processes in use on node %s procs
Point at which the disk alarm will go off on node %s b
Point at which the memory alarm will go off on node %s b
RabbitMQ disk free space on node %s b
RabbitMQ file descriptors available on node %s fd
RabbitMQ memory used in the %s queue b
RabbitMQ memory used on node %s b
RabbitMQ message bytes ram in the %s queue b
RabbitMQ used file descriptors on node %s fd
Time since the Erlang VM started on node %s s
Total number of channels chans
Total number of connections to RabbitMQ server conn
Total number of exchanges queues
Total number of messages in the %s queue msg
Total number of messages in the queue msg
Total number of persistent messages in the %s queue msg
Total number of queues queues
Total number of RabbitMQ consumers cons
Total number of RabbitMQ consumers in the %s queue cons
Total number of RabbitMQ sockets on node %s socks
Total number of ready messages in the %s queue msg
Total number of ready messages in the queue msg
Total number of unacknowledged messages in the %s queue msg
Total number of unacknowledged messages in the queue msg
Total size of persistent messages in the %s queue b
Total size of ready messages in the %s queue b
Total size of the messages in the %s queue b
Total size of unacknowledged bytes in the %s queue b