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

Florian Forster octo at verplant.org
Wed Oct 5 09:16:39 CEST 2016


 ChangeLog                    |  120 +++++++++++++++++++++++++++++++++++++++++-
 contrib/examples/myplugin.c  |    4 +-
 contrib/migrate-4-5.px       |    2 -
 contrib/redhat/collectd.spec |    2 -
 src/apache.c                 |    2 +-
 src/collectd.conf.in         |    1 +
 src/collectd.conf.pod        |    6 +++
 src/curl_json.c              |   10 +++-
 src/daemon/common.c          |    2 +-
 src/daemon/plugin.c          |    2 +-
 src/network.c                |   37 +++++--------
 src/postgresql_default.conf  |   16 +++---
 src/types.db                 |    2 +-
 src/utils_mount.c            |    9 ++--
 src/write_kafka.c            |    2 +-
 15 files changed, 165 insertions(+), 52 deletions(-)

New commits:
commit f7b05ebf3311b4c6cb5289f1f7cd8ee02918ef92
Merge: 7df2428 0b97cf2
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Tue Sep 20 21:23:09 2016 +0200

    Merge branch 'collectd-5.4' into collectd-5.5

commit 7df2428077e2001fdfab3ebbb3bb74b0491b74bd
Author: Florian Forster <octo at collectd.org>
Date:   Wed Sep 14 09:00:00 2016 +0200

    contrib/examples/myplugin.c: Fix copy and paste error.

commit ba52f94929822b1968f05cfbb37985af2e0b83a4
Author: Florian Forster <octo at collectd.org>
Date:   Tue Sep 13 10:44:46 2016 +0200

    curl_json plugin: Skip unexpected non-map values.
    
    Assume, for example, the config `Key "*/foo"`. This config expects JSON
    in the form:
    
        {
          "bar": {
            "foo": 1337
          }
        }
    
    If the available JSON is instead:
    
        {
          "error_code": 0,
          "bar": {
            "foo": 1337
          }
        }
    
    the code will take a look at the zero associated with "error_code" and
    determine that a map (with key "foo") is expected instead. Previously
    the code would continue, eventually calling `cj_get_type()` which
    expects that `key->type` is a valid pointer, resulting in a segmentation
    fault.
    
    This patch does three things to ensure that this segmentation fault does
    not happen again:
    
    1.  `cj_get_type()` checks its argument to make sure it is valid before
        dereferencing any pointers.
    2.  In case a non-map is found when a map is expected, the code will
        return instead of limping on.
    3.  After calling `cj_cb_inc_array_index()`, which may update the key,
        make sure that it actually did and that key is valid now.
    
    Fixes: #1896

commit 276d1e1bdfc3e02431bb05c06da7a16f80fa7e47
Author: Florian Forster <octo at collectd.org>
Date:   Mon Sep 12 14:16:00 2016 +0200

    collectd.conf(5): Document the semantics of the "TypesDB" option in more detail.
    
    Fixed: #1241

commit e935e855188de7475fcc76c88e4a709894363ad5
Author: Florian Forster <octo at collectd.org>
Date:   Mon Sep 12 11:49:52 2016 +0200

    contrib/migrate-4-5.px: Don't convert "ps_code" and "ps_data" to derive.
    
    Fixes: #1687

commit 8d78a2b27ddcc2e0dbca30be9c888479a4757c1f
Author: Michael Leinartas <mleinartas at twitter.com>
Date:   Thu Sep 8 14:00:35 2016 -0500

    Add missing option to write_graphite example
    
    Signed-off-by: Florian Forster <octo at collectd.org>

commit 60ec28dd104bdeef4c5ed6882fb2b663ca9da2eb
Author: Florian Forster <octo at collectd.org>
Date:   Sun Sep 11 20:31:31 2016 +0200

    apache plugin: End statements with semi-colons.
    
    If only I knew why this wasn't considered a syntax error …

commit a3444db7419687386919fccf7d14b945f2e9da56
Author: Florian Forster <octo at collectd.org>
Date:   Wed Sep 7 09:38:23 2016 +0200

    src/types.db: Remove minimum value from "power".
    
    The battery plugin reports negative power when the battery is discharging.

commit 57e8edc91c5b65f24573f58773cd57b5372ee8e2
Merge: c2349cf d4cfba5
Author: Florian Forster <octo at collectd.org>
Date:   Tue Sep 6 08:40:35 2016 +0200

    Merge remote-tracking branch 'github/pr/1909' into collectd-5.5

commit c2349cf65ba6ddf9517def5ab1f73706f5ce8e01
Author: Florian Forster <octo at collectd.org>
Date:   Mon Sep 5 15:45:19 2016 +0200

    plugin_dispatch_multivalue: Submit NAN when computing percantage of an empty set.

commit 0b97cf2d91851a6892ff025c6775a59d98a8bada
Author: Bernd Zeimetz <bernd at bzed.de>
Date:   Fri Sep 2 14:05:58 2016 +0200

    Also fix query_plans_by_table
    
    #1905 happens here obviously, too.

commit e73ae9a16ebf982dc5712a8e4f4d4f864187e08a
Author: Bernd Zeimetz <bernd at bzed.de>
Date:   Fri Sep 2 13:23:40 2016 +0200

    pgsql plugin: avoid parsing error from query_plans
    
    idx_scan/idx_tup_fetch can be NULL, avoid trying to parse that into a number.
    
    This should fix #1905.

commit d4cfba5e74bb683e95c8423b03fafa248bda1eb5
Author: Thomas Deutschmann <whissi at gentoo.org>
Date:   Fri Sep 2 14:59:46 2016 +0200

    Fix compilation against >=xfsprogs-4.7.0
    
    [backport of commit 225ee7bb45152c51c1c9508b2e776cef36d2682d]
    
    Suggested-by: Ruben Kerkhof <ruben at rubenkerkhof.com>
    Gentoo-Bug: https://bugs.gentoo.org/590998
    Fixes: https://github.com/collectd/collectd/issues/1877

commit 55826ee891fd643111c3ffd7a19795721e41f1c0
Author: Florian Forster <octo at collectd.org>
Date:   Fri Sep 2 10:48:08 2016 +0200

    src/common.c: parse_value: Quote string that failed to parse.
    
    Issue: #1905

commit 22b9f5441f0bb294e16aa27169d02eb69e32d556
Author: Florian Forster <octo at collectd.org>
Date:   Fri Sep 2 09:00:58 2016 +0200

    network plugin: Initialize libgcrypt only when needed.
    
    Previously, libgcrypt was initialized unconditionally in network_init(),
    which may cause trouble on some systems. With this patch, gcrypt is
    initialized if:
    
    * A client socket as signing or encryption enabled, or
    * a server socket has an auth_file configured.
    
    Fixes: #1902

commit 356901a4a8df5d6f40f9d03d2276d66fe9e13d17
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Thu Aug 18 22:53:43 2016 +0200

    Changelog: fix unresolved merge conflict introduced in dc2eb04
    
    Removed the conflict markers left over, and copy-pasted the changes
    added in c0f5748.

commit bc5073cf25c5cea3a322f70a3a9ba50c67460638
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Tue Aug 16 14:50:50 2016 +0200

    collectd.spec: remove misleading items from changelog

commit af16be6104a2d56ca930762a200ff2379e1f20ce
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Aug 15 20:59:05 2016 +0200

    write_kafka: Fix misleading indentation
    
    Reported by GCC-6 with the `-Werror=misleading-indentation` option.
    
    Thanks for Lucas Nussbaum for reporting this issue!
    
    Fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=831194




More information about the collectd-changes mailing list