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
- Place redis_info.py in /opt/collectd/lib/collectd/plugins/python (assuming you have collectd installed to /opt/collectd).
- Configure the plugin (see below).
- Restart collectd.
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>
These graphs were created using collectd's rrdtool plugin and drraw.
- collectd 4.9+