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

Florian Forster octo at verplant.org
Mon Feb 16 18:19:10 CET 2009


 ChangeLog                 |   12 +-
 bindings/perl/Collectd.pm |  162 ++++++++++
 src/Makefile.am           |    3 +-
 src/collectd-perl.pod     |  140 ++++++++-
 src/collectd.conf.pod     |  127 +++++---
 src/exec.c                |    3 +-
 src/filter_chain.c        |   22 +-
 src/perl.c                |  784 +++++++++++++++++++++++++++++++++++++--------
 src/plugin.c              |    5 +-
 src/plugin.h              |    2 +-
 src/utils_db_query.c      |   72 +++--
 src/utils_threshold.c     |    2 +-
 12 files changed, 1090 insertions(+), 244 deletions(-)

New commits:
commit c7ad61ce3f92b3430983e10e2d47e66ce1e44f26
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Mon Feb 16 18:17:53 2009 +0100

    src/utils_db_query.c: Make `InstancePrefix' and `InstancesFrom' optional.
    
    This is required by the default PostgreSQL queries.

commit 979041ee0516ee373ef5d1d90f749864c3baef38
Merge: ab37cef6e61fa75ea0f92d4be22ef5d80b012780 3f5a9023cef447efb4ec998a8764a6137f65c97a
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Mon Feb 16 17:51:26 2009 +0100

    Merge branch 'sh/next'
    
    Conflicts:
    
    	ChangeLog

commit ab37cef6e61fa75ea0f92d4be22ef5d80b012780
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Mon Feb 16 17:49:38 2009 +0100

    collectd.conf(5): Fixed and improved the section about the filter mechanism.

commit 3f5a9023cef447efb4ec998a8764a6137f65c97a
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Feb 16 16:40:40 2009 +0100

    src/Makefile.am: Link utils_db_query into the postgresql plugin.

commit 6a0d5db4dbcc9dafd3f172ad47307a479ecee718
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Feb 16 16:35:54 2009 +0100

    collectd-perl(5): Documented the filter chain support.

commit e3f0469dfb1e764c7fa6f0c965a0b9c3ed3ca07c
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Mon Feb 16 15:45:15 2009 +0100

    ChangeLog: Updated date and fixed a typo.

commit b87f1cffb18cc3eefdef98676598ba5d1d2ecef5
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Mon Feb 16 14:31:50 2009 +0100

    collectd.conf(5): Fix a minor formatting error.

commit 387ebb0f0ce044170d25e5cf10f2a7aed4d69b11
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Feb 16 15:43:17 2009 +0100

    ChangeLog: Added changes to the perl plugin.

commit ddced90c76fb00e2141478a3573c42b72a526fe6
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Feb 16 15:16:48 2009 +0100

    src/filter_chain.c: Made match_proc_t.create optional.
    
    In most cases it does not make sense to not provide a create callback.
    However, we never know what the future might bring, so let's chose the more
    flexible approach.

commit 3ae8921a72a7e99bd5d50a03b29de4f5550c5395
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Feb 16 15:07:27 2009 +0100

    src/filter_chain.c: Fixed typos in warning / error messages.

commit 923e44fa60c4bb7dab572e6a24b2942a2d6fe899
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Feb 16 14:59:57 2009 +0100

    perl plugin, Collectd.pm: Added support for filter chains.
    
    fc_register() may now be used to register matches and targets with collectd.
    The function takes three arguments: type, name, proc. 'type' has to be any of
    FC_MATCH or FC_TARGET, 'name' specifies the name of the target / match and
    'proc' is a hash of callbacks (specified by name just like any other
    callbacks). There are three types of callbacks: create, destroy and match /
    invoke - the former two being optional.
    
    The match / invoke callback has to return any of the following statuses:
    FC_MATCH_NO_MATCH, FC_MATCH_MATCHES, FC_TARGET_CONTINUE, FC_TARGET_STOP or
    FC_TARGET_RETURN. If none of those constants are used, the behavior is
    undefined.

commit 90760db56fa3fe54e1aa99d7c6914b544b1bf16d
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Feb 16 13:39:54 2009 +0100

    perl plugin: Do not pass NULL to newRV().
    
    newRV() does not handle that correctly and causes a segfault instead. Now, we
    use PL_sv_undef instead.

commit 41503723fc15200eb41ec83b3d9b12b568a917ab
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Feb 16 12:02:09 2009 +0100

    Changed plugin_notification_meta_free()'s argument to a notification_meta_t.
    
    This is more flexible and allows the function to be used when using the meta
    data without an embedding notification object, e.g. when using the filter
    chains.

commit 0a4ce0ff7d08fccff1fe48d0e837ae1a0bf59220
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Feb 16 11:53:02 2009 +0100

    perl plugin: Fixed a memory leak in pplugin_dispatch_notification().
    
    Free the notification meta information that have possibly been allocated in
    notification2hv().

commit ac51a394f0e90205fa140769bdeae83fba6b8388
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sat Feb 14 19:33:35 2009 +0100

    perl plugin: Convert notification meta data as well.
    
    The notification meta data are represented as an array of hash references:
    
      [
        {
          name  => <name>,
          value => <value>
        },
        ...
      ]

commit 1e8c3602556660056f20221a6c8b704c701ada62
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sat Feb 14 16:45:55 2009 +0100

    perl plugin: Don't ignore the 'interval' member when converting value lists.




More information about the collectd-changes mailing list