Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Collectd plugin for Rabbitmq.

Project description

collectd-rabbitmq-monitoring

Overview

This plugin provides metrics from a 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
        # Omit message_count if you do not want to count any messages on
        # specific queues.
        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

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
collectd-rabbitmq-monitoring-0.0.5.tar.gz (119.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page