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

Florian Forster octo at verplant.org
Wed Jul 19 07:55:17 CEST 2017


 AUTHORS                          |    5 +
 ChangeLog                        |   47 ++++
 Makefile.am                      |   26 +-
 README                           |   14 +-
 configure.ac                     |  550 ++++++++++++++++++++----------------
 contrib/systemd.collectd.service |    3 +-
 m4/ax_compiler_vendor.m4         |   87 ++++++
 src/aggregation.c                |   16 +-
 src/amqp.c                       |   24 +-
 src/apache.c                     |   21 +-
 src/apcups.c                     |   31 ++-
 src/ascent.c                     |    8 +-
 src/battery.c                    |   11 +-
 src/bind.c                       |   29 +-
 src/cgroups.c                    |    8 +-
 src/chrony.c                     |    6 +-
 src/collectd-snmp.pod            |    7 +-
 src/collectd.conf.in             |   12 +-
 src/collectd.conf.pod            |  125 +++++++--
 src/cpu.c                        |    2 +-
 src/cpufreq.c                    |   14 +-
 src/csv.c                        |   21 +-
 src/curl.c                       |    8 +-
 src/curl_json.c                  |   16 +-
 src/curl_xml.c                   |   17 +-
 src/daemon/common.c              |   22 +-
 src/daemon/common.h              |    3 -
 src/daemon/common_test.c         |   22 --
 src/daemon/configfile.c          |   16 +-
 src/daemon/filter_chain.c        |    4 +-
 src/daemon/meta_data.c           |    6 +-
 src/daemon/plugin.c              |   22 +-
 src/daemon/utils_cache.c         |    8 +-
 src/daemon/utils_time.c          |    2 +-
 src/dbi.c                        |   10 +-
 src/disk.c                       |    9 +-
 src/dpdkevents.c                 |  299 ++++++++++++++------
 src/dpdkstat.c                   |   84 +++---
 src/drbd.c                       |    2 +-
 src/email.c                      |   79 +++---
 src/exec.c                       |   27 +-
 src/filecount.c                  |    2 +-
 src/gmond.c                      |    4 +-
 src/hddtemp.c                    |    2 +-
 src/hugepages.c                  |   14 +-
 src/intel_pmu.c                  |  566 ++++++++++++++++++++++++++++++++++++++
 src/intel_rdt.c                  |   19 +-
 src/interface.c                  |    4 +-
 src/ipc.c                        |    4 +-
 src/ipmi.c                       |   26 +-
 src/iptables.c                   |   20 +-
 src/ipvs.c                       |  118 ++++----
 src/java.c                       |    6 +-
 src/libcollectdclient/client.c   |    3 +-
 src/logfile.c                    |    4 +-
 src/lpar.c                       |    4 +-
 src/lua.c                        |   23 +-
 src/lvm.c                        |    3 +-
 src/madwifi.c                    |   10 +-
 src/match_regex.c                |    2 +-
 src/mcelog.c                     |   13 +-
 src/md.c                         |    4 +-
 src/memcached.c                  |   11 +-
 src/mic.c                        |   12 +-
 src/modbus.c                     |    4 +-
 src/mqtt.c                       |   15 +-
 src/mysql.c                      |   14 +-
 src/netapp.c                     |   85 +++---
 src/netlink.c                    |   10 +-
 src/network.c                    |   16 +-
 src/nfs.c                        |    8 +-
 src/nginx.c                      |   11 +-
 src/notify_desktop.c             |   12 +-
 src/notify_email.c               |   40 +--
 src/notify_nagios.c              |    8 +-
 src/ntpd.c                       |    6 +-
 src/numa.c                       |    6 +-
 src/nut.c                        |  231 +++++++---------
 src/olsrd.c                      |   16 +-
 src/onewire.c                    |    8 +-
 src/openldap.c                   |   44 +--
 src/oracle.c                     |    5 +-
 src/ovs_events.c                 |   38 +--
 src/ovs_stats.c                  |   34 +--
 src/perl.c                       |   24 +-
 src/postgresql.c                 |   34 +--
 src/processes.c                  |   22 +-
 src/protocols.c                  |    4 +-
 src/python.c                     |   10 +-
 src/redis.c                      |    4 +-
 src/routeros.c                   |   20 +-
 src/rrdcached.c                  |   22 +-
 src/rrdtool.c                    |   34 +--
 src/sensors.c                    |    6 +-
 src/sigrok.c                     |    8 +-
 src/smart.c                      |    6 +-
 src/snmp.c                       |   21 +-
 src/snmp_agent.c                 |  171 +++++++-----
 src/statsd.c                     |   19 +-
 src/swap.c                       |    2 +-
 src/syslog.c                     |    2 +-
 src/tail.c                       |    2 +-
 src/tail_csv.c                   |    2 +-
 src/target_notification.c        |    8 +-
 src/target_scale.c               |   28 +-
 src/target_set.c                 |    2 +-
 src/target_v5upgrade.c           |   16 +-
 src/tcpconns.c                   |   24 +-
 src/teamspeak2.c                 |    6 +-
 src/thermal.c                    |    8 +-
 src/threshold.c                  |   82 +++---
 src/turbostat.c                  |   18 +-
 src/unixsock.c                   |    4 +-
 src/utils_cmd_putval.c           |    8 +-
 src/utils_cmds.c                 |    2 +-
 src/utils_dns.c                  |    6 +-
 src/utils_dpdk.c                 |   54 ++--
 src/utils_dpdk.h                 |    3 +-
 src/utils_format_graphite.c      |   37 +--
 src/utils_format_json.c          |   21 +-
 src/utils_format_kairosdb.c      |   13 +-
 src/utils_latency_config.c       |    2 +-
 src/utils_lua.c                  |    2 +-
 src/utils_mount.c                |    4 +-
 src/utils_ovs.c                  |   16 +-
 src/utils_rrdcreate.c            |   24 +-
 src/utils_tail_match.c           |   16 +-
 src/varnish.c                    |  116 ++++----
 src/virt.c                       |   21 +-
 src/virt_test.c                  |    2 +-
 src/vserver.c                    |    8 +-
 src/write_graphite.c             |    8 +-
 src/write_http.c                 |   14 +-
 src/write_kafka.c                |    6 +-
 src/write_mongodb.c              |   90 +++---
 src/write_prometheus.c           |   40 +--
 src/write_redis.c                |   20 +-
 src/write_riemann.c              |   33 ++-
 src/write_sensu.c                |   20 +-
 src/write_tsdb.c                 |   42 +--
 src/xencpu.c                     |    2 +-
 src/zfs_arc.c                    |    8 +-
 version-gen.sh                   |    2 +-
 143 files changed, 2748 insertions(+), 1709 deletions(-)

New commits:
commit 88bd89f106abd5c0a9f9a80246e31a16c36a3c6d
Merge: f10aace ebffc2b
Author: Florian Forster <octo at collectd.org>
Date:   Wed Jul 19 07:54:49 2017 +0200

    Merge remote-tracking branch 'github/pr/2276'

commit f10aace6ef2632df58636d965bc43fdd2730243c
Merge: 26abd5b 01f43e4
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Mon Jul 17 22:54:28 2017 +0200

    Merge pull request #2366 from axibase/ssnprintf-fix
    
    Fix build: left ssnprintf in test

commit 01f43e4d4c8b2b049eca9df64431721801c3a35f
Author: rmakulov <rustam.makulov at axibase.com>
Date:   Mon Jul 17 12:12:45 2017 +0300

    Fix left ssnprintf in test

commit 26abd5b3f42be24d7f206666c61f59a1477e7a85
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Jul 16 22:38:57 2017 +0200

    intel_rdt plugin: fix style

commit 72b766cc2c0413eae5fd2cce468b349a33b8b557
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Jul 16 22:37:31 2017 +0200

    nut plugin: remove trailing whitespace

commit 7f38ca96e3a54a4b02475f857c7d79c6a1257ada
Merge: d83bdb9 e746ad7
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Jul 16 22:33:21 2017 +0200

    Merge branch 'ssnprintf-cleanup'
    
    Conflicts:
    	src/dpdkevents.c
    	src/utils_dpdk.c
    	src/write_mongodb.c

commit e746ad785774de37a30302fef65f1c4aaf8698ab
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Jul 16 22:24:54 2017 +0200

    Run clang-format after removing ssnprintf
    
    Changing ssnprintf to snprintf changed the indentation.

commit d83bdb92ce4dbda05dcb7112c4e9fea1a17a3e22
Merge: b9fd6b6 cb90ca8
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat Jul 15 15:55:52 2017 +0200

    Merge pull request #2354 from rpv-tomsk/issue-2344-nut-rework
    
    nut plugin: Multi-threaded ups polling with connect timeout.

commit b9fd6b6200e728249b88c8926c2fa53ad58c3935
Merge: 267bbc6 0ad56ec
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Thu Jul 13 17:29:22 2017 +0200

    Merge pull request #2362 from rpv-tomsk/issue-2338
    
    snmp_agent: Fixes and improvements

commit 0ad56ec30dc14accfde4cd3794e940d00ca6e641
Author: Pavel Rochnyack <pavel2000 at ngs.ru>
Date:   Thu Jul 13 19:45:53 2017 +0700

    snmp_agent: Documented 'PluginInstance' option

commit d534734c9a114b376536f9cda2fb3611e7f4a85e
Author: Pavel Rochnyack <pavel2000 at ngs.ru>
Date:   Thu Jul 13 18:51:31 2017 +0700

    snmp_agent: Changed plugin initialization
    
    * Do not start working thread if plugin not configured.
      That allows to avoid useless CPU consumption by polling loop.
    
    * Do not register 'write' / 'missing' callbacks if there was no <Table> configured.
      These callbacks do not do anything in this case.
    
    * Registration of 'shutdown' callback delayed to 'init' phase.

commit 7778f852d4c40066c4c5c096d17ff890a656ad31
Author: Pavel Rochnyack <pavel2000 at ngs.ru>
Date:   Thu Jul 13 14:34:27 2017 +0700

    snmp_agent: Fix null pointer dereference
    
    As `table` field in `data_definition_t` is just backreference,
    then `snmp_agent_free_data()` should not alter parent structure.
    
    So, table columns unregistering and freeing has moved to new
    `snmp_agent_free_table_columns()` function.
    
    That also fixes null pointer dereference.
    
    Closes: #2338.

commit 177bd49069d5cd45a6a7b61269f6001b82ff8acc
Author: Pavel Rochnyack <pavel2000 at ngs.ru>
Date:   Wed Jul 12 21:26:13 2017 +0700

    snmp_agent: Added a check for llist_create() result
    
    Also appropriate `llist_destroy()` calls added.

commit 9bdf6cbef6eaf867b3a614fdf544cf3b38712ef7
Author: Pavel Rochnyack <pavel2000 at ngs.ru>
Date:   Wed Jul 12 21:06:22 2017 +0700

    snmp_agent: Avoid race conditions between thread start and locks initialization.
    
    Lock initialization should be done before starting pthread which uses them.

commit 267bbc64779f9c7b32e063aac0df22be61bda6ae
Merge: bea5daa 0176186
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Wed Jul 12 18:59:07 2017 +0200

    Merge branch 'collectd-5.7'
    
    Conflicts:
    	contrib/systemd.collectd.service

commit 01761867ced7bc5fe71546baf350be4a3e800600
Merge: f374b72 2e1a81e
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Wed Jul 12 18:58:18 2017 +0200

    Merge branch 'collectd-5.6' into collectd-5.7

commit 2e1a81e3a2ab194db4c78a0f54fe4551b9ec34db
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Wed Jul 12 18:54:49 2017 +0200

    collectd.service: remove NoNewPrivileges setting
    
    There are various issues with it in combination with SELinux.
    See https://marc.info/?l=selinux&m=149971836431361&w=2 for some
    background.

commit e3c726294048849051d383244b08e6545c8cab35
Merge: eeb5444 336c5c5
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Wed Jul 12 17:44:34 2017 +0200

    Merge pull request #2357 from rpv-tomsk/issue-2305
    
    Fixed failed compilation on AIX

commit cb90ca86e2c9b797b292ecf26ac4220355a30a4d
Author: Pavel Rochnyack <pavel2000 at ngs.ru>
Date:   Mon Jul 10 13:24:08 2017 +0700

    nut plugin: Multi-threaded ups polling with connect timeout.
    
    Changes:
    
    * Implemented use of 'plugin_register_complex_read', so querying will be multi-threaded;
    * Added 'ConnectTimeout' option, implemented with use of 'upscli_tryconnect()' added in nut-2.6.2;
    * The `upscli_cleanup()` should be called only at Collectd shutdown, excessive calls was removed;
    * Added `upscli_init()` call if `ForceSSL` enabled.
    * Added a check for duplicated values in `UPS` option.
    
    Closes: #2344

commit 336c5c5170b65c3983bf98e9b114759cce1de54c
Author: Pavel Rochnyack <pavel2000 at ngs.ru>
Date:   Tue Jul 11 11:08:56 2017 +0700

    Fixed failed compilation on AIX
    
    Caused by typo in 2761915bed8c6caea41018be3e675aa712cc0b0a / #1842.
    
    Closes: #2305

commit bea5daaed7b5cf9160207a95292947873fdcf927
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat Jul 8 12:12:33 2017 +0200

    write_mongodb: fix a couple of build warnings
    
      CC       src/write_mongodb_la-write_mongodb.lo
    src/write_mongodb.c:96:21: warning: comparison of integers of different signs: 'int' and 'const size_t' (aka 'const unsigned long') [-Wsign-compare]
      for (int i = 0; i < ds->ds_num; i++) {
                      ~ ^ ~~~~~~~~~~
    src/write_mongodb.c:121:21: warning: comparison of integers of different signs: 'int' and 'const size_t' (aka 'const unsigned long') [-Wsign-compare]
      for (int i = 0; i < ds->ds_num; i++) {
                      ~ ^ ~~~~~~~~~~
    src/write_mongodb.c:134:21: warning: comparison of integers of different signs: 'int' and 'const size_t' (aka 'const unsigned long') [-Wsign-compare]
      for (int i = 0; i < ds->ds_num; i++) {
                      ~ ^ ~~~~~~~~~~
    3 warnings generated.

commit 619755ece305a61ed7afb19ca5ca6054c4d43097
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat Jul 8 11:52:42 2017 +0200

    chrony plugin: small cleanup

commit d46c9cada2398d5508205e745c42c1cdc6efd1e9
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat Jul 8 11:50:23 2017 +0200

    chrony plugin: fix 2 build warnings
    
      CC       src/chrony.lo
    src/chrony.c:355:30: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
        if (!isalnum(c) || j + 1 >= p_buf_size)
                           ~~~~~ ^  ~~~~~~~~~~
    src/chrony.c:359:9: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
      if (j < p_buf_size)
          ~ ^ ~~~~~~~~~~

commit e0ec7ff9351918c400b88890d1be2d4de7b0dedb
Merge: 9655d4a 01bef21
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat Jul 8 10:58:26 2017 +0200

    Merge pull request #2351 from rpv-tomsk/apcups-defaults
    
    apcups: allow to use plugin without explicit configuration

commit 01bef211494e1c7e32c880849c05fa3c1e678cfb
Author: Pavel Rochnyack <pavel2000 at ngs.ru>
Date:   Sat Jul 8 00:56:23 2017 +0700

    apcups: allow to use plugin without explicit configuration
    Previously the apcups plugin could not be used without defining
    an explicit configuration.
    
    While the apcups plugin did provide a localhost fallback, it
    did not however provide a 3551 port fallback in practice,
    eventhough a constant for that purpose was already present.
    
    Thanks to Pascal de Bruijn for report.
    
    Closes: #2347

commit 9655d4a6d9fa2c4f02032759b831e93933d68bd9
Merge: f3c9335 f374b72
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Jul 7 18:43:39 2017 +0200

    Merge branch 'collectd-5.7'
    
    Fixes #2328
    Conflicts:
    	src/curl_json.c
    	src/curl_xml.c

commit f374b72032a227a75b6bc9ae574cd28abbc16f24
Merge: 02a2996 eeb5444
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Jul 7 18:40:55 2017 +0200

    Merge branch 'collectd-5.6' into collectd-5.7

commit f3c9335402d5853f98645ca28080600bf565f1ce
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Jul 7 16:00:48 2017 +0200

    snmp_agent: fix format specifiers
    
    make  all-am
    make[1]: Entering directory '/home/ruben/src/collectd'
      CC       src/snmp_agent_la-snmp_agent.lo
    In file included from ./src/daemon/common.h:33:0,
                     from src/snmp_agent.c:31:
    src/snmp_agent.c: In function ‘snmp_agent_dump_data’:
    src/snmp_agent.c:42:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t {aka long unsigned int}’ [-Wformat=]
     #define PLUGIN_NAME "snmp_agent"
                         ^
    ./src/daemon/plugin.h:400:42: note: in definition of macro ‘DEBUG’
     #define DEBUG(...) plugin_log(LOG_DEBUG, __VA_ARGS__)
                                              ^~~~~~~~~~~
    src/snmp_agent.c:192:13: note: in expansion of macro ‘PLUGIN_NAME’
           DEBUG(PLUGIN_NAME ":   OID[%d]: %s", i, oid_str);
                 ^~~~~~~~~~~
    src/snmp_agent.c:192:35: note: format string is defined here
           DEBUG(PLUGIN_NAME ":   OID[%d]: %s", i, oid_str);
                                      ~^
                                      %ld
      CCLD     snmp_agent.la

commit bbfa295a9f40e9966fff0afe29babd1f7834f5d3
Merge: 867ad62 0bfc2ea
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Thu Jul 6 18:54:45 2017 +0200

    Merge pull request #2348 from maryamtahhan/feat_dpdkevents_fixes
    
    Feat dpdkevents fixes

commit 0bfc2ea8afa790964166121b59b40a32665aba71
Author: Przemyslaw Szczerbik <przemyslawx.szczerbik at intel.com>
Date:   Fri Apr 7 13:48:39 2017 +0100

    dpdk plugins: bug fixes and improvements
    
    - Do not return error in configuration callback, which will cause
      collectd to be stopped. Instead, report error in init callback, which
      will unload incorrectly configured plugin.
    - Remove redundant ProcessType configuration option, which was always set to
      "secondary"
    - Use functions from cf_util_get family for parsing config file
    - In case of parsing errors perform plugin cleanup
    - Correctly remove previously created shared memory object if user specified
      "SharedMemObj" option with different value than default
    - Prevent segmentation fault in dpdk_shm_cleanup
    - Change 'send_updated' and 'notify' variable types to _Bool
    
    Change-Id: Id7dfc7f25d2cebf332d47bcd5afaaebf577945d6
    Signed-off-by: Przemyslaw Szczerbik <przemyslawx.szczerbik at intel.com>

commit 400c086b0ab8fab8f5248d3b2893144767e60aa7
Author: Krzysztof Matczak <krzysztofx.matczak at intel.com>
Date:   Wed Apr 5 16:57:25 2017 +0100

    dpdkevents: initialization fixes
    
    This patch removes impact of keep_alive init failure on
    link_status processing. Also changed default behaviour in configless
    mode, where no <Plugin/> stanza is defined. Now both keep_alive
    and link_status are enabled by default. On the other hand if
    <Plugin/> stanza is present, both features are disabled by default
    and user is responsible for specifying which one is active or not.
    
    Change-Id: I03f7ab88e89404e03532677d00a966ddb80d1552
    Signed-off-by: Krzysztof Matczak <krzysztofx.matczak at intel.com>

commit 32ee504b53f49960b13d4974ce7842d838fadcc7
Author: Przemyslaw Szczerbik <przemyslawx.szczerbik at intel.com>
Date:   Tue Mar 28 09:53:32 2017 +0100

    dpdkevents: detect primary DPDK application (re)start
    
    Current implementation attempts to open KA SHM only once during init callback.
    If at the time primary DPDK application is not running shm_open will fail, which
    will result in dpdkevents plugin being unloaded. Move KA SHM open logic to read
    callback to allow plugin to attach to primary DPDK application later without a
    need to restart collectd. Moreover, it will allow to determine if primary DPDK
    application was killed and plugin should stop dispatching KA statistics.
    
    Additionally modify dpdk_event_keep_alive_shm_open function to detect restart of
    primary DPDK application. When primary DPDK application (with KA support) is
    restarted it unlinks existing shared memory object and creates a new one. It's
    necessary for the plugin to create a new SHM mapping in order to prevent reading
    statistics from stale SHM block.
    
    Change-Id: I7fc0047ba117db771ada58a40cbe0b2bddd00112
    Signed-off-by: Przemyslaw Szczerbik <przemyslawx.szczerbik at intel.com>

commit eeb544426d73da7993a24372dd4cd9fb8cca9627
Merge: 24bdf52 e7a7be6
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Tue Jul 4 17:27:03 2017 +0200

    Merge pull request #2341 from rpv-tomsk/issue-2328
    
    curl plugins: Use configured URL for all poll cycles

commit e7a7be6760b7f79780e9e9ed10fa9e029a3faa38
Author: Pavel Rochnyack <pavel2000 at ngs.ru>
Date:   Tue Jul 4 17:31:46 2017 +0700

    curl plugins: Use configured URL for all poll cycles
    
    After redirect received, Collectd send subsequent requests to new location.
    That is wrong - Collectd should use configured URL for all poll cycles, regardless of the responses received previously.
    
    Problem was caused by libcurl issue 1631. To avoid that we set request url in each poll cycle.
    
    Closes: #2328

commit f81a5a84d3d5fc941b624c28b1ab70971cc23ac9
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Jul 2 22:12:18 2017 +0200

    write_mongodb: fix build warning
    
      CC       src/write_mongodb_la-write_mongodb.lo
    src/write_mongodb.c: In function ‘wm_config’:
    src/write_mongodb.c:371:55: warning: ‘%s’ directive output may be truncated writing up to 127 bytes into a region of size 114 [-Wformat-truncation=]
         snprintf(cb_name, sizeof(cb_name), "write_mongodb/%s", node->name);
                                                           ^~
    src/write_mongodb.c:371:5: note: ‘snprintf’ output between 15 and 142 bytes into a destination of size 128
         snprintf(cb_name, sizeof(cb_name), "write_mongodb/%s", node->name);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

commit 3e5eb5fbbd3881150f407a4877faa1377aeef50d
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Jul 2 22:07:59 2017 +0200

    write_redis: fix build warning
    
    src/write_redis.c: In function ‘wr_config’:
    src/write_redis.c:222:53: warning: ‘%s’ directive output may be truncated writing up to 127 bytes into a region of size 116 [-Wformat-truncation=]
         snprintf(cb_name, sizeof(cb_name), "write_redis/%s", node->name);
                                                         ^~
    src/write_redis.c:222:5: note: ‘snprintf’ output between 13 and 140 bytes into a destination of size 128
         snprintf(cb_name, sizeof(cb_name), "write_redis/%s", node->name);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

commit e170f3559fcda6d37a012aba187a96b1f42e8f9d
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Jul 2 21:52:14 2017 +0200

    libcollectdclient: increase error buffer
    
    make[1]: Entering directory '/home/ruben/src/collectd'
      CC       src/libcollectdclient/libcollectdclient_la-client.lo
    src/libcollectdclient/client.c: In function ‘lcc_getval’:
    src/libcollectdclient/client.c:621:23: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1010 [-Wformat-truncation=]
         LCC_SET_ERRSTR(c, "Server error: %s", res.message);
                           ^                   ~
    src/libcollectdclient/client.c:94:48: note: in definition of macro ‘LCC_SET_ERRSTR’
         snprintf((c)->errbuf, sizeof((c)->errbuf), __VA_ARGS__);                   \
                                                    ^~~~~~~~~~~
    src/libcollectdclient/client.c:94:5: note: ‘snprintf’ output between 15 and 1038 bytes into a destination of size 1024
         snprintf((c)->errbuf, sizeof((c)->errbuf), __VA_ARGS__);                   \
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/libcollectdclient/client.c:621:5: note: in expansion of macro ‘LCC_SET_ERRSTR’
         LCC_SET_ERRSTR(c, "Server error: %s", res.message);
         ^~~~~~~~~~~~~~
    src/libcollectdclient/client.c: In function ‘lcc_putval’:
    src/libcollectdclient/client.c:754:23: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1010 [-Wformat-truncation=]
         LCC_SET_ERRSTR(c, "Server error: %s", res.message);
                           ^                   ~
    src/libcollectdclient/client.c:94:48: note: in definition of macro ‘LCC_SET_ERRSTR’
         snprintf((c)->errbuf, sizeof((c)->errbuf), __VA_ARGS__);                   \
                                                    ^~~~~~~~~~~
    src/libcollectdclient/client.c:94:5: note: ‘snprintf’ output between 15 and 1038 bytes into a destination of size 1024
         snprintf((c)->errbuf, sizeof((c)->errbuf), __VA_ARGS__);                   \
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/libcollectdclient/client.c:754:5: note: in expansion of macro ‘LCC_SET_ERRSTR’
         LCC_SET_ERRSTR(c, "Server error: %s", res.message);
         ^~~~~~~~~~~~~~
    src/libcollectdclient/client.c: In function ‘lcc_flush’:
    src/libcollectdclient/client.c:802:23: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1010 [-Wformat-truncation=]
         LCC_SET_ERRSTR(c, "Server error: %s", res.message);
                           ^                   ~
    src/libcollectdclient/client.c:94:48: note: in definition of macro ‘LCC_SET_ERRSTR’
         snprintf((c)->errbuf, sizeof((c)->errbuf), __VA_ARGS__);                   \
                                                    ^~~~~~~~~~~
    src/libcollectdclient/client.c:94:5: note: ‘snprintf’ output between 15 and 1038 bytes into a destination of size 1024
         snprintf((c)->errbuf, sizeof((c)->errbuf), __VA_ARGS__);                   \
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/libcollectdclient/client.c:802:5: note: in expansion of macro ‘LCC_SET_ERRSTR’
         LCC_SET_ERRSTR(c, "Server error: %s", res.message);
         ^~~~~~~~~~~~~~
    src/libcollectdclient/client.c: In function ‘lcc_listval’:
    src/libcollectdclient/client.c:834:23: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1010 [-Wformat-truncation=]
         LCC_SET_ERRSTR(c, "Server error: %s", res.message);
                           ^                   ~
    src/libcollectdclient/client.c:94:48: note: in definition of macro ‘LCC_SET_ERRSTR’
         snprintf((c)->errbuf, sizeof((c)->errbuf), __VA_ARGS__);                   \
                                                    ^~~~~~~~~~~
    src/libcollectdclient/client.c:94:5: note: ‘snprintf’ output between 15 and 1038 bytes into a destination of size 1024
         snprintf((c)->errbuf, sizeof((c)->errbuf), __VA_ARGS__);                   \
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/libcollectdclient/client.c:834:5: note: in expansion of macro ‘LCC_SET_ERRSTR’
         LCC_SET_ERRSTR(c, "Server error: %s", res.message);
         ^~~~~~~~~~~~~~
    
    Fixes #2200

commit 5203a7f54b80593fc2f78c7fe407ca1e7b969984
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Jul 2 21:50:48 2017 +0200

    libcollectclient: snprintf already NUL-terminates

commit d9ea74670fed814b2646f12fb22929cd03f99886
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Jul 2 21:48:50 2017 +0200

    processes plugin: fix build warning
    
      CC       src/processes.lo
    src/processes.c: In function ‘ps_read’:
    src/processes.c:823:58: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 32 and 51 [-Wformat-truncation=]
         snprintf(filename, sizeof(filename), "/proc/%li/task/%s/status", ps->id,
                                                              ^~
    src/processes.c:823:5: note: ‘snprintf’ output between 21 and 295 bytes into a destination of size 64
         snprintf(filename, sizeof(filename), "/proc/%li/task/%s/status", ps->id,
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                   tpid);
                   ~~~~~
    
    In practice the buffer is more than large enough, since all we substitute are process ids, but gcc can't know that.

commit be126043c2be20399d7670fe194645292018bde0
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Jul 2 21:17:30 2017 +0200

    Treewide: replace ssnprintf with snprintf
    
    ssnprintf supposedly was a safer version of snprintf, but they both
    always NUL-terminate the buffer.
    
    After this change GCC >= 7 will start warning when snprintf silenty
    truncates, which is good since I want to see when that happens.

commit 867ad628dc6fcd05bd584b605d7093cfc00c3d07
Merge: a93cc68 02a2996
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Jul 2 20:52:18 2017 +0200

    Merge branch 'collectd-5.7'

commit 02a29964b4e67bb04c1419daedc8eacfafdf0a7c
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Jul 2 20:34:59 2017 +0200

    tcpconns plugin: fix build on FreeBSD current
    
    FreeBSD commit https://github.com/freebsd/freebsd/commit/3a5c9aaf2b2ea107bcaf0ba28b706238d92bdbbd
    hides inpcb and tcpcb from userland.
    
    Patch taken from FreeBSD ports tree, thanks glebius at .

commit a93cc6815226436b310ac8bf50c41d6c69ac5999
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Jul 2 19:38:12 2017 +0200

    write_mongodb: use ssnprintf_alloc to create dsn

commit 2c59754399236dee51c68b0b624242c61f89c4c0
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Jul 2 19:22:20 2017 +0200

    write_mongodb: fix potential NULL dereference
    
    scan-build: Using '/usr/bin/clang-4.0' for static analysis
    make  all-am
    make[1]: Entering directory '/home/ruben/src/collectd'
      CC       src/write_mongodb_la-write_mongodb.lo
    src/write_mongodb.c:173:41: warning: Null pointer passed as an argument to a 'nonnull' parameter
                     strlen(node->passwd) + strlen(node->host) + 5 +
                                            ^~~~~~~~~~~~~~~~~~
    src/write_mongodb.c:199:42: warning: Null pointer passed as an argument to a 'nonnull' parameter
        uri_length = strlen(format_string) + strlen(node->host) + 5 + 1;
                                             ^~~~~~~~~~~~~~~~~~
    2 warnings generated.
      CCLD     write_mongodb.la

commit 7f9c8e704314392b556c27e4034fd910c25b6377
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Jul 2 19:16:55 2017 +0200

    write_mongodb.c: clang-format

commit ea6856ebcee99df4a11a4d1e4229cb60a94ff0cd
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Jul 2 15:44:39 2017 +0200

    Only build libplugin_mock.la during make check

commit b2543fd12ea900377dc0939c5221f76b893e7f55
Merge: 79dcff2 b3955dc
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Jul 2 14:38:36 2017 +0200

    Merge pull request #2315 from mcorbin/feat/riemann-microseconds-resolution
    
    Add micro-seconds resolution in write_riemann

commit 79dcff2a8bdd650dfcacdee70cacb4ef1127e305
Merge: 3c1af62 21cf33c
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Jul 2 13:34:05 2017 +0200

    Merge pull request #2301 from rpv-tomsk/fix-apcups
    
    apcups: Fix reconnect implementation

commit 3c1af627f97fd7e6726fb5361fc642dc6d699695
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat Jul 1 15:43:42 2017 +0200

    ipvs plugin: remove custom kernel source support
    
    Linux has shipped ipvs.h in its uapi for ages now.

commit 3d316c8314bb356c56049f910bb47c9ba4a15cee
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat Jul 1 15:27:21 2017 +0200

    configure.ac: minor cleanup

commit bbf0d6f3a94fa01c34022bd1c522f93904d18870
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat Jul 1 15:18:08 2017 +0200

    configure.ac: remove some whitespace

commit 0c84688fe1ade967b1a0dfed58519f1ae9f83157
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat Jul 1 15:09:40 2017 +0200

    snmp_agent plugin: fix a few build warnings
    
    ```
    CC       src/snmp_agent_la-snmp_agent.lo
    src/snmp_agent.c:166:25: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
          for (int i = 0; i < dd->oids_len; i++) {
                          ~ ^ ~~~~~~~~~~~~
    src/snmp_agent.c:190:23: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
        for (int i = 0; i < dd->oids_len; i++) {
                        ~ ^ ~~~~~~~~~~~~
    src/snmp_agent.c:289:37: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
      for (i = 0; i < key_len && offset < oid->oid_len; i++)
                                 ~~~~~~ ^ ~~~~~~~~~~~~
    src/snmp_agent.c:355:23: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
        for (int i = 0; i < dd->oids_len; i++)
                        ~ ^ ~~~~~~~~~~~~
    src/snmp_agent.c:420:23: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
        for (int i = 0; i < (*dd)->oids_len; i++)
                        ~ ^ ~~~~~~~~~~~~~~~
    src/snmp_agent.c:429:25: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
          for (int i = 0; i < (*dd)->oids_len; i++)
                          ~ ^ ~~~~~~~~~~~~~~~
    src/snmp_agent.c:440:25: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
          for (int i = 0; i < (*dd)->oids_len; i++)
                          ~ ^ ~~~~~~~~~~~~~~~
    src/snmp_agent.c:532:20: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
      assert(oid_index < values_num);
             ~~~~~~~~~ ^ ~~~~~~~~~~
    /usr/include/assert.h:89:5: note: expanded from macro 'assert'
      ((expr)                                                               \
        ^~~~
    src/snmp_agent.c:584:25: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
          for (int i = 0; i < dd->oids_len; i++) {
                          ~ ^ ~~~~~~~~~~~~
    src/snmp_agent.c:768:23: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
        for (int i = 0; i < dd->oids_len; i++) {
                        ~ ^ ~~~~~~~~~~~~
    src/snmp_agent.c:806:25: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
          for (int i = 0; i < dd->oids_len; i++) {
                          ~ ^ ~~~~~~~~~~~~
    src/snmp_agent.c:821:23: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
        for (int i = 0; i < dd->oids_len; i++) {
                        ~ ^ ~~~~~~~~~~~~
    src/snmp_agent.c:1287:23: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
        for (int i = 0; i < dd->oids_len; i++) {
                        ~ ^ ~~~~~~~~~~~~
    13 warnings generated.
    ```

commit 7c7cb54633305308ac2e443f4eb7325176889b48
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat Jul 1 14:54:41 2017 +0200

    ipvs plugin: minor cleanup
    
    - Remove some Yoda conditionals
    - Give some variables better names
    - Use C99 designated initializers in some places.

commit af1aab9b2a67e276743686509b6c34bdeddf4789
Merge: dc6d996 8641fcb
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat Jul 1 12:57:27 2017 +0200

    Merge pull request #2327 from rpv-tomsk/snmp-custom-port
    
    snmp plugin: Option `Address` documented in more details.

commit dc6d996fa3bfce1ecefa0f56891fd29ba009688b
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Jun 30 17:44:48 2017 +0200

    email plugin: fix Yoda conditionals

commit 65ca7b983d12caf81abb19d23bff069bbcca33c7
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Jun 30 16:53:12 2017 +0200

    Fix mismerge

commit c7e69e8e13056f062188162bb4468d33c713f897
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Jun 30 16:37:25 2017 +0200

    exec plugin: remove some Yoda conditionals

commit 5ff74d56067ac64db801df5184eb8b97f4b2b645
Merge: 5ba78ca e56c1e5
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Jun 30 16:20:16 2017 +0200

    Merge branch 'collectd-5.7'
    
    Conflicts:
    	src/openldap.c

commit e56c1e570ff8d4e8fe732f9d74f11217479fdd7b
Merge: 4418639 24bdf52
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Jun 30 16:17:06 2017 +0200

    Merge branch 'collectd-5.6' into collectd-5.7

commit 24bdf52decaf93359aab0364fb11420af5cd4a21
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Jun 30 16:15:25 2017 +0200

    email, exec and unixsock plugins: enlarge buffer for getgrnam_r result
    
    Thanks to Jeremie Courreges-Anglas and Daniel Jakots.

commit 71f65087f9d5f42f8944fa7ce416cb0e2f7f043e
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Jun 30 16:12:57 2017 +0200

    email, exec and unixsock plugins: fix error handling
    
    Diff from Jeremie Courreges-Anglas, via Daniel Jakots

commit ba6ad796636080e1daad1433802b90c07315b161
Merge: fd01cdd 3179c85
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Wed Jun 28 19:38:12 2017 +0200

    Merge pull request #2331 from mfournier/ldap_unbind-segfault
    
    openldap: check ld structure before passing it to ldap_unbind()

commit 3179c85911babea7e51902d5d72c6fe1812af4d0
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Wed Jun 28 13:46:59 2017 +0200

    openldap: check ld structure before passing it to ldap_unbind()
    
    This prevents collectd from segfaulting when the ldap session setup
    fails before opening a connection to openldap (syntax error in the URL
    option for example).

commit 8641fcb8cfe80e0498a9f230aee979791e4b0289
Author: Pavel Rochnyack <pavel2000 at ngs.ru>
Date:   Sun Jun 25 14:40:07 2017 +0700

    snmp: Option `Address` documented in more details.
    
    As described at http://net-snmp.sourceforge.net/dev/agent/structsnmp__session.html,
    it may include transport specifier and/or port number.
    Configuration examples are updated too.
    
    Closes: #2302

commit 5ba78cae2b937f5ce50113be3b6f9e96a26dc062
Merge: 1035fba 9622d8d
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Wed Jun 21 11:55:35 2017 +0200

    Merge pull request #2320 from maryamtahhan/feat_snmp_compilation_issue
    
    SNMP Agent: Fix compilation issue of snmp_agent plugin

commit 9622d8db99c660d430ae6c93997960f941c98f5f
Author: Mytnyk, VolodymyrX <volodymyrx.mytnyk at intel.com>
Date:   Tue Jun 20 11:14:41 2017 +0100

    SNMP Agent: Fix compilation issue on Net-SNMP v5.4.3
    
    The compilation of SNMP Agent fails on older version of
    Net-SNMP (5.4.3).
    
    Signed-off-by: Mytnyk, VolodymyrX <volodymyrx.mytnyk at intel.com>

commit b3955dc6a43b82df550e521738a4da7398ec97a5
Author: mcorbin <corbin.math at gmail.com>
Date:   Tue Jun 13 21:12:07 2017 +0200

    Add micro-seconds resolution in write_riemann
    
    riemann-c-client 1.10.0 and higher supports micro-seconds time
    resolution for Riemann events.

commit ebffc2b26af7c0235f0aef72de289c5696b7f63f
Author: Pshyk, SerhiyX <serhiyx.pshyk at intel.com>
Date:   Mon Jun 12 13:58:12 2017 +0100

    intel_pmu: address PR comments
    
    Change-Id: I172ad8535edda429cd58e0d6198aa19af76151eb
    Signed-off-by: Serhiy Pshyk <serhiyx.pshyk at intel.com>

commit 441863935479a66e46757477bc9af3f664a77c99
Author: Florian Forster <octo at collectd.org>
Date:   Tue Jun 6 20:11:05 2017 +0200

    Bump version to 5.7.2; Update ChangeLog.

commit 1035fba8812893e50d00a871e3399cc1ece3b384
Merge: 47c86ac 25ecb56
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Tue Jun 6 10:31:07 2017 +0200

    Merge branch 'collectd-5.7'
    
    Conflicts:
    	src/intel_rdt.c

commit 25ecb56638f243b36b1f274c67a5c40d7d23ee6a
Merge: edcf39c 6cc3518
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Tue Jun 6 10:28:19 2017 +0200

    Merge pull request #2310 from octo/ff/intel_rdt
    
    intel_rdt plugin: Remove unnecessary goto.

commit 6cc3518e81c3a5efa89be19930d4608272197733
Author: Florian Forster <octo at collectd.org>
Date:   Mon Jun 5 07:33:36 2017 +0200

    intel_rdt plugin: Remove unnecessary goto.

commit 47c86ace348a1d7a5352a83d10935209f89aa4f5
Merge: d893076 edcf39c
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Thu Jun 1 20:38:17 2017 +0200

    Merge branch 'collectd-5.7'

commit edcf39cc377d2de0744412209de4eeb50ca7ed5f
Merge: 5a011cf fd01cdd
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Thu Jun 1 20:37:49 2017 +0200

    Merge branch 'collectd-5.6' into collectd-5.7

commit fd01cdd0546ccbbda7f4cf5db2d0ae28e1e770cd
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Tue May 30 17:25:17 2017 +0200

    Bind plugin: plug a few leaks
    
    Fixes: #2303

commit d893076525db3d3ef3eb4c69ddbbf4789595bad5
Merge: 26868df ca1ed50
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Thu Jun 1 20:35:19 2017 +0200

    Merge pull request #2307 from saiarcot895/mongo-mem-leak
    
    Use bson_destroy instead of bson_free, and fix memleak issue.

commit ca1ed50e897ce756c837267772cf3f6d7ff6d2ad
Author: Saikrishna Arcot <saiarcot895 at gmail.com>
Date:   Wed May 31 07:49:25 2017 -0700

    Use bson_destroy instead of bson_free, and fix memleak issue.

commit 7ce65d4acd06129a77a26763fe9d543861775fd0
Author: Pshyk, SerhiyX <serhiyx.pshyk at intel.com>
Date:   Tue May 30 14:43:35 2017 +0100

    intel_pmu: configure.ac code style cleanup
    
    Change-Id: Ie69b921a253f418ac7b87248faa29d9d35c647a0
    Signed-off-by: Serhiy Pshyk <serhiyx.pshyk at intel.com>

commit 26868df30378f79e40e8838856edb07fbd7b38f3
Merge: 594059c a05589a
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Tue May 30 11:33:13 2017 +0200

    Merge pull request #2304 from archii/fix-ipmi-docs-typo
    
    Fix ipmi docs typo

commit 7853bfa986aee41b596174e7ecdc8fdeefc7d25a
Author: Pshyk, SerhiyX <serhiyx.pshyk at intel.com>
Date:   Fri May 26 15:51:54 2017 +0100

    intel_pmu: address PR comments
    
      - cleanup of configure.ac
      - add config option EventList to avoid dependency on environment variables
    
    Change-Id: I987095b6e71bcf05103e773793c0a40c815f729b
    Signed-off-by: Serhiy Pshyk <serhiyx.pshyk at intel.com>

commit a05589a42ad5bce31e134a598a3dfa4a8add1255
Merge: 594059c 68ea088
Author: archii <archii at users.noreply.github.com>
Date:   Tue May 30 10:56:56 2017 +1000

    Merge pull request #1 from archii/archii-fix-docs-typo-1
    
    fix typo in collectd.conf.pod

commit 68ea088dd23d8e0dae7f40f675bb93f42917a2b5
Author: archii <archii at users.noreply.github.com>
Date:   Tue May 30 10:54:47 2017 +1000

    fix typo in collectd.conf.pod

commit 594059cbdaab45866108181f02f4ec0062fcb55b
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat May 27 16:12:41 2017 +0200

    python plugin: stop disabling strict aliasing
    
    According to https://bugs.python.org/issue1718153, this has been fixed
    in python 2.6, the oldest version we support.

commit d2289be501bc79661ef5c047103ab732303997ed
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat May 27 15:53:46 2017 +0200

    configure.ac: slightly tweak dpdk check

commit 5acd2e6aa3c8eeaa855da7e8ff2e95565d00c582
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat May 27 15:46:24 2017 +0200

    configure.ac: keep libs sorted

commit be26f4ebf04dd774c665e6e0fbec4b705bc0b53f
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat May 27 15:27:54 2017 +0200

    configure.ac: detect compiler vendor
    
    I'll use this in followup patches to detect if the compiler supports
    various warning flags. For example, a long standing issue is that older
    version of the Sun studio compiler doesn't support -Werror.

commit cdebbb94ea37ea1325545dcb20e3405b478a7e2f
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat May 27 15:06:47 2017 +0200

    configure.ac: no need for body for preproc test

commit 39bc5376a7a29a1fab35e72aae3eb1a4676d80a6
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat May 27 15:05:45 2017 +0200

    configure.ac: use preprocessor to detect libpqos version
    
    No need to run the program.

commit 27b74c66c80c061efac9b22f059bdc27de064015
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat May 27 14:59:57 2017 +0200

    configure.ac: use preprocessor to detect dpdk version
    
    The test doesn't run any code, so no need to compile it.

commit ac295b96842daff60631573c806150487467fa4a
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat May 27 14:54:22 2017 +0200

    configure.ac: replace AS_IF with normal test
    
    AS_IF is slightly more portable, but slightly less readable.

commit 8337d6739405e50ffaa58e326b789a2825123f14
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat May 27 14:52:34 2017 +0200

    configure.ac: replace last few tabs with spaces

commit 9f77813bb720f68b6530f552fd1820cda7fa8465
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat May 27 14:51:11 2017 +0200

    configure.ac: fix libpqos detection style

commit c1ddaf55d030e0e214c1359c8f8dc6ecbf9bee30
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat May 27 14:30:33 2017 +0200

    snmp-agent: fix build on RHEL6
    
    libnetsnmpagent.so from net-snmp 5.5 needs some symbols from libnetsnmphelpers.so,
    but does not link against it on RHEL5.
    
    Work around this by looking for one of those symbols in the helper lib,
    and if found, link against it.
    
    Later versions of net-snmp seem to have moved those symbols to
    libnetsnmpagent.so, so it's not an issue there.

commit 5656ad0619d99be0eab5dd642f2e6d384c2d0ac0
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat May 27 13:46:07 2017 +0200

    configure.ac: remove unneeded include
    
    All files in AC_CONFIG_MACRO_DIR are included by default.

commit 6466fcb423f2a7f4af2a4558b9871488c5628671
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat May 27 13:37:06 2017 +0200

    configure.ac: improve libnetsnmpagent detection
    
    Turn it into a separate check, which also makes it possible to disable
    it.
    
    snmp_agent and snmp are separate plugins, and on at least Fedora are
    packaged separately.
    
    A beneficial side effect is that this reduces overlinking of snmp.so
    with libnetsnmpagent.so

commit 3e622ac2c92f665e235b64a56ff8567465640a04
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat May 27 12:30:35 2017 +0200

    snmp-agent: check for the right header
    
    We never include net-snmp/agent/agent_module_config.h

commit bd191644bfff20e6fec5473829bfb2edf308fcc1
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat May 27 12:24:40 2017 +0200

    configure.ac: fix style for snmpagent plugin

commit bf733a75b862167fc17a4ad4edc7d5a6b7681ee7
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat May 27 12:07:30 2017 +0200

    configure.ac: fix overquoting

commit 7a8d53720c82e6391508bd1c4200339cc6a1d5d8
Author: Pshyk, SerhiyX <serhiyx.pshyk at intel.com>
Date:   Tue May 23 12:57:42 2017 +0100

    intel_pmu: address PR comments
    
    Change-Id: I6ec3cb1602b96e76b75339a79e7768b39b2c323a
    Signed-off-by: Serhiy Pshyk <serhiyx.pshyk at intel.com>

commit 21cf33c999276b95866b842e7910ac6b673cbb35
Author: Pavel Rochnyack <pavel2000 at ngs.ru>
Date:   Fri May 26 12:46:09 2017 +0600

    apcups: Fix reconnect implementation
    
    Implementation was broken, it doesn't reconnects as planned.

commit 58ef5973f118ceff1e09d59414c438242091adab
Author: Iain Buclaw <iain.buclaw at sociomantic.com>
Date:   Fri May 19 12:55:37 2017 +0200

    format_graphite: Error if call to uc_get_rate fails to return a value.
    
    This prevents a wrong value being sent to graphite for DERIVE types.
    
    See #2209
    
    Signed-off-by: Florian Forster <octo at collectd.org>

commit 5a011cfd81d5ef3876d4ecb43b6bbffd151f1b03
Author: Florian Forster <octo at collectd.org>
Date:   Fri May 19 08:39:45 2017 +0200

    src/daemon/utils_cache.c: Add debug message for lookup of missing metrics.
    
    Issue: #1234

commit 7173100796caa3ce86d373245767e3d185d09817
Author: Florian Forster <octo at collectd.org>
Date:   Fri May 19 08:34:37 2017 +0200

    src/daemon/utils_cache.c: Remove unnecessary cast.
    
    (data_set_t).ds_num has been changed to be a size_t.

commit 1f5216c763ac43c8525d2f869b5d8c6e2ec7d55f
Author: Florian Forster <octo at collectd.org>
Date:   Thu May 18 09:23:32 2017 +0200

    src/daemon/utils_cache.c: Read time *after* acquiring the lock.
    
    Fixes: #1193

commit 5717cb3228bc28e73b685ca8c6ac5e21ca74027a
Author: Florian Forster <octo at collectd.org>
Date:   Wed May 17 08:01:29 2017 +0200

    amqp plugin: Enable the "ExchangeType" for publishers, too.
    
    Fixes: #2286

commit b1931a05b8ebc980cc53603931d26ecc2a6f7edd
Author: Pshyk, SerhiyX <serhiyx.pshyk at intel.com>
Date:   Fri May 12 12:39:16 2017 +0100

    intel_pmu: formatting by clang-format
    
    Signed-off-by: Serhiy Pshyk <serhiyx.pshyk at intel.com>

commit 08e419e462e8373538a7aef768bae0b2478e0e89
Author: Pshyk, SerhiyX <serhiyx.pshyk at intel.com>
Date:   Wed May 10 13:29:05 2017 +0100

    intel_pmu: Implement performance monitoring plugin
    
    The intel_pmu plugin collects information about system performance
    counters using kernel Linux perf interface.
    
    Signed-off-by: Serhiy Pshyk <serhiyx.pshyk at intel.com>




More information about the collectd-changes mailing list