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

Florian Forster octo at verplant.org
Tue May 27 13:13:48 CEST 2008


 src/Makefile.am      |    1 +
 src/plugin.c         |   13 +++---
 src/utils_complain.c |  101 ++++++++++++++++++++++++++++++++++++++++++++++++++
 src/utils_complain.h |   91 +++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 200 insertions(+), 6 deletions(-)

New commits:
commit 5bf80d6ecad0e6684eb38cf2de8e56b4f6b50fe3
Author: Sebastian Harl <sh at tokkee.org>
Date:   Thu May 22 13:37:57 2008 +0200

    src/plugin.c: Don't require write callbacks to be present.
    
    plugin_dispatch_values() used to fail, if no write callbacks had been
    registered. As that function is used to update the cache and check
    threshold as well, this limited the flexibility of collectd setups. Thus,
    the error message has been downgraded to a one-time complaint.
    
    Signed-off-by: Sebastian Harl <sh at tokkee.org>
    Signed-off-by: Florian Forster <octo at huhu.verplant.org>

commit d1247a271c1822a0cc655473430b724ab10bc004
Author: Sebastian Harl <sh at tokkee.org>
Date:   Thu May 22 13:34:54 2008 +0200

    src/utils_complain.[ch]: Reintroduced an improved version of the complain mechanism.
    
    This has been asked for a couple of times and since I need it now, here it
    goes... ;-) I've done the following modifications to Florian's original
    version:
    
     * Renamed "plugin_complain" to "c_complain".
     * Renamed "plugin_relief" to "c_release", thus using two verbs which is
       more consistent imho.
     * Added "c_complain_once" to report a complaint only once.
     * Use timestamps instead of counting multiples of "interval_g" to
       determine when to report again. Thus, multiple calls to the complain-
       functions in one interval are allowed.
    
    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