A collected plugin, written in python, to collect statistics from RabbitMQ.
Python Makefile
Clone or download
Permalink
Failed to load latest commit information.
collectd_rabbitmq Bump version: 1.19.0 → 1.20.0 May 9, 2018
config Add metric consumer_utilisation into queue_stats May 3, 2018
docs Docs: Use correct module name in example. Jan 2, 2017
tests Add metric consumer_utilisation into queue_stats May 3, 2018
utils Add vagrant setup for testing Jan 4, 2017
vagrant Bump version: 1.19.0 → 1.20.0 May 9, 2018
.editorconfig Make rework of plugin with proper tests and project structure Dec 14, 2015
.gitignore Fix merge commits for multiple endpoints Jan 6, 2017
.testr.conf update tox testing to use testr Jan 4, 2017
.travis.yml Clean up travis and setup.py Mar 23, 2016
AUTHORS.rst Remove test-repository Dec 14, 2015
CONTRIBUTING.rst Make rework of plugin with proper tests and project structure Dec 14, 2015
HISTORY.rst Make rework of plugin with proper tests and project structure Dec 14, 2015
LICENSE Add NYT info to license Jun 24, 2014
MANIFEST.in Update MANIFEST Mar 23, 2016
Makefile Remove test-repository Dec 14, 2015
README.rst Add metric consumer_utilisation into queue_stats May 3, 2018
Vagrantfile Vagrant updates Mar 29, 2017
ansible.cfg Add vagrant setup for testing Jan 4, 2017
requirements.txt update tox testing to use testr Jan 4, 2017
setup.cfg Bump version: 1.19.0 → 1.20.0 May 9, 2018
setup.py Bump version: 1.19.0 → 1.20.0 May 9, 2018
test-requirements.txt Make rework of plugin with proper tests and project structure Dec 14, 2015
tox.ini Make tox run pytest with coverage Jan 4, 2017
travis_pypi_setup.py Make rework of plugin with proper tests and project structure Dec 14, 2015

README.rst

collectd-rabbitmq

Documentation Status https://coveralls.io/repos/github/NYTimes/collectd-rabbitmq/badge.svg?branch=master

"A collected plugin, written in python, to collect statistics from RabbitMQ."

Features

  • Support queue, exchange, and node stats,

Configuration

This plugin supports a small amount of configuration options:

  • Username: The rabbitmq user. Defaults to guest
  • Password: The rabbitmq user password. Defaults to guest
  • Realm: The http realm for authentication. Defaults to RabbitMQ Management
  • Scheme: The protocol that the rabbitmq management API is running on. Defaults to http
  • Host: The hostname that the rabbitmq server running on. Defaults to localhost
  • Port: The port that the rabbitmq server is listening on. Defaults to 15672
  • ValidateCerts: You can ignore verifying the SSL certificate if you set it to false. Defaults to true
  • VHostPrefix: Arbitrary string to prefix the vhost name with. Defaults to None
  • Ignore: The queue to ignore, matching by Regex. See example.
See this example for further details.

Nodes

For each node the following statistics are gathered:

  • disk_free_limit
  • fd_total
  • fd_used
  • mem_limit
  • mem_used
  • proc_total
  • proc_used
  • processors
  • run_queue
  • sockets_total
  • sockets_used

Queues

For each queue in each vhost the following statistics are gathered: _NOTE_: The / vhost name is sent as default

  • message_stats
    • deliver_get
    • deliver_get_details
      • rate
    • get
    • get_details
      • rate
    • publish
    • publish_details
      • rate
    • redeliver
    • redeliver_details
      • rate
  • messages
  • messages_details
    • rate
  • messages_ready
  • messages_ready_details
    • rate
  • messages_unacknowledged
  • messages_unacknowledged_details * rate
  • memory
  • consumers
  • consumer_utilisation

Exchanges

For each exchange in each vhost the following statistics are gathered: _NOTE_: The / vhost name is sent as default

  • disk_free
  • disk_free_limit
  • fd_total
  • fd_used
  • mem_limit
  • mem_used
  • proc_total
  • proc_used
  • processors
  • run_queue
  • sockets_total
  • sockets_used

Credits

This package was created with Cookiecutter and the cookiecutter-pypackage project template.