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

Florian Forster octo at verplant.org
Sat Feb 21 08:32:01 CET 2009


 configure.in           |    2 +
 src/Makefile.am        |    8 +
 src/bind.c             |   17 +--
 src/collectd-perl.pod  |    4 +
 src/collectd.conf.pod  |  104 +++++++++-
 src/common.c           |   79 +++++++-
 src/common.h           |   41 ++++
 src/perl.c             |    3 +
 src/powerdns.c         |   27 +--
 src/table.c            |  560 ++++++++++++++++++++++++++++++++++++++++++++++++
 src/types.db.pod       |    3 +
 src/utils_cmd_putval.c |   19 +-
 src/utils_db_query.c   |   53 ++---
 13 files changed, 830 insertions(+), 90 deletions(-)

New commits:
commit bc6d4a212c4c495028a11e2fdd091f5a736b9804
Author: Sebastian Harl <sh at tokkee.org>
Date:   Fri Feb 20 13:25:12 2009 +0100

    types.db(5): Added a note about distributing custom types.db files.

commit 8f4bc7d5dcaf6fb96caa8d222382916990cbdac1
Author: Sebastian Harl <sh at tokkee.org>
Date:   Fri Feb 20 13:20:02 2009 +0100

    perl plugin: Deprecated the use of plugin_register() to register data-sets.
    
    A custom types.db file should be used instead.

commit 8fa1cf1c6e1ff5337fdda19446aa42ee81c3d816
Author: Sebastian Harl <sh at tokkee.org>
Date:   Thu Feb 19 13:14:35 2009 +0100

    table plugin, src/common: Un-escape '\t', '\n' and '\r' in column separators.
    
    For this purpose, the function strunescape() has been added to the "common"
    module. Currently, any escape sequence that's not '\t', '\n' or '\r' will be
    expanded to the literal escaped character.

commit aec55dfa7f94fd4ff99cec0767e6ffed93a21339
Author: Sebastian Harl <sh at tokkee.org>
Date:   Thu Feb 19 09:48:14 2009 +0100

    powerdns, utils_cmd_putval, utils_db_query: Use parse_value().
    
    Besides cleaning up the code a little, this also adds more verbose error
    messages.

commit a3529866c3d98643d7857d2d0ad751c73f312c4e
Author: Sebastian Harl <sh at tokkee.org>
Date:   Thu Feb 19 09:14:22 2009 +0100

    Moved parse_value() from the table plugin to the common module.
    
    Some other plugins will find that useful as well.

commit eeb86d2d88b08cfc2f0701ca9b7a77d6731c7b94
Author: Sebastian Harl <sh at tokkee.org>
Date:   Thu Feb 19 08:56:37 2009 +0100

    tables plugin: Added a generic plugin to parse tabular data.
    
    Currently, the main purpose of this plugin is to be able to get information
    from the Linux proc filesystem but it should be flexible enough to get data
    from other sources as well.
    
    Values are selected based on a given column separator and column numbers. The
    configuration is a kind of a mix of the tail and *sql plugins' configurations.
    A sample configuration might look like this:
    
      <Plugin table>
        <Table "/proc/slabinfo">
          Instance "slabinfo"
          Separator " "
          <Result>
            Type gauge
            InstancePrefix "active_objs"
            InstancesFrom 0
            ValuesFrom 1
          </Result>
          <Result>
            Type gauge
            InstancePrefix "objperslab"
            InstancesFrom 0
            ValuesFrom 4
          </Result>
        </Table>
      </Plugin>

commit f453199292b45007e5078f568f3bce2e8c8b4067
Author: Sebastian Harl <sh at tokkee.org>
Date:   Wed Feb 18 14:20:51 2009 +0100

    Moved remove_special() from the bind plugin to the "common" module.
    
    This function might be useful for other plugins as well. Also, it has been
    renamed to replace_special() which is slightly more appropriate imho.




More information about the collectd-changes mailing list