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

Florian Forster octo at verplant.org
Wed Apr 30 11:04:33 CEST 2008


 bindings/perl/Collectd.pm |   37 +++++-
 configure.in              |   12 +-
 src/collectd-perl.pod     |   53 +++++++-
 src/collectd.c            |    4 +
 src/collectd.h            |    3 -
 src/email.c               |  365 +++++++++++++++++----------------------------
 src/interface.c           |    4 +
 src/load.c                |    6 +-
 src/memory.c              |   18 ++-
 src/perl.c                |   88 +++++++++++-
 src/swap.c                |    4 +
 11 files changed, 343 insertions(+), 251 deletions(-)

New commits:
commit d22aee658210cbfa44caa39f302aa9331d4eab82
Merge: 981fe506e52ca86d74eeef132a9231b402c4658a 4d36d5826a3853ccd62195daf3b831d942850f1a
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Wed Apr 30 10:59:32 2008 +0200

    Merge branch 'collectd-4.3' into collectd-4.4

commit 4d36d5826a3853ccd62195daf3b831d942850f1a
Merge: a32caa9956625a5f27cc9a864caf050ade0b4ca9 540f2619a4d09fdb6ae465e8cc935c9dec4bcf70
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Wed Apr 30 10:59:19 2008 +0200

    Merge branch 'collectd-4.2' into collectd-4.3
    
    Conflicts:
    
    	configure.in
    	src/perl.c

commit 540f2619a4d09fdb6ae465e8cc935c9dec4bcf70
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Wed Apr 30 10:57:51 2008 +0200

    load plugin: Use #if rather than #ifdef.

commit d8b351fe7833b3dd3375e3665dd12be3c5520b63
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Wed Apr 30 10:57:22 2008 +0200

    build system: Remove the COLLECT_LIBIOKIT define.
    
    It isn't used anywhere, so remove it.

commit a8287f5aaac5f42367f61cd4ba214ee1e7a0770e
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Wed Apr 30 10:52:27 2008 +0200

    build system: Define HAVE_LIBSTATGRAB if the statgrab library is available.
    
    This define is used in some plugins. Thanks to Oleg King for noticing and
    pointing this out and thanks to Sebastian Harl for a first patch which,
    unfortunately, doesn't work anymore after changing the configure script.

commit 3693eefca257fe28e4b363ecfd39a44571f180ac
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Apr 28 16:53:57 2008 +0200

    perl plugin: Work around a compiler warning on FreeBSD.
    
    On FreeBSD, PERL_SYS_INIT3 expands to some expression which triggers a "value
    computed is not used" warning by gcc. By telling the compiler to ignore this
    value, we can work around this issue. In the long run, this should imho be
    fixed in Perl though.
    
    Signed-off-by: Sebastian Harl <sh at tokkee.org>
    Signed-off-by: Florian Forster <octo at huhu.verplant.org>

commit 981fe506e52ca86d74eeef132a9231b402c4658a
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sun Apr 27 20:58:44 2008 +0200

    email plugin: Simplified code.
    
    While looking at the code for some reason, I decided to simplify and
    improve large parts of it. Most notably, standard IO streams are now used
    to read from the socket. This allowed to remove large parts of the code
    which were used to read and buffer data from the socket so far.
    
    Also among the changes:
     * free any allocated memory
     * added / improved log messages
     * do not require euid == 0 to chown() the socket
    
    Signed-off-by: Sebastian Harl <sh at tokkee.org>
    Signed-off-by: Florian Forster <octo at huhu.verplant.org>

commit 0fb622abbe7df8156cb89adc19d028e629054aed
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sun Apr 27 20:57:34 2008 +0200

    collectd-perl(5): Documented the support for flush callbacks.
    
    Signed-off-by: Sebastian Harl <sh at tokkee.org>
    Signed-off-by: Florian Forster <octo at huhu.verplant.org>

commit 5f423a125f1b7199cedcb674b31fce78caa771a7
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sun Apr 27 20:56:52 2008 +0200

    Collectd.pm: Renamed the plugin_flush() "name" parameter to "plugins".
    
    This is more consistent with Collectd::Unixsock.
    
    Signed-off-by: Sebastian Harl <sh at tokkee.org>
    Signed-off-by: Florian Forster <octo at huhu.verplant.org>

commit 99c9ed11143554e045e931f643b7b8d30e092d76
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sun Apr 27 20:56:09 2008 +0200

    perl plugin: Exported plugin_flush*() to Perl.
    
    This adds the following functions to collectd's Perl API which flush the
    given plugins using the given interval.
    
     * Collectd::plugin_flush:
       This function is a frontend to _flush_one() and _flush_all() and
       expects up to two named parameters:
       - timeout => $timeout
       - name    => $name or [ $name1, $name2, ... ]
     * Collectd::plugin_flush_one:
       This function expects exactly two parameters, namely the timeout and
       the plugin name.
     * Collectd::plugin_flush_all:
       This function expects a single parameter, namely the timeout.
    
    Signed-off-by: Sebastian Harl <sh at tokkee.org>
    Signed-off-by: Florian Forster <octo at huhu.verplant.org>

commit 71d217e6aa1b0e0df9252831c528e5fcc6838646
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sun Apr 27 20:53:49 2008 +0200

    perl plugin, Collectd.pm: Added support to flush Perl plugins.
    
    Perl plugins may now register a callback of type Collectd::TYPE_FLUSH. A
    single integer argument, representing the timeout in seconds, will be
    passed to such callbacks.
    
    Signed-off-by: Sebastian Harl <sh at tokkee.org>
    Signed-off-by: Florian Forster <octo at huhu.verplant.org>

commit a32caa9956625a5f27cc9a864caf050ade0b4ca9
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sun Apr 20 23:21:50 2008 +0200

    Collectd.pm: Fixed the check for complete function names in plugin_register.
    
    plugin_register() checks if the registered function includes the plugin's
    package name. Up to now, this check would also have succeeded if the
    function name itself would be prepended by the package name. Now, the
    check looks for the separator "::".
    
    Signed-off-by: Sebastian Harl <sh at tokkee.org>
    Signed-off-by: Florian Forster <octo at huhu.verplant.org>

commit 9d5a7847b03d78a94b6a0b153abeb630b4b94ddd
Merge: 3da24ea8c48268a64025dc4aae5bdf223d7dad0c f05e9721b9ea58d6ea4a8295a80cede2d6b327d1
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Wed Apr 30 10:26:28 2008 +0200

    Merge branch 'collectd-4.2' into collectd-4.3

commit f05e9721b9ea58d6ea4a8295a80cede2d6b327d1
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Wed Apr 30 10:25:15 2008 +0200

    Moved <statgrab.h> out of "collectd.h" and into the plugins that actually use the library.
    
    The libstatgrab specific CFLAGS are only passed to these plugins, so that other
    plugins may fail if libstatgrab is in a non-standard path.

commit 3da24ea8c48268a64025dc4aae5bdf223d7dad0c
Merge: c74b709edf61a3b7dfc24032f609956f0feb56e7 9aa991630584e29e5012a2c8ad887a8c48013d63
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Wed Apr 30 08:18:21 2008 +0200

    Merge branch 'collectd-4.2' into collectd-4.3

commit 9aa991630584e29e5012a2c8ad887a8c48013d63
Merge: d977ecae69a16aef7402e2b8de9d128d3e0d85c4 d8a27138e0fc455088443ca034942a00c3b4eecd
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Wed Apr 30 08:18:08 2008 +0200

    Merge branch 'collectd-4.2' of /var/lib/git/collectd into collectd-4.2

commit d977ecae69a16aef7402e2b8de9d128d3e0d85c4
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Wed Apr 30 08:17:21 2008 +0200

    build system: Fix another bug in the detection of the statgrab library.




More information about the collectd-changes mailing list