1
0
mirror of https://github.com/cmur2/munin-rabbitmq.git synced 2024-12-22 02:54:26 +01:00
Munin-plugins for RabbitMQ
Go to file
Ask Solem 2c1cae8ba2 Merge branch 'robotadam/master'
Conflicts:
	rabbitmq-consumers
	rabbitmq-messages
	rabbitmq-queue_memory
2010-04-02 16:19:47 +02:00
rabbitmq-connections Removed the sudo call to allow munin-node to configure the user and fixed a parsing error when a queue has a period in the name 2010-03-03 01:52:12 +08:00
rabbitmq-consumers Merge branch 'robotadam/master' 2010-04-02 16:19:47 +02:00
rabbitmq-messages Merge branch 'robotadam/master' 2010-04-02 16:19:47 +02:00
rabbitmq-messages_unacknowledged Merge branch 'robotadam/master' 2010-04-02 16:19:47 +02:00
rabbitmq-messages_uncommitted Merge branch 'robotadam/master' 2010-04-02 16:19:47 +02:00
rabbitmq-queue_memory Merge branch 'robotadam/master' 2010-04-02 16:19:47 +02:00
README.rst Add screenshots to README 2009-07-13 21:06:25 +02:00

=========================
 RabbitMQ Munin Plug-Ins
=========================

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

Installation
============

Copy the plug-ins to the munin plugin directory, e.g ``/etc/munin/plugins/``.

Granting Permissions
====================

To use these plug-ins you (regretfully) have to grant access for the
munin-node user to use rabbitmqctl via sudo.

Add this to your ``/etc/sudoers`` file by running ``visudo``::

    muninuser ALL= NOPASSWD: /usr/sbin/rabbitmqctl list_queues *
    muninuser ALL= NOPASSWD: /usr/sbin/rabbitmqctl list_connections

Be careful and use at your own risk!

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``)::

    [rabbitmq-consumers]
    env.vhost vhostname

    [rabbitmq-messages]
    env.vhost vhostname

    [rabbitmq-messages_unacknowledged]
    env.vhost vhostname

    [rabbitmq-messages_uncommitted]
    env.vhost vhostname

    [rabbitmq-queue_memory]
    env.vhost vhostname

Author
======

Ask Solem <askh@opera.com>