2009-06-19 14:34:53 +02:00
|
|
|
=========================
|
|
|
|
RabbitMQ Munin Plug-Ins
|
|
|
|
=========================
|
|
|
|
|
2009-07-13 21:06:25 +02:00
|
|
|
Screenshots
|
|
|
|
===========
|
|
|
|
|
|
|
|
.. image:: http://cloud.github.com/downloads/ask/rabbitmq-munin/rabbitmq-munin-connections.png
|
|
|
|
|
|
|
|
.. image:: http://cloud.github.com/downloads/ask/rabbitmq-munin/rabbitmq-munin-consumers.png
|
|
|
|
|
|
|
|
.. image:: http://cloud.github.com/downloads/ask/rabbitmq-munin/rabbitmq-munin-list_queues.png
|
|
|
|
|
|
|
|
.. image:: http://cloud.github.com/downloads/ask/rabbitmq-munin/rabbitmq-munin-queue-memory.png
|
|
|
|
|
|
|
|
.. image:: http://cloud.github.com/downloads/ask/rabbitmq-munin/rabbitmq-munin-unacknowledged.png
|
|
|
|
|
2009-06-19 14:34:53 +02:00
|
|
|
Installation
|
|
|
|
============
|
|
|
|
|
|
|
|
Copy the plug-ins to the munin plugin directory, e.g ``/etc/munin/plugins/``.
|
|
|
|
|
|
|
|
Granting Permissions
|
|
|
|
====================
|
|
|
|
|
2010-04-21 12:40:38 +02:00
|
|
|
To use these plug-ins you have to tell munin-node to execute them as
|
|
|
|
root by changing the plug-in configuration file (on debian that is
|
|
|
|
``/etc/munin/plugin-conf.d``)::
|
2009-06-18 15:57:20 +02:00
|
|
|
|
2013-01-29 07:36:51 +01:00
|
|
|
[rabbitmq_connections]
|
2010-04-21 12:40:38 +02:00
|
|
|
user root
|
|
|
|
|
2013-03-20 14:59:53 +01:00
|
|
|
[rabbitmq_consumers]
|
2010-04-21 12:40:38 +02:00
|
|
|
user root
|
|
|
|
|
2013-03-20 14:59:53 +01:00
|
|
|
[rabbitmq_messages]
|
2010-04-21 12:40:38 +02:00
|
|
|
user root
|
|
|
|
|
2013-03-20 14:59:53 +01:00
|
|
|
[rabbitmq_messages_unacknowledged]
|
2010-04-21 12:40:38 +02:00
|
|
|
user root
|
|
|
|
|
2013-03-20 14:59:53 +01:00
|
|
|
[rabbitmq_messages_uncommitted]
|
2010-04-21 12:40:38 +02:00
|
|
|
user root
|
2009-06-18 15:57:20 +02:00
|
|
|
|
2013-03-20 14:59:53 +01:00
|
|
|
[rabbitmq_queue_memory]
|
2010-04-21 12:40:38 +02:00
|
|
|
user root
|
2009-06-18 15:57:20 +02:00
|
|
|
|
2009-06-19 14:34:53 +02:00
|
|
|
|
|
|
|
Using a Custom Virtual Host
|
|
|
|
============================
|
|
|
|
|
|
|
|
You can set the name of virtual host by changing the plug-in configuration
|
|
|
|
file (on debian that is ``/etc/munin/plugin-conf.d``)::
|
|
|
|
|
2013-03-20 14:59:53 +01:00
|
|
|
[rabbitmq_consumers]
|
2009-06-19 14:34:53 +02:00
|
|
|
env.vhost vhostname
|
|
|
|
|
2013-03-20 14:59:53 +01:00
|
|
|
[rabbitmq_messages]
|
2009-06-19 14:34:53 +02:00
|
|
|
env.vhost vhostname
|
|
|
|
|
2013-03-20 14:59:53 +01:00
|
|
|
[rabbitmq_messages_unacknowledged]
|
2009-06-19 14:34:53 +02:00
|
|
|
env.vhost vhostname
|
|
|
|
|
2013-03-20 14:59:53 +01:00
|
|
|
[rabbitmq_messages_uncommitted]
|
2009-06-19 14:34:53 +02:00
|
|
|
env.vhost vhostname
|
|
|
|
|
2013-03-20 14:59:53 +01:00
|
|
|
[rabbitmq_queue_memory]
|
2009-06-19 14:34:53 +02:00
|
|
|
env.vhost vhostname
|