author | Andres J. Diaz <ajdiaz@connectical.com> | |
Fri, 30 Jul 2010 14:06:48 +0000 (16:06 +0200) | ||
committer | Florian Forster <octo@noris.net> | |
Wed, 4 Aug 2010 09:37:19 +0000 (11:37 +0200) | ||
commit | 799410cb4a38cf6c6e85eb3c86d050a4010d8c54 | |
tree | 08780382524342e3a6a8951b4ddced50eb41d6d3 | tree | snapshot |
parent | 7eebf413d552e2b0487c790e61bf648bb91295f0 | commit | diff |
Add redis plugin.
This commit adds a new redis plugin, which connect to a number of redis
server and get information about their status, using the libcredis > 0.2.2
library. The plugin get the following information:
* bgsave_in_progress
* change_since_last_save
* connected_clients
* connected_slaves
* total_command_processed
* total_connection_received
* uptime_in_seconds
* used_memory
Here is an example of configuration file:
<Plugin redis>
<Node example>
Host "localhost"
Timeout 2000
</Node>
</Plugin>
And the output of rrdtool plugin must be something similar to this:
redis-example/bgsave_in_progress.rrd
redis-example/changes_since_last_save.rrd
redis-example/connected_clients.rrd
redis-example/connected_slaves.rrd
redis-example/total_commands_processed.rrd
redis-example/total_connections_received.rrd
redis-example/uptime_in_seconds.rrd
redis-example/used_memory.rrd
Enjoy! :)
This commit adds a new redis plugin, which connect to a number of redis
server and get information about their status, using the libcredis > 0.2.2
library. The plugin get the following information:
* bgsave_in_progress
* change_since_last_save
* connected_clients
* connected_slaves
* total_command_processed
* total_connection_received
* uptime_in_seconds
* used_memory
Here is an example of configuration file:
<Plugin redis>
<Node example>
Host "localhost"
Timeout 2000
</Node>
</Plugin>
And the output of rrdtool plugin must be something similar to this:
redis-example/bgsave_in_progress.rrd
redis-example/changes_since_last_save.rrd
redis-example/connected_clients.rrd
redis-example/connected_slaves.rrd
redis-example/total_commands_processed.rrd
redis-example/total_connections_received.rrd
redis-example/uptime_in_seconds.rrd
redis-example/used_memory.rrd
Enjoy! :)
.gitignore | diff | blob | history | |
README | diff | blob | history | |
configure.in | diff | blob | history | |
src/Makefile.am | diff | blob | history | |
src/collectd.conf.in | diff | blob | history | |
src/collectd.conf.pod | diff | blob | history | |
src/redis.c | [new file with mode: 0644] | blob |
src/types.db | diff | blob | history |