[collectd-changes] collectd, the system statistics collection daemon: Changes to 'master'

Florian Forster octo at verplant.org
Tue Aug 17 18:45:30 CEST 2010


 .gitignore            |    6 +
 README                |    8 ++
 configure.in          |   63 ++++++++++
 src/Makefile.am       |   20 +++
 src/collectd.conf.in  |   18 +++
 src/collectd.conf.pod |   46 +++++++
 src/redis.c           |  311 +++++++++++++++++++++++++++++++++++++++++++++++++
 src/types.db          |    3 +
 src/write_redis.c     |  238 +++++++++++++++++++++++++++++++++++++
 9 files changed, 713 insertions(+), 0 deletions(-)

New commits:
commit e7be1d7ea062e8d4d59c04c42e63d655188dc597
Merge: 97a1b92446be5e0ebb68d25ec8b94743f2ac12fb e76aaa05606e1dfb443a4e4c7028c0ee6ed558e3
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Tue Aug 17 18:43:37 2010 +0200

    Merge branch 'ad/redis'

commit e76aaa05606e1dfb443a4e4c7028c0ee6ed558e3
Merge: 7983affe67549ba8d84606f5ada0b98325687d13 3e2a37d253db4eb286445e696029506c1bcec34a
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Tue Aug 17 18:43:33 2010 +0200

    Merge branch 'ff/redis' into ad/redis

commit 3e2a37d253db4eb286445e696029506c1bcec34a
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Tue Aug 17 16:45:42 2010 +0200

    write_redis plugin: Add all identifiers to a "set".
    
    This should make it easy for front-ends to discover available metrics.

commit b79847972128878c67655b9a0c89b481861ee45a
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Tue Aug 17 16:09:55 2010 +0200

    write_redis plugin: Use an "append" macro to fill the values buffer.
    
    This way we don't have to copy the entire buffer, which is hopefully
    faster.

commit 53181fa3b5a91f47e51d01d56b34906f8b244a1b
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Tue Aug 17 15:54:15 2010 +0200

    write_redis plugin: Fix copyright information.

commit 7983affe67549ba8d84606f5ada0b98325687d13
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Tue Aug 17 15:50:26 2010 +0200

    redis plugin: Add default configuration.

commit ab81f781b1baad179f2c96abf54138d8a7d43cc9
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Tue Aug 17 15:48:25 2010 +0200

    redis plugin: Improve the types used for storing information.

commit e8d81d7d47826dbb0e0549ab1c1d5a50add51037
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Tue Aug 17 15:20:59 2010 +0200

    redis plugin: Use a linked list rather than an AVL tree.
    
    Since the main purpose of the data structure is to iterate over it, using
    an AVL tree here is less efficient than a linked list. Also, it's easier
    to read.

commit f3706b0b8792e7340225d7667f69ffb7b178c08e
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Tue Aug 10 13:26:45 2010 +0200

    write_redis plugin: Add a new plugin writing collectd data to an instance of Redis.

commit fe3dc1b1d500cf1593009ef70487c3eb29cec57f
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Tue Aug 10 11:18:42 2010 +0200

    collectd.conf(5): Improve the "Redis plugin" documentation a bit.

commit b591eca287a75abd96523d0ac10304cd18881c7b
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Tue Aug 10 11:08:03 2010 +0200

    configure.in: Reorder the library checks alphabetically.

commit acc9dfa25b7c0c2eedd28c3861f7ef7fc82945ed
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Tue Aug 10 10:54:31 2010 +0200

    redis plugin: Simplify configuration handling.

commit d6ef3dad2f3dc9d7c35a9bbb563e52c3f0c1ec7c
Author: Andres J. Diaz <ajdiaz at connectical.com>
Date:   Mon Aug 9 10:45:06 2010 +0200

    Fix a number of minor bugs.
    
    - The Port configuration option is a string, not a number. Fix
      documentation.
    
    - Fix a bad status assignement in port parser.
    
    - Remove default node. Now node is mandatory to prevent
      duplicates in tree.
    
    - Update configuration example too.

commit 47d5efe6eae80527119114892aa539d5bfd925df
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Wed Aug 4 14:43:38 2010 +0200

    redis plugin: Use "sizeof" rather than repeating the size.

commit 272fd122c536588e4d196ee098705c482aee13e3
Author: Florian Forster <octo at noris.net>
Date:   Wed Aug 4 11:49:06 2010 +0200

    redis plugin: Whitespace fixes.
    
    I've re-indented the entire plugin because indentation was all over the
    place. Sorry, if this breaks any patches for you. I'm not usually a
    friend of doing this, but I felt it'd be best to do this early on to
    annoy the smallest possible number of people.

commit ef30456d00ad45d734a17877aeb97d3dc7fd3e21
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Wed Aug 4 11:36:04 2010 +0200

    redis plugin: Fix typos preventing a successful build.

commit 799410cb4a38cf6c6e85eb3c86d050a4010d8c54
Author: Andres J. Diaz <ajdiaz at connectical.com>
Date:   Fri Jul 30 16:06:48 2010 +0200

    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! :)




More information about the collectd-changes mailing list