This is a collectd (http://collectd.org/) plugin which runs under the Python plugin (https://collectd.org/wiki/index.php/Plugin:Python) to collect metrics from redis (http://redis.io/).
Redis
Read access to Redis' UNIX Domain socket or TCP port.
collectd
Collectd must have the Python plugin installed. See (https://collectd.org/wiki/index.php/Plugin:Python)
Python 2.6 and later
Plugin currently supports Python 2.6 and later.
Socket
Path to a UNIX Domain socket of the Redis instance.
Default: noneIP
IP Address of the Redis instance.
When specified together with Socket, takes over Socket option.
Default: 127.0.0.1Port
TCP Port of the Redis instance.
Default: 6379Auth
Password to use when connecting to Redis instance.
Default: noneCommandstats
Include Redis command statistics, from "INFO COMMANDSTATS" command.
Default: falseVerbose
Provide verbose logging of plugin operation in the Collectd's log.
Default: falseInstance
There are situations when multiple instances of Redis need to run on the same host. This option opens an Instance block.
TypesDB "/usr/share/collectd/redis_types.db"
<LoadPlugin python>
Globals true
</LoadPlugin>
<Plugin python>
# redis_plugin.py is at /usr/lib64/collectd/redis_plugin.py
ModulePath "/usr/lib64/collectd/"
Import "redis_plugin"
<Module redis_plugin>
Socket "/var/run/redis.sock"
Commandstats true
Verbose false
</Module>
</Plugin>
TypesDB "/usr/share/collectd/redis_types.db"`
<LoadPlugin python>
Globals true
</LoadPlugin>
<Plugin python>
# redis_plugin.py is at /usr/lib64/collectd/redis_plugin.py
ModulePath "/usr/lib64/collectd/"
Import "redis_plugin"
<Module redis_plugin>
<Instance redis1>
Socket "/var/run/redis1.sock"
Commandstats false
</Instance>
<Instance redis2>
IP "127.0.0.1"
Port 6379
Auth "foobared"
Commandstats true
</Instance>
Verbose false
</Module>
</Plugin>
These graphs were created using Graphite (http://graphite.wikidot.com/)