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

Florian Forster octo at verplant.org
Fri May 12 12:42:12 CEST 2017


 configure.ac                     |   98 ++++++++++++++++++++++++++++++++++++--
 contrib/redhat/collectd.spec     |   15 +++++-
 contrib/systemd.collectd.service |    1 +
 src/Makefile.am                  |    2 +-
 src/bind.c                       |   31 +++++++++++-
 src/collectd.conf.pod            |   76 ++++++++++++++++++++++++++++-
 src/daemon/collectd.c            |    2 +-
 src/daemon/common.c              |   20 ++++++--
 src/daemon/common.h              |    2 +-
 src/dpdkstat.c                   |   38 +++++++--------
 src/intel_rdt.c                  |   31 ++++++++++--
 src/log_logstash.c               |    8 +---
 src/logfile.c                    |    8 +---
 src/mqtt.c                       |    6 +++
 src/network.c                    |   20 ++++----
 src/processes.c                  |    1 -
 src/smart.c                      |   22 +++++++++
 src/utils_match.c                |    6 +++
 18 files changed, 327 insertions(+), 60 deletions(-)

New commits:
commit 632cca47086de6cb23c32fc35802da1a19f40875
Merge: 42b8d75 c3e2a69
Author: Florian Forster <octo at collectd.org>
Date:   Fri May 12 11:16:43 2017 +0200

    Merge branch 'collectd-5.6' into collectd-5.7

commit c3e2a69bd600fa4c4a9d4603094f39ea81c11116
Author: Florian Forster <octo at collectd.org>
Date:   Sun May 7 20:34:09 2017 +0200

    bind plugin: Use timegm() to convert to time_t if available.
    
    FreeBSD doesn't provide the "extern long timezone", presumably because
    it's "only" an XSI extension, leading to a portability issue with the
    previous approach.
    
    timegm() is a non-standard function available in GNU's and BSD's libc
    which is doing exactly what we need. The previous code is left as a
    fallback.
    
    Fixes: #1268

commit 938d6380a94cd898a28c5ad1a37c19e7bd47db4c
Author: Ed Ravin <commitme at eravin.users.panix.com>
Date:   Fri May 5 22:53:59 2017 -0400

    fix BIND timezone parsing issue

commit c086254824501c0550156e6824b4aa38af8e8139
Author: Florian Forster <octo at collectd.org>
Date:   Sun May 7 12:06:47 2017 +0200

    collectd.conf(5): Add section documenting the ignorelist functionality.
    
    Fixes: #2267

commit 42b8d7550d029ed9aef6f25e3eb2009c1f18b144
Merge: 3f710d0 f6be4f9
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Apr 14 14:32:01 2017 +0200

    Merge branch 'collectd-5.6' into collectd-5.7

commit f6be4f9b49b949b379326c3d7002476e6ce4f211
Author: Pavel Rochnyack <pavel2000 at ngs.ru>
Date:   Mon Apr 3 11:57:09 2017 +0600

    network plugin: Fix endless loop DOS in parse_packet()
    
    When correct 'Signature part' is received by Collectd, configured without
    AuthFile option, condition for endless loop occurs due to missing increase
    of pointer to next unprocessed part.
    
    This is a forward-port of #2233.
    
    Fixes: CVE-2017-7401
    Closes: #2174
    Signed-off-by: Florian Forster <octo at collectd.org>

commit 3f710d0a3a4d60dc9d988c1f561b7c3586f238b9
Merge: 51d2997 a2c3d69
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Mar 10 15:36:09 2017 +0100

    Merge pull request #2210 from rpv-tomsk/processes-fix-init
    
    processes plugin: Fix broken compilation on AIX

commit a2c3d69ed4116206ca4fd67133dd52028a5ff29a
Author: Pavel Rochnyack <pavel2000 at ngs.ru>
Date:   Thu Mar 9 23:57:41 2017 +0600

    processes plugin: Fix broken compilation on AIX
    
    After a bb0000acfc57e230fc1c26099bc7acb913680f1a an extra pse.cpu_system
    statement was left in the AIX / elif HAVE_PROCINFO_H section, which caused
    the compilation to fail.
    
    Fixes: #1981

commit 51d29979b01ae0316597898f0e25d4bab7fd7d81
Merge: ffaf9b8 294aa61
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Mar 5 18:34:37 2017 +0100

    Merge branch 'collectd-5.6' into collectd-5.7
    
    Conflicts:
    	contrib/redhat/collectd.spec

commit 294aa61f5e961b9a9bec1e27e810a10142017db8
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Mar 5 18:30:23 2017 +0100

    collectd.spec: Don't enable XFS support on RHEL6
    
    It is missing for i386.
    If there's strong interest in having support for xfs in the df plugin in
    RHEL6 we can do some macro magic to only BuildRequire xfsprogs-devel if
    were not on rhel6 i386, but this was the easiest fix and unblocks our
    package builds.

commit ffaf9b893b6042a76e1c0dadd83ce06904fcc89a
Merge: 11c8a76 f78d014
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Mar 5 17:14:53 2017 +0100

    Merge branch 'collectd-5.6' into collectd-5.7

commit f78d014f19d2852a986fcdbef69638e32b4dad6b
Merge: 6cb7fdc 3160f66
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Mar 5 17:14:18 2017 +0100

    Merge pull request #2204 from collectd/check-for-cap-is-supported
    
    Check for the CAP_IS_SUPPORTED macro

commit 3160f66c76385312f5ab9e584bcbb6ce76f526c0
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Mar 5 16:46:47 2017 +0100

    Check for the CAP_IS_SUPPORTED macro
    
    On EPEL6:
    src/daemon/common.c: In function 'check_capability':
    src/daemon/common.c:1571: error: implicit declaration of function 'CAP_IS_SUPPORTED'
    make[1]: *** [src/daemon/common.lo] Error 1

commit 11c8a760c2d354b2f4637bdb297efb253bfaa519
Merge: 004074a 6cb7fdc
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Feb 24 17:44:55 2017 +0100

    Merge branch 'collectd-5.6' into collectd-5.7

commit 6cb7fdcc48e913ee293f27a6f16a3acc0c1bab05
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Feb 24 17:42:59 2017 +0100

    look for cap_get_proc instead of cap_get_bound
    
    a2ddc38 switched the capability check from cap_get_bound() to
    cap_get_proc()

commit a2ddc387687433291c36e7bc8a2f3a5ea88fd0a9
Merge: 9dd91dc f1b6145
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Feb 24 17:40:41 2017 +0100

    Merge pull request #2151 from mfournier/check_capability-rewrite-fix
    
    daemon/common.c: Fix check_capability() by using cap_get_proc()

commit 004074af297a219208fa9e903db8c5dcdd7e1950
Merge: 14d94fb 9dd91dc
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Feb 24 17:28:28 2017 +0100

    Merge branch 'collectd-5.6' into collectd-5.7
    
    Conflicts:
    	src/utils_match.c

commit 9dd91dce20c5d4691f8e8170723ec4731acb76f9
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Wed Jan 25 08:10:48 2017 +0100

    smart: log warning if CAP_SYS_RAWIO is missing
    
    Related to #2143

commit 92e19cb238c23c63599e035fd07b9c09a8bef2e3
Merge: 25a2a0a e1c1ac1
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Feb 24 16:52:17 2017 +0100

    Merge pull request #2192 from maryamtahhan/bugfix_regex_memleak
    
    fix for memory leak in utils_match.c

commit e1c1ac10e1ace7757632ff4f872127cb7afeb4f9
Author: Krzysztof Matczak <krzysztofx.matczak at intel.com>
Date:   Fri Feb 24 09:38:14 2017 +0000

    fix for memory leak in utils_match.c
    
    Change-Id: I058afae8c0a99115bda70e125840fc6bd224b358
    Signed-off-by: Krzysztof Matczak <krzysztofx.matczak at intel.com>

commit 14d94fb83e1e9487dc46415b4334e7217b9175e9
Merge: e4504c3 25a2a0a
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Wed Feb 22 21:09:46 2017 +0100

    Merge branch 'collectd-5.6' into collectd-5.7

commit 25a2a0a9204610245b245656c91ad326725ef72d
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Wed Jan 11 13:39:27 2017 +0100

    log_logstash: send log messages to STDERR by default
    
    See also dec394e08

commit 9b10e3c0af0d0f5be3b1603946fd336b7d930b1b
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Tue Jan 10 22:58:21 2017 +0100

    src/daemon/collectd.c: do not refer to syslog in error message
    
    ... as the message the user would be looking for can be found on
    stderr/stdout or in any configured logfile.

commit 9cb3abd9449a7f909c3434ec2ff0939939371269
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Tue Jan 10 22:23:55 2017 +0100

    logfile: send log messages to STDERR by default
    
    This prevents early startup log messages from going unnoticed if the
    default logfile isn't writeable.
    
    Fixes: #2057

commit e4504c3cc5582ab915903e1b4ba010545ffc8354
Merge: f7e2d82 bf4dcf7
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Wed Feb 22 11:17:58 2017 +0100

    Merge branch 'collectd-5.6' into collectd-5.7
    
    Conflicts:
    	contrib/redhat/collectd.spec

commit bf4dcf7d2be115582c420bc1b379d594b9132f5a
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Wed Feb 22 09:59:02 2017 +0100

    collectd.spec: enable XFS support in df plugin
    
    Fixes #2178

commit f7e2d82c4d016df72c55e85bb9c5bc9ba08d5f91
Merge: 5cf242b 33c0e71
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Feb 19 12:59:13 2017 +0100

    Merge branch 'collectd-5.6' into collectd-5.7

commit 5cf242b078f236b003f609c6419b13b099e0d2a5
Merge: 7f29ef2 075e86f
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Tue Feb 14 11:12:28 2017 +0100

    Merge pull request #2167 from maryamtahhan/feat_dpdkstat_bugfix_5_7
    
    dpdkstat: Fix metrics' types

commit 7f29ef2efbc0ea35ad4a5ba0b47afbc1253c7e5f
Merge: 087ad3f 9db7ce0
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Mon Feb 13 15:39:00 2017 +0100

    Merge pull request #2170 from javicacheiro/fix_redhat_spec_file
    
    Fix rpm spec file for 5.7.1

commit 9db7ce0ff5180c7e0f377df1fd3ed996dc70e35d
Author: Javier Cacheiro <jlopez at cesga.es>
Date:   Fri Feb 10 11:58:07 2017 +0100

    Fix release

commit c5625ffd7bc885fbafdf272e7d06732f41159add
Author: Javier Cacheiro <jlopez at cesga.es>
Date:   Thu Feb 9 22:50:01 2017 +0100

    Fix rpm spec file for 5.7.1

commit 087ad3fc1c1967a2c227f7db3f60799245d0d9ee
Merge: 877672d 3d5b712
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Wed Feb 8 17:36:46 2017 +0100

    Merge pull request #2165 from maryamtahhan/feat_rdt_bugfix
    
    intel_rdt: bugfix configuration

commit 075e86f1cacd5fb29f9d954e61792e623169bdca
Author: Przemyslaw Szczerbik <przemyslawx.szczerbik at intel.com>
Date:   Wed Feb 8 14:28:09 2017 +0000

    dpdkstat: Fix metrics' types
    
    This patch fixes parsing of metrics' types. Some statistics, such as
    rx_q0errors, rx_q0bytes or rx_q0packet, don't contain suffix _errors, _bytes or
    _packets. This has caused them to use generic type 'derive', rather than
    more specific one, for instance 'if_rx_errors'. Additionally, some
    statistics contain string 'error', rather than 'errors'.
    
    Change-Id: I51dfa9c4d98346a654adbc4041b64ebd3897278c
    Signed-off-by: Przemyslaw Szczerbik <przemyslawx.szczerbik at intel.com>

commit 3d5b7121b097f54d50632488883cd9b943e3d1fa
Author: Maryam Tahhan <maryam.tahhan at intel.com>
Date:   Wed Feb 8 13:48:12 2017 +0000

    intel_rdt: bugfix configuration
    
    Fix the configuration to stop collectd bombing out and deal with configuration
    errors gracefully. Otherwise collectd will fail at the configuration phase
    with: "Error: Reading the config file failed!".
    
    Signed-off-by: Tahhan, Maryam <maryam.tahhan at intel.com>

commit 33c0e7174035b80b32c025be10a056a590dada7a
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Sat Jan 28 11:47:38 2017 +0100

    notify_email: don't explicitly link against libssl and libcrypto
    
    libesmtp takes care of this.
    
    Pointed out by https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852924

commit f1b6145ce2bf1bc5061c4aafcf63e90bdc6b8b5c
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Wed Jan 25 07:37:41 2017 +0100

    daemon/common.c: Fix check_capability() by using cap_get_proc()
    
    Rewrite this function, as 58acba67f made it a no-op.

commit 877672d20fcf0ed25f5fc5faa8aa3964c622bc27
Merge: 60eed06 6969c62
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Mon Jan 23 20:05:30 2017 +0100

    Merge branch 'collectd-5.6' into collectd-5.7

commit 60eed060934ac811311713eba9b70880de7e7d04
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Dec 23 18:47:59 2016 +0100

    dpdkstat plugin: jump to the right label

commit 6969c629641e681069d17c117829779191b8896d
Author: Denys Fedoryshchenko <denys at visp.net.lb>
Date:   Fri Jan 6 03:36:16 2017 +0200

    mqtt plugin: Fix invalid symbols in topic name.

commit 98bfe15ca31dc5deaf29b9fbcdfb5a4241ea677c
Author: Denys Fedoryshchenko <denys at visp.net.lb>
Date:   Fri Jan 6 03:36:16 2017 +0200

    mqtt plugin: Fix resource leak.
    
    Fixes: #2123




More information about the collectd-changes mailing list