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

Florian Forster octo at verplant.org
Wed Mar 31 15:11:24 CEST 2010


 configure.in          |    2 +-
 src/apache.c          |    3 +-
 src/collectd.conf.pod |    9 +-
 src/csv.c             |    2 +-
 src/curl_json.c       |    2 +-
 src/curl_xml.c        |    2 +-
 src/dbi.c             |   50 ++++++-
 src/java.c            |    2 +-
 src/mysql.c           |    3 +-
 src/netapp.c          |    2 +-
 src/onewire.c         |    2 +-
 src/oracle.c          |   47 ++++++-
 src/plugin.c          |   69 ++++++++++-
 src/plugin.h          |    3 +-
 src/postgresql.c      |  325 ++++++++++++++++++++++++++++------------------
 src/python.c          |    3 +-
 src/routeros.c        |    4 +-
 src/snmp.c            |    5 +-
 src/target_scale.c    |    8 +-
 src/utils_db_query.c  |  346 ++++++++++++++++++++++++++++++++++---------------
 src/utils_db_query.h  |   19 ++-
 src/utils_llist.c     |   23 +++-
 src/utils_llist.h     |    2 +
 23 files changed, 662 insertions(+), 271 deletions(-)

New commits:
commit a5bb59b552b3698b38c02407f6869c70f84bda67
Author: Sebastian Harl <sh at tokkee.org>
Date:   Tue Mar 30 23:01:26 2010 +0200

    postgresql plugin: Relicensed to (2-clause) BSD license.
    
    All (most?) of PostgreSQL is licensed under a BSD license …
    
    Florian, the only other copyright holder, agreed with this.
    
    Signed-off-by: Florian Forster <octo at huhu.verplant.org>

commit 800f5a2a254c8be8219d92de08debc3cf0a7bd1b
Author: Sebastian Harl <sh at tokkee.org>
Date:   Tue Mar 30 22:55:06 2010 +0200

    target_scale: Fixed a `break strict-aliasing rules' compiler warning.
    
    … identified by GCC 4.4.3 using -O3.

commit c632c2e5d2c982846ebbb789b0661702872518d0
Author: Sebastian Harl <sh at tokkee.org>
Date:   Tue Mar 30 22:15:56 2010 +0200

    configure: In the summary, say which plugins have been disabled by the user.

commit aa8eb582bd62448362a0146cc4de2fba40d92374
Author: Sebastian Harl <sh at tokkee.org>
Date:   Tue Mar 30 22:09:55 2010 +0200

    postgresql plugin: Let the read callback fail if all queries failed.

commit 44f3233e460950c5c0eff5e8f33d4c7ddd0a6192
Author: Sebastian Harl <sh at tokkee.org>
Date:   Tue Mar 30 21:59:36 2010 +0200

    csv plugin: Use the value list's interval when outputting to STDOUT.

commit 322088003195c6a0054a652f52a1a0683aebd75c
Author: Sebastian Harl <sh at tokkee.org>
Date:   Tue Mar 30 21:55:13 2010 +0200

    utils_db_query: Added support for custom plugin intervals.
    
    The interval is specified when calling udb_query_prepare_result(). A value
    less than or equal to zero may be used to let udb use the default
    (interval_g).
    
    The dbi, oracle, and postgresql plugins have been updated accordingly.

commit f18c3057ac834fdc62246289659b6a9518a147f3
Author: Sebastian Harl <sh at tokkee.org>
Date:   Tue Mar 30 21:27:55 2010 +0200

    utils_db_query: Introduced the query & result preparation areas.
    
    These objects are used to store the temporary data needed during execution of
    a query, which was previously stored in the query object itself. This allows
    the query object to be used read-only, making it possible to use it from
    multiple threads in parallel.
    
    The dbi, oracle and postgresql plugins have been updated to use that
    (mandatory) new feature.

commit 5f73b7200633f3e72d1169d6f3f33e2ed8e1188f
Author: Sebastian Harl <sh at tokkee.org>
Date:   Fri Mar 26 21:50:42 2010 +0100

    postgresql plugin: Don't abort read(), if a query's version doesn't match.
    
    There is no reason to skip unrelated queries because of that.

commit 87cdeb24ec6f02f623c9077e35904c0b7bec4a93
Author: Sebastian Harl <sh at tokkee.org>
Date:   Fri Mar 26 21:30:17 2010 +0100

    postgresql plugin: Use the "right" `interval' when passing a param to a query.
    
    … i.e., use the database specific interval, if configured.

commit d1dedcaabaf204104a6e4f56cc13a5a4456d0a64
Author: Sebastian Harl <sh at tokkee.org>
Date:   Fri Mar 26 20:11:32 2010 +0100

    postgresql plugin: Added the ``Interval'' config option.
    
    This option may be used to specify the read interval with which to query a
    database.

commit 0175b4a333bc426133dac1bfa8cf14d352a495ed
Author: Sebastian Harl <sh at tokkee.org>
Date:   Thu Mar 25 19:11:08 2010 +0100

    postgresql plugin: Use the "complex read" mechanism.
    
    This way, multiple databases are queried in parallel (depending on the number
    of read threads).

commit 8c8ad69c937a0dfdf328896c217c91499bf3e219
Author: Sebastian Harl <sh at tokkee.org>
Date:   Thu Mar 25 18:49:48 2010 +0100

    postgresql plugin: Connect to the database in the read function.
    
    … rather than the init function. This way, we don't need access to some global
    list of databases in the init function and it's done in preparation to using
    the "complex read" system.

commit 48972087d132bca8221e01e0a556bcc39768dde4
Author: Sebastian Harl <sh at tokkee.org>
Date:   Wed Mar 24 23:31:59 2010 +0100

    plugin: Introduced a concept of ``read groups''.
    
    Using a new parameter added to plugin_register_complex_read(), it's now
    possible to specify a group name for the registered callback. This name may
    later be used to unregister *all* callbacks belonging to that group using the
    newly added function plugin_unregister_read_group().
    
    This might come in handy for plugins that register multiple read callbacks but
    do not want to keep track of all of them in order to be able to unregister
    them.

commit e3a2581365e2a1bd98a0e5419644f8919a080b5d
Author: Sebastian Harl <sh at tokkee.org>
Date:   Wed Mar 24 23:08:34 2010 +0100

    utils_llist: Added `llist_search_custom()'.
    
    This function may be used for lookups using a custom compare function, i.e.
    lookups that are not necessarily based on the name of the registered list
    entry but some information specific to the used data-type.




More information about the collectd-changes mailing list