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

Florian Forster octo at verplant.org
Mon Feb 2 10:41:18 CET 2009


 src/collectd.conf.in        |   31 ++-
 src/collectd.conf.pod       |  105 ++++++++-
 src/dbi.c                   |   15 +-
 src/postgresql.c            |  530 +++++++++++++++++++++++++++++++------------
 src/postgresql_default.conf |  184 ++++++++++++---
 src/utils_complain.h        |   11 +-
 6 files changed, 677 insertions(+), 199 deletions(-)

New commits:
commit f25e41d212334682fce74da0824ac55038cab8f2
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sun Feb 1 23:42:45 2009 +0100

    collectd.conf: Updated the example postgresql plugin configuration.

commit 8ce9aefcb31e8ae86747380813ac435e3c359c64
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sun Feb 1 23:24:54 2009 +0100

    dbi plugin: Fixed error handling in an inner loop.
    
    The macro BAIL_OUT_CONTINUE() is used inside the loop iterating over the
    result sets to clean up and continue with the next loop iteration. In two
    cases this was used in a loop iterating over the instances and values lists
    contained within that loop as well though. This would cause the memory that
    was currently written to (the two target lists) to be freed and thus cause a
    possible segfault. In any case it would leave behind inconsistent and most
    probably uninitialized data. The usage of that macro has now been pulled out
    of the inner loops.

commit 75555c1cdc99e4b1efa4a9d664f189906e2c3427
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sun Feb 1 23:09:08 2009 +0100

    postgresql plugin: Added support for the "interval" parameter.
    
    This query parameter expands to the interval collectd is using.

commit 0b350ce8049e8c5db34751340e015c7a7937664e
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sun Feb 1 22:48:01 2009 +0100

    postgresql plugin: Added support for <Result> blocks.
    
    This is a replacement for the "Column" config option (which has been
    deprecated). <Result> blocks allow for much more flexible handling of the
    data. Besides being able to use data types with multiple data sources, the
    plugin now supports to generate the type instance using information from the
    database.
    
    An example <Result> block might look like this (taken from the manpage):
    
      <Result>
        Type counter
        InstancePrefix "rt36_tickets"
        InstancesFrom "type"
        ValuesFrom "count"
      </Result>

commit fb86aa60842b2b8ae3f00af34e685dcbf9ad2592
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sun Feb 1 17:37:52 2009 +0100

    postgresql plugin: Reinitialize a database after reconnecting.
    
    During initialization we get the right version of each query definition. After
    reconnecting, the PostgreSQL server version might have changed, so we might
    need to update some of the query definitions.

commit cb8ffccbb84105388df859d70165640f189fb205
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sun Feb 1 17:36:25 2009 +0100

    utils_complain: Added macro c_would_release().
    
    This macro returns true if the specified complaint would be released, false
    else. This is useful e.g. to do further actions when releasing a complaint.




More information about the collectd-changes mailing list