Skip to main content

Collectd plugin for Rabbitmq.

Project description

Overview

This plugin provides metrics from yoru running Rabbitmq cluster via the rabbitmq management plugin API.

Sample Graph

Sample Graph

Configuration

  1. Assuming you have collectd installed already, append the following plugin details to your collectd.conf config file. Adjust the configuration items (interval, host, port, username, password, message_count) as you see fit.

    ```
    <LoadPlugin python>
      Globals true
    </LoadPlugin>
    
    <Plugin python>
      LogTraces true
      Interactive false
      Import "collectd_rabbitmq_monitoring"
      <Module collectd_rabbitmq_monitoring>
        # Adjust these parameters for your install:
        interval 10
        host "overcloud-controller-0.internalapi.localdomain"
        port 15672
        username guest
        password guest
        # Put the queues you want a count of messages for here:
        message_count "metering.sample" "notifications.info"
      </Module>
    </Plugin>
    ```
  2. Install the Rabbitmq management plugin

    ```
    [root@overcloud-controller-0 ~]# rabbitmq-plugins enable rabbitmq_management
    ```
  3. Install plugin

    ```
    [root@overcloud-controller-0 ~]# pip install collectd-rabbitmq-monitoring
    ```
  4. Restart collectd

    [root@overcloud-controller-0 ~]# systemctl restart collectd
  5. View metrics on Rabbitmq in your TSDB

Resources

  1. Rabbitmq.com

  2. Collectd.org

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collectd-rabbitmq-monitoring-0.0.2.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file collectd-rabbitmq-monitoring-0.0.2.tar.gz.

File metadata

File hashes

Hashes for collectd-rabbitmq-monitoring-0.0.2.tar.gz
Algorithm Hash digest
SHA256 9e8ca69a6dbc40f95f0628bf25cf8d1602c99cefd25bf2f8b626aa71d4875240
MD5 dfaa17b210d5cb5e2e5b7abddf70d1ab
BLAKE2b-256 1b75ec10e26e50515f3d8b18fb03cd2ca057ca5de1ea9707c1b22b4af4be9a45

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page