RabbitMQ Monitoring

Monitor the performance of your RabbitMQ servers using Site24x7 plugin.

RabbitMQ is open source message broker software that implements the Advanced Message Queuing Protocol (AMQP). Configure our RabbitMQ monitoring tool and troubleshoot all your RabbitMQ server performance issues.

This document details how to configure the RabbitMQ plugin and the monitoring metrics for providing in-depth visibility into the performance, availability, and usage stats of RabbitMQ servers.

RabbitMQ performance monitoring metrics:

Take informed troubleshooting decisions by keeping track of critical metrics including:

File descriptors used

The total amount of file descriptors used. Helpful in ensuring access to input/output resources such as files is intact.

Memory used

The total amount of memory used by the RabbitMQ queuing services in bytes.

Queued messages

The average number of Erlang processes waiting to run in a queue. For ease of understanding, they are numbered by depicting them as processes.

Sockets used

The total number of file descriptors used as sockets.


The total number of network partitions that this node is seeing.


The total number of consumers.

Ready messages

The total number of messages ready to be delivered to clients.

Unacknowledged messages

The total number of messages delievered to clients that are yet to be acknowledged.

Message rate

Count of the total messages that are in the queue .

How it works?

  • Log-in to your Site24x7 account. Sign up here if you don't have one
  • Download and install the latest version of Site24x7 Linux Agent
  • Install the RabbitMQ plugin
  • The agent will execute the RabbitMQ plugin and push the data to the Site24x7 server


  • Our plugin uses Management Plugin to fetch the performance metrics. If by default it is not configured in the installation of RabbitMQ agent, please configure it.

RabbitMQ plugin installation:

  • Create a directory with the name "rabbitmq", under Site24x7 Linux Agent plugin directory - /opt/site24x7/monagent/plugins/rabbitmq
  • Download the file "rabbitmq.py" from our GitHub repository and place it under the "rabbitmq" directory
  • Commands to perform the above step:
  • cd /opt/site24x7/monagent/plugins/
    mkdir rabbitmq
    cd rabbitmq
    wget https://raw.githubusercontent.com/site24x7/plugins/master/rabbitmq/rabbitmq.py

RabbitMQ plugin configuration:

  • By default RabbitMQ plugin uses the status url to fetch the performance metrics
  • In order to change the configurations, go to plugins directory and edit the required plugin file
    rabbitmq => /opt/site24x7/monagent/plugins/rabbitmq/rabbitmq.py
  • The default python path given in the plugin script is #!/usr/bin/python. If you wish to provide an alternate python path, replace the existing one preceded by the shebang character "#!".
  • Make your changes in the config section (sample provided below)
  • RABBITMQ_HOST='localhost'

Monitoring additional metrics:

  • To monitor additional metrics, edit the "rabbitmq.py" file and add the new metrics that need monitoring
  • Increment the plugin version value in the file "rabbitmq.py" to view the newly added metrics ( For e.g. Change the default plugin version from PLUGIN_VERSION = "1" to "PLUGIN_VERSION = "2")

Related plugins:

  • HAProxy plugin - Monitor performance metrics of your HAProxy databases
  • MongoDB plugin - Monitor performance metrics of your MongoDB databases
  • Supervisord plugin - Analyze performance of your Supervisord server
  • Nagios plugin - Execute thousands of Nagios plugins in Site24x7 without the need of running a Nagios server
  • Out-of-the-box plugins - Monitor your entire app stack with our extensive list of integrations
  • Create custom plugins - Create custom Linux and Windows plugins and monitor custom attributes

World's leading companies


Don't have a Site24x7 account? Sign up now!