Munin

Munin is another powerful tool for monitoring the systems. Munin is simply defined as a networked resource monitoring tool that can help analyze resource trends, and it is a detector of the performance problems according to the Munin official web site. Munin is easily expandable with its plugins.

We can monitor the resource usage of RabbitMQ using Munin with the help of Munin-RabbitMQ plugin. Ask Solem Hoel who is the employee of the Pivotal that is the main contributor is the main contributor for Munin-RabbitMQ plugin. He works for Pivotal which is main contributor to RabbitMQ. The plugin is open source and is published on GitHub. Before the integration of the RabbitMQ and Munin, we need to download all the source code using the git scm tool and copy all of the RabbitMQ-related files to the directory of Munin plugins, as shown in the following command line:

git clone https://github.com/ask/rabbitmq-munin.git
cd rabbitmq-munin
cp rabbitmq* /etc/munin/plugins/

After copying all of the files into the Munin plugin folder, we will introduce the plugin to Munin with the help of the plugin configuration file that is located in the Munin configuration folder. Each file has to be introduced to the configuration file and a user has to to be provided:

[rabbitmq_connections]
user root

[rabbitmq_consumers]
user root

[rabbitmq_messages]
user root

[rabbitmq_messages_unacknowledged]
user root

[rabbitmq_messages_uncommitted]
user root

[rabbitmq_queue_memory]
user root

After the initialization, we will be able to monitor our RabbitMQ resource usage with the help of Munin dashboard, as shown in the following image:

Munin

Munin web interface

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset