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

Florian Forster octo at verplant.org
Sat Jan 17 11:14:30 CET 2009


 src/collectd.c        |   28 ++++++++++--
 src/collectd.conf.pod |    3 +
 src/collectd.h        |    4 ++
 src/collectd.pod      |    5 ++
 src/common.c          |   18 +++++++
 src/common.h          |    2 +
 src/csv.c             |   19 ++++++++
 src/openvpn.c         |  122 +++++++++++++++++++++++++++++++++++++++++++-----
 src/plugin.c          |   37 ++++++++++++++-
 src/plugin.h          |    1 +
 src/types.db          |    1 +
 11 files changed, 222 insertions(+), 18 deletions(-)

New commits:
commit 6667ac0ae4b48596df71998d38ef945b984102d3
Merge: 52ce3d4c61cf8f4a177063e0efaa8eea436cc9f6 4b8debfceafebfe2d2465fefe1b8b501908f843c
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sat Jan 17 11:04:24 2009 +0100

    Merge branch 'dm/t_option'

commit 4b8debfceafebfe2d2465fefe1b8b501908f843c
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sat Jan 17 11:01:10 2009 +0100

    collectd: Don't *abort* on the first read-error with the `-T' option.
    
    The `-T' option used to basically quit the daemon right away when the
    first read function of a plugin failed. This patch changes the behavior,
    so that:
    
     - All read-functions are tried. If one or more fail, the daemon will
       exit with a non-zero exit status, but all read-functions will be
       tried.
     - Don't quit if one read-function failed without calling all the
       shutdown-functions first. This will clean up the UNIX socket of the
       unixsock plugin and stuff like that.

commit 1b5a65328d230599511a5459109019f6f3bb39a0
Author: Doug MacEachern <dougm at hyperic.com>
Date:   Fri Jan 2 13:52:35 2009 -0800

    collectd: Add the -T option.
    
    The -T switch:
    
     - implies -f
     - does not start any read threads
     - invokes callback() foreach list_read and will exit 1 on failure, 0
       otherwise
    
    Makes for a nicer dryrun than -f + ^C, also makes it possible to wrap
    with a test harness such as Test.pm
    
    Signed-off-by: Doug MacEachern <dougm at hyperic.com>
    Signed-off-by: Florian Forster <octo at leeloo.lan.home.verplant.org>

commit 3facef0f990e1b815daa2520b6b8c1d259a03d28
Author: Doug MacEachern <dougm at hyperic.com>
Date:   Fri Jan 2 13:46:34 2009 -0800

    src/collectd.h: #undef macros before poisoning them.
    
    Signed-off-by: Doug MacEachern <dougm at hyperic.com>
    Signed-off-by: Florian Forster <octo at leeloo.lan.home.verplant.org>

commit f950fcd91292616b3c4d98cbc4f44e0b4f781d8b
Author: Doug MacEachern <dougm at hyperic.com>
Date:   Fri Jan 2 13:26:01 2009 -0800

    csv plugin: Make it possible to write values to STDOUT.
    
    Signed-off-by: Doug MacEachern <dougm at hyperic.com>
    Signed-off-by: Florian Forster <octo at leeloo.lan.home.verplant.org>

commit 52ce3d4c61cf8f4a177063e0efaa8eea436cc9f6
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sat Jan 17 10:39:53 2009 +0100

    openvpn plugin: Added support for LZO compression.
    
    There are four counters for pre/post (de)compression. The code compares
    the pre/post counters and submits the current compression ratio based on
    the counter change rate.
    
    The type `compression_ratio' (gauge) is used to store the data.

commit 10b343057733ca75925de786f61cb7dfd58bacd5
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sat Jan 17 10:37:50 2009 +0100

    src/common.[ch]: Add `counter_diff', a function to calculate the difference of two counters.
    
    It's not just a simple (old - new), because wrap-around is handled, too.




More information about the collectd-changes mailing list