A simple plugin for munin to monitor the number of messages in a queue.
By default monitors the celery queue for the user ‘guest’
Installation
The easiest way to install the code is to use pip.
Install the newest version from PyPI.:
pip install rabbitmq-munin
Install the latest development version:
pip install git+https://github.com/freyes/rabbitmq_munin.git#egg=rabbitmq-munin
The other option is to download and uncompress the code manually and execute the included setup.py script for installation:
./setup.py install
To make the plugin available to the munin-node you can run the following commands:
ln -s $(which rabbitmq_munin) /etc/munin/plugins/
Once munin can run the plugin, you can configure it as any other munin plugin (in /etc/munin/plugin-conf.d/munin-node) and the config will look like this:
[rabbitmq_munin] env.username guest env.password guest env.server localhost:15672 env.vhost / env.queue celery
The config above is using the default values of the plugin, your environment may require different values.
Dependencies
Python packages:
Rabbitmq plugins:
Management Plugin, you can install it with the following command:
rabbitmq-plugins enable rabbitmq_management
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file rabbitmq-munin-0.2.tar.gz.
File metadata
- Download URL: rabbitmq-munin-0.2.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd25c49ea04f76f2c9f9a57bb1c27457c2a7d6a98e0e4b820003752a3c2e5ba2
|
|
| MD5 |
07278459a779e014444792c61a6d9244
|
|
| BLAKE2b-256 |
d7d6b2e4d10fa60fb5b62b9a8964f73f32be4ee6d66334a5c20c64f89a7d09cf
|