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

Florian Forster octo at verplant.org
Sat Dec 20 10:43:37 CET 2008


 src/Makefile.am                   |    4 +-
 src/collectd-nagios.c             |  156 ++++++++++++++++++++++++++++++++-----
 src/collectd-nagios.pod           |    8 ++-
 src/collectd.c                    |   13 ++-
 src/collectd.conf.in              |    2 +-
 src/collectd.conf.pod             |   44 +++++++----
 src/common.c                      |    4 +-
 src/configfile.c                  |    3 +-
 src/email.c                       |    6 ++
 src/ipmi.c                        |    4 +-
 src/libcollectdclient/Makefile.am |    4 +
 src/libcollectdclient/client.c    |    9 ++-
 src/perl.c                        |    2 +-
 src/processes.c                   |  111 +++++++++++++++++++++++++-
 src/rrdtool.c                     |    9 ++
 src/unixsock.c                    |    7 ++
 src/utils_complain.c              |    4 +-
 src/utils_dns.c                   |    6 +-
 18 files changed, 334 insertions(+), 62 deletions(-)

New commits:
commit ef7fec0c4e0bbbabb356e6a570ac6297ee06eb80
Merge: bc86995088a08d4d355517dd78d3d2b2027bc338 074b4980bc75bea6826e6a38dcc6e193a721b2a8
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sat Dec 20 10:18:21 2008 +0100

    Merge branch 'collectd-4.5'

commit 074b4980bc75bea6826e6a38dcc6e193a721b2a8
Merge: 5d7d1a7ee2aec05639398e6d93e998ae418d0065 f5edd182195cb7a13fa32846ae869a8b8dcc1e3f
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sat Dec 20 10:17:26 2008 +0100

    Merge branch 'collectd-4.4' into collectd-4.5
    
    Conflicts:
    
    	src/utils_dns.c

commit f5edd182195cb7a13fa32846ae869a8b8dcc1e3f
Author: Sebastian Harl <sh at tokkee.org>
Date:   Fri Dec 19 18:20:41 2008 +0100

    Do not use *printf() to report errors / debugging messages.
    
    The only exception to that is during configuration (which is done before
    daemonization) to let the user know about problems immediately.

commit 5d7d1a7ee2aec05639398e6d93e998ae418d0065
Author: Sebastian Harl <sh at tokkee.org>
Date:   Fri Dec 19 17:16:35 2008 +0100

    src/Makefile: Do not print the command when checking for POD ERRORS.
    
    Else, the build output would include the word "error" in a cryptically looking
    paragraph which might confuse users.

commit bd702098d986e4985fdf4f7f7658ff4532d96533
Author: Sebastian Harl <sh at tokkee.org>
Date:   Fri Dec 19 17:00:56 2008 +0100

    collectd.conf(5): Updated the section about the "mysql" plugin.
    
     * Do not talk about what RRD files things end up in - there is more than
       "rrdtool" by now.
     * Updated the section number of the "Server Status Variables" in the MySQL
       reference manual.
     * Mention that the MySQL user does not need any special privileges.

commit 4f4693ab72ec6898adacb4eb5189867ae1306815
Author: Sebastian Harl <sh at tokkee.org>
Date:   Wed Dec 10 22:12:24 2008 +0100

    collectd: Abort with an appropriate status in exit_usage().
    
    In case of an error, the exit status code now equals 1.

commit bb3e4316a30349bdbdf98fcfce521b11a7b7d7d4
Author: Sebastian Harl <sh at tokkee.org>
Date:   Wed Dec 10 22:08:26 2008 +0100

    collectd: Abort if any non-options are left over after command-line parsing.
    
    This happens if any arguments not starting with a dash are passed to collectd.
    Any of those are invalid, so let the user know about that.
    
    Thanks to Kris (gruntruk) for (unknowingly) pointing that out ;-)

commit bc86995088a08d4d355517dd78d3d2b2027bc338
Author: Sebastian Harl <sh at tokkee.org>
Date:   Tue Dec 9 12:49:36 2008 +0100

    collectd-nagios: Be more verbose before bailing out with usage().

commit 19d94267852103c952ab33e8e6a577cbc827635d
Author: Sebastian Harl <sh at tokkee.org>
Date:   Tue Dec 9 00:47:30 2008 +0100

    collectd-nagios: Added "percentage" to the help output.

commit 2ca211b327b5e1689937a93ac6a4d0b9754d3627
Author: Sebastian Harl <sh at tokkee.org>
Date:   Tue Dec 9 00:33:55 2008 +0100

    collectd-nagios: Generalized the "percentage" consolidation function.
    
    Calculation of the percentage is not limited to two values any more but an
    arbitrary number may be used now. This allows a more flexible usage.
    
    Also, the documentation has been updated.

commit d324b71f4a80712261490d2c98bcca22a147c6c8
Author: Fabian Linzberger <e at lefant.net>
Date:   Mon Nov 3 20:06:46 2008 +0100

    collectd-nagios: add new "percentage" aggregate function.
    
    the percentage aggregate function takes exactly two values. it
    computes the percentage of the first value versus the sum of the first
    and the second value. very useful for checking df values like:
    
    sudo collectd-nagios -s /var/run/collectd-unixsock -H localhost -n df/df-root -d used -d free -g percentage -w 20: -c 10:
    
    which will warn if there is less than 20% free space.
    
    Signed-off-by: Sebastian Harl <sh at tokkee.org>

commit cd3a0c6f7928a34da21f670f627e8e8a21943546
Author: Sebastian Harl <sh at tokkee.org>
Date:   Tue Dec 9 12:27:47 2008 +0100

    collectd-nagios: If DSs are specified, sort the values accordingly.
    
    If a user specifies DSs on the command line, the order or the values might
    matter (e.g. when using the upcoming "percentage" consolidation function). So,
    in this case we now order the values according to the order of the specified
    DSs.
    
    This patch replaces the function ignore_ds() with filter_ds() which is called
    once in do_check(). This removes the need to check for ignored values in all
    consolidation function implementations.

commit a37452448f6f2ad114fcd7adaf25128ca31dd2c6
Author: Sebastian Harl <sh at tokkee.org>
Date:   Tue Dec 9 10:57:10 2008 +0100

    libcollectdclient: Build the library using -Wall -Werror.
    
    Fixed two minor issues detected by those flags.

commit 2d4510e41fe06d3b09f19f6ac7ef5d3be64fef2b
Author: Sebastian Harl <sh at tokkee.org>
Date:   Tue Dec 9 10:51:30 2008 +0100

    libcollectdclient/client.c: Let COLLECT_DEBUG decide about debugging.
    
    The file now includes config.h and enables debugging based on COLLECT_DEBUG
    instead of some hard-coded value.

commit 67a926821b3b6e39d9fd5e1c10b5a2d0ecdd237a
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sat Dec 6 17:29:42 2008 +0100

    perl plugin, utils_complain: Fixed errors identified by -Wformat-security.
    
    A few "format not a string literal and no format arguments" errors have been
    fixed by using "%s" as the format argument.
    
    Thanks to Kevin (onebinary) for reporting this.

commit 9b031e21c5d0200c2c07c70a592158d29c522391
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sat Dec 6 16:41:04 2008 +0100

    collectd.conf.in: Fixed a wrong type used in the "tail" example.

commit 1c8e92605f43fe5f02dfd367c05324af69bc5956
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sat Dec 6 16:32:27 2008 +0100

    collectd.conf.pod: Consistently use spaces instead of tabs in examples.

commit f560c943439ba28e74eb576eb58a965d049588f9
Author: Sebastian Harl <sh at tokkee.org>
Date:   Tue Nov 25 17:53:53 2008 +0100

    processes plugin: Get complete command line for processes on Linux as well.
    
    On Linux, /proc/<pid>/cmdline is now used to determine the complete command
    line of a process which may then be used with the "ProcessMatch" configuration
    option.

commit 5b123e4666d053231bffa735b7940e28e59d9395
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sat Nov 22 18:39:00 2008 +0100

    processes plugin: Do not silently ignore configuration errors.

commit e73eacbb70e436973063de3e7e2a44776f1d2329
Author: Sebastian Harl <sh at tokkee.org>
Date:   Fri Nov 21 19:11:00 2008 +0100

    collectd.conf(5): Documented the "ProcessMatch" option.

commit de4c4c1a394b70a392aeb85ae770f2381771a428
Author: Sebastian Harl <sh at tokkee.org>
Date:   Fri Dec 5 17:22:53 2008 +0100

    configfile.c: Ignore registered undefined config keys.
    
    If a registered config key equals NULL, it is now ignored. Before, this would
    cause a segfault. As this has happened a few times in the past, we not handle
    it sanely.

commit 0e738514446d5d75df725020137047f7ce5a125a
Author: Sebastian Harl <sh at tokkee.org>
Date:   Fri Dec 5 17:11:16 2008 +0100

    processes plugin: Fixed a segfault when handling unknown config options.
    
    When using STATIC_ARRAY_SIZE() to determine the number of config keys, the
    list must not include NULL. Else, the configfile module will handle that as
    another config key and dereference it in case no previous key matched, i.e.
    when handling unknown config options.

commit bc5877df666a8befe63ae4f56fcad849d9c5427a
Author: Florian Forster <octo at noris.net>
Date:   Fri Dec 5 11:29:54 2008 +0100

    unixsock plugin: Make sure the initialization function is run only once.
    
    If called multiple times, the global `sock_fd' variable will be re-set,
    breaking the plugin.




More information about the collectd-changes mailing list