Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Python
branch: master

This branch is 3 commits ahead, 20 commits behind powdahound:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
screenshots
.gitignore
README.md
redis.conf
redis_info.py

README.md

redis-collectd-plugin

A Redis plugin for collectd using collectd's Python plugin.

Data captured includes:

  • Memory used
  • Commands processed per second
  • Number of connected clients and slaves
  • Number of blocked clients
  • Number of keys stored (per database)
  • Uptime
  • Changes since last save

Install

  1. Place redis_info.py in /opt/collectd/lib/collectd/plugins/python (assuming you have collectd installed to /opt/collectd).
  2. Configure the plugin (see below).
  3. Restart collectd.

Configuration

Add the following to your collectd config or use the included redis.conf.

<LoadPlugin python>
  Globals true
</LoadPlugin>

<Plugin python>
  ModulePath "/opt/collectd/lib/collectd/plugins/python"
  Import "redis_info"

  <Module redis_info>
    Host "localhost"
    Port 6379
    Verbose false
  </Module>
</Plugin>

Graph examples

These graphs were created using collectd's rrdtool plugin and drraw.

Clients connected Commands/sec db0 keys Memory used

Requirements

  • collectd 4.9+
Something went wrong with that request. Please try again.