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

Florian Forster octo at verplant.org
Sat Feb 14 14:17:59 CET 2009


 bindings/perl/Collectd.pm |   61 +++++++
 configure.in              |   27 +++
 src/apache.c              |    4 +-
 src/ascent.c              |   12 +-
 src/battery.c             |    4 +-
 src/bind.c                |    2 +-
 src/collectd-nagios.c     |   10 +-
 src/collectd-perl.pod     |   16 ++-
 src/collectd.c            |    8 +-
 src/collectdmon.c         |    8 +-
 src/common.c              |    2 +-
 src/configfile.c          |    4 +-
 src/dbi.c                 |    2 +-
 src/dns.c                 |    2 +-
 src/email.c               |    2 +-
 src/exec.c                |    2 +-
 src/filter_chain.c        |   18 ++-
 src/ipmi.c                |   14 +-
 src/match_regex.c         |    6 +-
 src/match_value.c         |    2 +-
 src/netlink.c             |   15 +-
 src/network.c             |   16 +-
 src/nginx.c               |    8 +-
 src/notify_email.c        |    7 +-
 src/oracle.c              |    2 +-
 src/perl.c                |  422 +++++++++++++++++++++++++++++----------------
 src/plugin.c              |   12 +-
 src/plugin.h              |    4 +-
 src/processes.c           |    2 +-
 src/rrdtool.c             |    4 +-
 src/snmp.c                |   14 +-
 src/tail.c                |    6 +-
 src/target_notification.c |    2 +-
 src/target_replace.c      |    2 +-
 src/target_set.c          |    2 +-
 src/teamspeak2.c          |    4 +-
 src/thermal.c             |   27 ++--
 src/unixsock.c            |    2 +-
 src/utils_cache.c         |    2 +-
 src/utils_cmd_getval.c    |    4 +-
 src/utils_db_query.c      |   22 ++-
 src/utils_db_query.h      |    2 +-
 src/utils_dns.c           |   14 +-
 src/utils_match.c         |    6 +-
 src/utils_rrdcreate.c     |   11 +-
 src/utils_subst.c         |    3 +-
 src/utils_tail_match.c    |    9 +-
 src/utils_threshold.c     |    2 +-
 src/vserver.c             |   10 +-
 49 files changed, 559 insertions(+), 283 deletions(-)

New commits:
commit 4cd4d2f6231728cab739f1f614de0a19ecf733d7
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sat Feb 14 14:04:02 2009 +0100

    src/utils_db_query.[ch]: Introduces a ``legacy mode''.
    
    When passing `1' as `legacy mode' to `udb_query_create', compatibility
    with the postgresql plugin in version 4.5 is enabled. This means that
    the options `Query', `MinPGVersion' and `MaxPGVersion' are understood in
    the <Query> blocks.
    
    Yet to do is support for the `Column' options. The `Param' option should
    probably be implemented using the already existing callback function.

commit d0082642d8e6acf025a73ef663dcf6f289cf65b5
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sat Feb 14 14:13:00 2009 +0100

    tail plugin: Fix a format string for a size_t.
    
    Probably a result of f50ada19.

commit f50ada19dcd0dc6185dc4b410e721d46d1caba9f
Author: Sebastian Harl <sh at tokkee.org>
Date:   Wed Feb 11 11:31:30 2009 +0100

    Fixed various signedness issues identified by -Wextra.
    
    The following two issues have been addressed:
    
     * comparison between signed and unsigned - this was found in several places
       throughout the code and has been fixed by switching to more appropriate
       types or adding appropriate explicit casts.
     * comparison of unsigned expression < 0 is always false - this was found in
       the processes and vserver plugins where a size_t had wrongly been used
       instead of a ssize_t and an int respectively.

commit b72d521340383b6418fa6a75faca3bc45f06b14a
Author: Sebastian Harl <sh at tokkee.org>
Date:   Wed Feb 11 10:43:25 2009 +0100

    Document unused parameters.
    
    In all cases where unused parameters have to exist either because some API
    requires it or for more consistency, they now have been documented using
    __attribute__((unused)) (which is automatically disabled in case GCC is not
    used to prevent problems with compilers not supporting attributes). In a few
    other cases, the parameters have been removed.
    
    This allows the use of -Wunused-parameter (which is enabled by -Wextra as
    well, when using -Wall).

commit 388dfe0e1f32cf379f30ac6486e4926e8461fcc5
Author: Sebastian Harl <sh at tokkee.org>
Date:   Tue Feb 10 21:31:17 2009 +0100

    perl plugin, configure: Check for struct mgvtbl.svt_local.
    
    This member has been introduced in Perl 5.10 (I guess). To be able to
    correctly (statically) initialize the magic tables used to access global
    variables, we now check for its existence and then initialize the structs
    accordingly.

commit b7c7c17f94c7d8d69510d9b19f3aa39711f7955f
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Feb 9 21:07:31 2009 +0100

    perl plugin / Collectd.pm: Export plugin_write() to Perl.
    
    plugin_write() accepts, just like the C counterpart, three arguments,
    'plugins', 'datasets' and 'valuelists'. In contrast to the C implementation,
    all three arguments may either be a single scalar or a reference to an array -
    just like the 'plugins' and 'identifiers' arguments of the Perl implementation
    of plugin_flush().

commit 4eef10810d007368b82a24921c422ecc5de7bb28
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Feb 9 19:20:13 2009 +0100

    perl plugin: Don't do any type conversion in pplugin_dispatch_notification().
    
    The conversion of the hash value to a notification_t object has been moved
    into its own separate function.

commit 34a35d78bb0ec655f9b8cf6f464fedbe2877470b
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Feb 9 19:05:29 2009 +0100

    perl plugin: Don't do any type conversion in pplugin_register_data_set().
    
    The conversion of the array value to a data_set_t object has been moved into
    its own separate function.

commit 453d72622ba425b0507b9561d699b16a97b5d286
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Feb 9 18:48:33 2009 +0100

    perl plugin: Don't do any type conversion in pplugin_dispatch_values().
    
    The conversion of the hash value to a value_list_t object has been moved into
    its own separate function.

commit c8cefe67e9b54a993e445c064acd758996c7e8ff
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Feb 9 17:54:05 2009 +0100

    src/plugin.h: Fixed some minor typos.




More information about the collectd-changes mailing list