mirror of
https://github.com/cmur2/munin-rabbitmq.git
synced 2024-12-22 12:54:27 +01:00
More README
This commit is contained in:
parent
2690dcb686
commit
26af88c4b6
38
README
38
README
@ -1,3 +1,15 @@
|
|||||||
|
=========================
|
||||||
|
RabbitMQ Munin Plug-Ins
|
||||||
|
=========================
|
||||||
|
|
||||||
|
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
|
To use these plug-ins you (regretfully) have to grant access for the
|
||||||
munin-node user to use rabbitmqctl via sudo.
|
munin-node user to use rabbitmqctl via sudo.
|
||||||
|
|
||||||
@ -7,3 +19,29 @@ Add this to your ``/etc/sudoers`` file by running ``visudo``::
|
|||||||
muninuser ALL= NOPASSWD: /usr/sbin/rabbitmqctl list_connections
|
muninuser ALL= NOPASSWD: /usr/sbin/rabbitmqctl list_connections
|
||||||
|
|
||||||
Be careful and use at your own risk!
|
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>
|
||||||
|
Loading…
Reference in New Issue
Block a user