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

Florian Forster octo at verplant.org
Sun Oct 28 16:48:44 CET 2007


 src/Makefile.am   |   11 +-
 src/perl.c        |    4 +
 src/plugin.c      |    7 +
 src/utils_cache.c |  201 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/utils_cache.h |   31 ++++++++
 5 files changed, 249 insertions(+), 5 deletions(-)

New commits:
commit aed8c4a152fc95c52fb913834b847942eadc2c67
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sun Oct 28 16:46:58 2007 +0100

    src/utils_cache.[ch]: Added a global cache for all values that are dispatched.
    
    The cache translates counter values to gauge values using the last counter
    value available. This can then be used to check against threshold values, as
    we'll need to do for monitoring functionality.
    
    Right now the cache doesn't do much: It sits there and caches the values, but
    is not yet ever queried. The already implemented (but so far unused) function
    `uc_get_rate' returns an array of gauge_t values.
    
    The longterm goal is to have the network, rrdtool and unixsock plugins use this
    cache, too. This will require some `plugin specific' data with appropriate
    control structures and, which is likely the hardest part, some clever locking
    for all that.

commit bc6790409971d84b1c8aa7201667c869e155e03b
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sun Oct 28 10:50:24 2007 +0100

    perl plugin: Set $0 to "collectd".
    
    perl_parse() has to set it to "-e" which is not very meaningful. It would
    be even nicer to set it to argv[0] but this is not available from inside
    the plugin.
    
    Signed-off-by: Sebastian Harl <sh at tokkee.org>
    Signed-off-by: Florian Forster <octo at huhu.verplant.org>




More information about the collectd-changes mailing list