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

Florian Forster octo at verplant.org
Mon Aug 15 20:09:41 CEST 2016


 .github/issue_template.md                          |   16 +
 AUTHORS                                            |    3 +
 CONTRIBUTING.md                                    |   95 ++--
 README                                             |   21 +-
 .../org/collectd/java/GenericJMXConfValue.java     |    5 +-
 configure.ac                                       |  178 ++++--
 contrib/redhat/collectd.spec                       |   34 +-
 proto/collectd.proto                               |   33 +-
 proto/types.proto                                  |   33 +-
 src/Makefile.am                                    |   22 +-
 src/aggregation.c                                  |    1 -
 src/apache.c                                       |    1 -
 src/apcups.c                                       |    1 -
 src/ascent.c                                       |    1 -
 src/barometer.c                                    |    1 +
 src/bind.c                                         |    1 -
 src/ceph.c                                         |   28 +-
 src/cgroups.c                                      |    1 -
 src/collectd-lua.pod                               |  163 ++++++
 src/collectd.conf.in                               |   20 +-
 src/collectd.conf.pod                              |   54 +-
 src/collectdctl.c                                  |    8 +
 src/collectdmon.c                                  |    8 +
 src/cpu.c                                          |   27 +-
 src/curl.c                                         |    1 -
 src/curl_json.c                                    |   10 +-
 src/curl_xml.c                                     |   11 +-
 src/daemon/common.c                                |    4 +-
 src/daemon/configfile.h                            |    1 -
 src/daemon/plugin.h                                |    1 -
 src/daemon/utils_complain.c                        |    1 +
 src/daemon/utils_match.c                           |    2 +-
 src/dbi.c                                          |    8 +-
 src/df.c                                           |    1 -
 src/dns.c                                          |    1 -
 src/email.c                                        |    2 -
 src/ethstat.c                                      |    1 -
 src/fhcount.c                                      |    1 -
 src/gmond.c                                        |    1 -
 src/gps.c                                          |    1 -
 src/grpc.cc                                        |  439 ++++++++-------
 src/hddtemp.c                                      |    1 -
 src/interface.c                                    |    1 -
 src/ipc.c                                          |    1 -
 src/iptables.c                                     |    1 -
 src/irq.c                                          |    1 -
 src/java.c                                         |   35 +-
 src/libcollectdclient/client.c                     |    1 +
 src/liboconfig/oconfig.c                           |    2 +-
 src/liboconfig/oconfig.h                           |    1 -
 src/liboconfig/scanner.l                           |    9 +
 src/lua.c                                          |  593 ++++++++++++++++++++
 src/madwifi.c                                      |    1 -
 src/mbmon.c                                        |    1 -
 src/md.c                                           |    4 +
 src/memcachec.c                                    |    1 -
 src/memcached.c                                    |   10 +-
 src/modbus.c                                       |    1 -
 src/mqtt.c                                         |    5 +-
 src/mysql.c                                        |   10 +-
 src/netapp.c                                       |    7 +-
 src/network.c                                      |    1 -
 src/nginx.c                                        |    1 -
 src/notify_desktop.c                               |    1 -
 src/notify_nagios.c                                |    1 -
 src/ntpd.c                                         |    1 -
 src/openldap.c                                     |   10 +-
 src/oracle.c                                       |    1 -
 src/perl.c                                         |    2 -
 src/pinba.c                                        |    1 -
 src/ping.c                                         |    1 -
 src/postgresql.c                                   |   11 +-
 src/powerdns.c                                     |    1 -
 src/processes.c                                    |    7 +-
 src/python.c                                       |   19 +-
 src/redis.c                                        |    1 -
 src/sensors.c                                      |    1 -
 src/snmp.c                                         |    9 +-
 src/statsd.c                                       |    1 -
 src/table.c                                        |    1 -
 src/tail.c                                         |    7 +-
 src/tail_csv.c                                     |   11 +-
 src/ted.c                                          |    1 -
 src/thermal.c                                      |    1 -
 src/unixsock.c                                     |    1 -
 src/utils_curl_stats.h                             |    1 -
 src/utils_db_query.c                               |    5 +-
 src/utils_db_query.h                               |    2 -
 src/utils_dns.c                                    |    2 +-
 src/utils_format_json_test.c                       |   10 +
 src/utils_lua.c                                    |  322 +++++++++++
 src/utils_lua.h                                    |   56 ++
 src/uuid.c                                         |    1 -
 src/varnish.c                                      |    8 +-
 src/virt.c                                         |    1 -
 src/write_graphite.c                               |   15 +-
 src/write_http.c                                   |   12 +-
 src/write_kafka.c                                  |    8 +-
 src/write_log.c                                    |    3 +-
 src/write_mongodb.c                                |    8 +-
 src/write_redis.c                                  |    8 +-
 src/write_riemann.c                                |   15 +-
 src/write_sensu.c                                  |    9 +-
 src/write_tsdb.c                                   |    9 +-
 src/zone.c                                         |    2 +-
 105 files changed, 1978 insertions(+), 538 deletions(-)

New commits:
commit 88ad924df0622911c555cea6826933732e91d9cd
Merge: e2ff4dd 5f23aa2
Author: Florian Forster <octo at collectd.org>
Date:   Mon Aug 15 19:57:30 2016 +0200

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

commit e2ff4dd149e85527eba7a38a8f38aeb3b548f39c
Merge: 6fc6255 bbe3fb2
Author: Florian Forster <octo at collectd.org>
Date:   Mon Aug 15 19:55:49 2016 +0200

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

commit bbe3fb28b2f848e20c88ceca8ccd73544aadfc75
Author: Florian Forster <octo at collectd.org>
Date:   Mon Aug 15 19:54:08 2016 +0200

    CONTRIBUTING.md: Address review comments.

commit 26688f84aa84e3b2120ed84176d05a17f214acb2
Author: Florian Forster <octo at collectd.org>
Date:   Mon Aug 15 19:51:35 2016 +0200

    README: Point to CONTRIBUTING.md for bugs and PRs.

commit d4096e08fc2fde12f95f5fbe2dff98d7e5a0cfe7
Author: Florian Forster <octo at collectd.org>
Date:   Mon Aug 15 19:47:37 2016 +0200

    CONTRIBUTING.md: Address review comments.

commit 6fc6255c95b966014ee02a2a37666b2c4880ff8d
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Mon Aug 15 15:55:22 2016 +0200

    configure.ac: rewrite liblua detection
    
    Not all distro's have a lua.pc file.
    
    This looks for the most common ones, newest versions first.

commit 5f23aa26e0fdfa814f163e7ac69e3963df630898
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Thu Aug 11 19:38:17 2016 +0200

    support older versions of riemann-c-client
    
    riemann_client_set_timeout() was added in 1.8.0, but this
    version hasn't landed in all distro's yet.
    
    Fixes #986

commit bcf9f86d70fee01592ed6cf8cf738e86e3b8e173
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Mon Aug 15 09:52:31 2016 +0200

    scanner.l: remove GCC pragma
    
    GCC on RHEL5 doesn't recognize it and warns about it
    
    scanner.l:36: warning: ignoring #pragma GCC diagnostic
    make[4]: *** [scanner.lo] Error 1
      CC       parser.lo

commit 5644579af9757f8e68407c2353f6f6ade31be494
Author: Florian Forster <octo at collectd.org>
Date:   Mon Aug 15 08:16:51 2016 +0200

    CONTRIBUTING.md: Add operating system / distribution.

commit f77a55966249c8c185b5e3b11000dccacfd91beb
Author: Florian Forster <octo at collectd.org>
Date:   Mon Aug 15 08:16:29 2016 +0200

    Add a GitHub issue template.

commit a82b047a8dc968cd962948a6dbac0368cdbf2210
Author: Florian Forster <octo at collectd.org>
Date:   Mon Aug 15 07:41:24 2016 +0200

    GenericJMX plugin: Suppress "unchecked conversion" warning.
    
    The internet tells me there is no elegant way around this.

commit 60d7a46414918dc89b4951597b602c1349832238
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 14 22:53:21 2016 +0200

    scanner.l: really fix pragma

commit 62dc64b7d80d96c4dc563348691a1f60e4f77b58
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 14 22:25:53 2016 +0200

    Fix build with older GCCs
    
    They warn for unknown pragmas

commit d061c270fabc5dba961cf2b94ebe968e9a89b899
Merge: 9f0083d 974c66f
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 14 21:41:00 2016 +0200

    Merge pull request #1874 from rubenk/utils-dns-fix-compiler-warning
    
    utils_dns.c: fix compiler warning

commit 9f0083d83892fc93f71b74ab1344e8bfa44f0259
Author: Florian Forster <octo at collectd.org>
Date:   Sun Aug 14 21:36:27 2016 +0200

    ceph plugin: Rewrite the BUFFER_ADD() macro.
    
    I'm hoping that this fixes a potential integer underrun that may occur
    when unconditionally subtracting strlen(dest) from sizeof(dest).
    
    Issue: #1835

commit 29a10f64032714e560e59aca9b29905888f4399a
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 14 21:32:00 2016 +0200

    liboconfig: silence warnings in generated code
    
    Lex generates these, nothing we can do about them

commit 4d1136a79358170b5881417409f2750964b2ba91
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 14 21:10:49 2016 +0200

    processes plugin: fix 3 compiler warnings on OS X
    
    processes.c:1569:26: warning: comparison of integers of different signs: 'int' and 'mach_msg_type_number_t' (aka 'unsigned int') [-Wsign-compare]
            for (int pset = 0; pset < pset_list_len; pset++)
                               ~~~~ ^ ~~~~~~~~~~~~~
    processes.c:1590:27: warning: comparison of integers of different signs: 'int' and 'mach_msg_type_number_t' (aka 'unsigned int') [-Wsign-compare]
                    for (int task = 0; task < task_list_len; task++)
                                       ~~~~ ^ ~~~~~~~~~~~~~
    processes.c:1688:32: warning: comparison of integers of different signs: 'int' and 'mach_msg_type_number_t' (aka 'unsigned int') [-Wsign-compare]
                            for (int thread = 0; thread < thread_list_len; thread++)
                                                 ~~~~~~ ^ ~~~~~~~~~~~~~~~

commit 6120d0461a933cdbb8a6e495c6b6e8750c8aaf05
Merge: 517b79d 03c308c
Author: Florian Forster <octo at collectd.org>
Date:   Sun Aug 14 21:03:23 2016 +0200

    Merge remote-tracking branch 'github/master'

commit 517b79d297b496077bd1e0e14d02250998f2df33
Author: Florian Forster <octo at collectd.org>
Date:   Sun Aug 14 21:02:31 2016 +0200

    ceph plugin: Change g_num_daemons to size_t.
    
    The variable is used as size for variable length arrays (VLAs), which
    cannot have negative size.
    
    Issue: #1835

commit 03c308c99caa9e5d088487fcda27cc756ffd6b1c
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 14 20:53:33 2016 +0200

    cpu plugin: fix compiler warning on OS X
    
    cpu.c:593:24: warning: comparison of integers of different signs: 'int' and 'mach_msg_type_number_t' (aka 'unsigned int') [-Wsign-compare]
            for (int cpu = 0; cpu < cpu_list_len; cpu++)
                              ~~~ ^ ~~~~~~~~~~~~

commit 2e80174b4aa0b983c193453b1062677a0d28188c
Author: Florian Forster <octo at collectd.org>
Date:   Sun Aug 14 20:47:15 2016 +0200

    write_http plugin: Sanity check arguments to wh_write_command().
    
    Issue: #1835

commit ff9e06842df42576585884cd892156db377afd80
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 14 20:28:43 2016 +0200

    annotate vfprintf-like 'vcomplain' function
    
    utils_complain.c:56:40: warning: format string is not a string literal
    [-Wformat-nonliteral]
            vsnprintf (message, sizeof (message), format, ap);
                                                  ^~~~~~

commit f43d1b843bc886fa4180d505a216a3f5c64b2d41
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 14 20:18:47 2016 +0200

    libcollectdclient: annotate vprintf-like function
    
    client.c:126:21: warning: format string is not a string literal [-Wformat-nonliteral]
      status = vprintf (format, ap);
                        ^~~~~~

commit 1a9ccb9ef0d79a9f744daf9941447f944651bd60
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 14 19:51:34 2016 +0200

    Python plugin: fix compiler warning
    
    python.c:397:25: warning: comparison of integers of different signs:
    'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
                            for (size_t i = 0; i < num; ++i) {
                                               ~ ^ ~~~

commit e35c68e1999cab48e8b912f7e90b535d1afe9353
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 14 19:32:37 2016 +0200

    Lua plugin: fix old style definition
    
    lua.c: In function ‘module_register’:
    lua.c:588:6: warning: old-style function definition
    [-Wold-style-definition]
     void module_register() {
          ^~~~~~~~~~~~~~~

commit 88001af68cb86d0d95fa143b031359b10eddbe1f
Merge: 3c496e1 f39b0af
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 14 17:14:25 2016 +0200

    Merge pull request #1885 from rubenk/lua-plugin
    
    Add a Lua plugin for Collectd

commit 3c496e17a8a471a735b330c4ab1d7ab9bbeb06da
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 14 15:55:17 2016 +0200

    README: bump Python requirement to 2.6

commit f39b0af15b0827453bba70aeffc1c6ccc0f49458
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 14 15:54:24 2016 +0200

    Lua plugin: add to rpm specfile

commit 17bdbfc85c052dcf69675df5a70111d6a7098c9a
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 14 15:48:55 2016 +0200

    Lua plugin: add to README

commit 368f4ecd555efbef0cdd61a18f9b3ca5115f74c2
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 14 15:10:04 2016 +0200

    Lua plugin: make function array const

commit e61b8a91ed7c21e01ff40006837d319eaeef24ab
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 14 15:08:40 2016 +0200

    Lua plugin: Terminate array with sentinel
    
    From the API docs:
    Any array of luaL_Reg must end with a sentinel entry in which both name
    and func are NULL.

commit 2001c7291acc74680e008a32de7da0cf35ff981c
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 14 14:43:07 2016 +0200

    collectd-lua(5) fix syntax error in pod

commit 2c7f098e5bef3421f8e2405f6192bff9b563040e
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 14 14:14:40 2016 +0200

    Lua plugin: add section to collectd.conf(5)

commit a70fc1cb6b71b85409c4d8f7e787d95752e3a892
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 14 13:58:14 2016 +0200

    Lua plugin: s/Collectd/collectd/g in manpage

commit bc58fd44c97a23d024f44a3d0c56d015ac02cd61
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 14 13:56:16 2016 +0200

    Lua plugin: fix build with Lua 5.1

commit ba420266281dac4ee5c1db44299db9594fb5b15a
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 14 13:42:41 2016 +0200

    Lua plugin: add a manpage

commit c6d13fbae8ca35535bcd9ae857985c78051db872
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 14 12:07:59 2016 +0200

    Lua plugin: turn the collectd functions into a lib
    
    Now the module shows up in 'package.loaded':
    
    for name, func in pairs(package.loaded['collectd']) do
        print(name, func)
    end
    
    returns:
    dispatch_values	function: 0x7f38b8a472c0
    log_debug	function: 0x7f38b8a47130
    register_write	function: 0x7f38b8a47520
    log_info	function: 0x7f38b8a470d0
    register_read	function: 0x7f38b8a47360
    log_warning	function: 0x7f38b8a47070
    log_error	function: 0x7f38b8a47100
    log_notice	function: 0x7f38b8a470a0

commit f6c4f3e43d5a8a49de8f6a5d9ee8ae362fc7f0b1
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 14 11:59:03 2016 +0200

    Lua plugin: use existing type for functions array

commit f91dc17b98157dfd785759cf71e009a0e9c1a520
Merge: 4a40bad d873fe7
Author: Florian Forster <octo at collectd.org>
Date:   Sun Aug 14 09:33:32 2016 +0200

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

commit 4a40badfaaa7f3b07e1d9654527ab9780c898819
Merge: a544ef8 e3dcabb
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat Aug 13 19:21:21 2016 +0200

    Merge pull request #1887 from rubenk/make-xfs-optional
    
    Add an option to disable building with XFS support

commit a544ef87d9c354d1c75149ddd05804e9172806b3
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat Aug 13 18:51:55 2016 +0200

    liboconfig: make function static

commit 87aa41672378e800a3d39d4af6cc52a601c283c9
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat Aug 13 18:45:10 2016 +0200

    configfile.h: remove unused declaration

commit 03f391011a09b28e3fd8de2bbcf33ec116298e1e
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat Aug 13 17:36:48 2016 +0200

    Stop using net-snmp-config to detect libnetsmp
    
    net-snmp-config returns the settings used to compile and link
    libnetsnmp, not the settings needed to compile and link code against it.
    
    This resulted in various issues, namely overlinking, failure to compile
    without compiler optimisations, and overriding of our compiler flags.
    
    One example is the following, just noticed on RHEL5:
    
    cc1: warnings being treated as errors
    snmp.c: In function 'csnmp_config_add_host':
    snmp.c:767: warning: ISO C90 forbids mixed declarations and code
    make[3]: *** [snmp_la-snmp.lo] Error 1
    
    We do compile in C99 mode, but net-snmp-config adds
    -Wdeclaration-after-statement to our build command line. The GCC on
    RHEL5 returns a warning, while later GCCs just ignore this.

commit 5fabf398618be4e98da6f5abddb1aead86afbeb0
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat Aug 13 16:34:37 2016 +0200

    collectdmon: define PREFIX and LOCALSTATEDIR
    
    Not an issue in practice, but this helps when running the code through
    lint.

commit 4d9064345698dd684723a5f6be05c82bd43e1806
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat Aug 13 16:27:47 2016 +0200

    collectdctl: prefix may be undefined as well
    
    This won't happen in practice since ./configure sets it, but it isn't
    set when running the code through lint.

commit cef307628cf2e6d4e686710e811bb9e2bd96d020
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat Aug 13 16:25:06 2016 +0200

    ceph plugin: just continue

commit ba5f330ca1bacd10125433323a30151ad4a7d305
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat Aug 13 16:21:32 2016 +0200

    barometer plugin: add missing include

commit 44abd37ccfb63f8eb57112ddf3e37ece3aae3e65
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat Aug 13 16:21:01 2016 +0200

    collectctl: define LOCALSTATEDIR if not defined

commit 532fb65ed0deb60cb50e7a424fe200f66cdce83a
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat Aug 13 15:58:04 2016 +0200

    write_log plugin: mark unused attribute as unused

commit 361f0013d5a20fa0b229376ddc3804c6e00058c5
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat Aug 13 15:55:39 2016 +0200

    treewide: use designated initializers for user_data

commit c3cc7a2e9cfa5152ed80066255f11f1371288353
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat Aug 13 15:23:27 2016 +0200

    openldap plugin: replace comma with semicolon
    
    This incidentally worked, but it is not a good idea.

commit 336c20760f0fcdf709bdd988b951640baed19a47
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat Aug 13 14:37:15 2016 +0200

    Lua plugin: wrap debug code in COLLECT_DEBUG
    
    No use formatting the string if we're not going to use it.

commit e3dcabb7fdb50d797864a442c5f28c47ebae3600
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat Aug 13 13:23:34 2016 +0200

    Add an option to disable building with XFS support
    
    Right now, if you have the xfs development headers installed,
    they will be picked up. Add an option to disable this behaviour.
    
    Fixes #1878

commit a39876dea1151fd4d3029b3fba68d68bd2588efd
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat Aug 13 11:39:29 2016 +0200

    zone plugin: fix typo in error message

commit 8c897ffc1421b94290057b9e66a869998eb27cbc
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat Aug 13 11:28:36 2016 +0200

    collectd.conf(5): add Host option for curl_json

commit 20f17fde07f125cf84c2019177fc52c5cf608d85
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat Aug 13 11:13:13 2016 +0200

    configure.ac: check for ExtUtils::MakeMaker
    
    The perl bindings need this module so perl can generate Makefile.pl.
    
    Fixes #1886

commit 023092323ca617c8ff95b1efd4a055c29b1aaa3b
Author: Julien Ammous <j.ammous at gmail.com>
Date:   Fri Aug 12 22:10:59 2016 +0200

    Add a Lua plugin for Collectd

commit 3447f33dee731225f1951e9ede81a55677242ef2
Author: Florian Forster <octo at collectd.org>
Date:   Fri Aug 12 17:16:19 2016 +0200

    CONTRIBUTING.md: Give more concrete advice on writing bugs and PRs.

commit d873fe7b9b04d3f6257db5145bd1f778453850fc
Author: Florian Forster <octo at collectd.org>
Date:   Fri Aug 12 15:32:48 2016 +0200

    grpc plugin: Unify SSL config options.
    
    These option names have been copied from the Apache webserver.

commit a686d631974bb63e9b9d9500365673240b24fb3e
Author: Florian Forster <octo at collectd.org>
Date:   Fri Aug 12 15:22:49 2016 +0200

    grpc plugin: Implement the <Server "host" "port"> option.
    
    This allows the gRPC plugin to send metrics, via gRPC, to another
    collectd instance or other implementation of the "Collectd" gRPC
    service.

commit 6743e8a4e1bd0b627fee3a3e51226c07c3facbcb
Merge: f7e7130 e88b0da
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Aug 12 13:15:28 2016 +0200

    Merge pull request #900 from ccin2p3/faxmodem/cpu-numcpu
    
    implement reporting of ncpu

commit e88b0dada2154b98194fd0ee2d35e30babdda703
Author: Fᴀʙɪᴇɴ Wᴇʀɴʟɪ <faxmodem at collectd.org>
Date:   Fri Aug 12 13:04:00 2016 +0200

    address @octo and @rubenk's comments
    
    Change-Id: I5661a555d95227e63b3c873a0fd0b2360a040342

commit f7e7130af45d2320d5bf1a4c7cf6f553f213f1fc
Merge: d782a87 3b264ee
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Aug 12 11:22:37 2016 +0200

    Merge pull request #1873 from rubenk/fix-duplicate-label_t
    
    Work around Solaris 10 defining label_t

commit d782a871aca61ac966ee8d928930719bd0c05023
Merge: f0d4688 7dcf9ab
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Aug 12 10:58:59 2016 +0200

    Merge pull request #1875 from rubenk/remove-configfile-h-from-plugins
    
    Remove configfile.h from plugins

commit f0d468892e1c173b226f739be48291981473b4fb
Merge: ec9ed6f d89ee2e
Author: Sebastian Harl <sh at tokkee.org>
Date:   Thu Aug 11 22:51:50 2016 +0200

    Merge pull request #1876 from octo/issue/1819
    
    grpc plugin: Refactor plugin.

commit ec9ed6fe4108f7fd3d4ef84e887bb6d3dc022e14
Merge: b7ebbd5 9d3906a
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Thu Aug 11 18:40:40 2016 +0200

    Merge branch 'collectd-5.5'

commit 9d3906a53e086d520b5ed71ca57118e8f589574b
Merge: a7b0cde 8d0b725
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Thu Aug 11 17:45:48 2016 +0200

    Merge branch 'collectd-5.4' into collectd-5.5

commit 8d0b7258dd4e4e850183ec8c73c67e4dc86464a8
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Thu Aug 11 17:44:42 2016 +0200

    md: fix deprecation warning with latest glibc
    
    md.c: In function ‘md_process’:
    md.c:120:3: warning: ‘__makedev_from_sys_types’ is deprecated:
      In the GNU C Library, `makedev' is defined by <sys/sysmacros.h>.
      For historical compatibility, it is currently defined by
      <sys/types.h> as well, but we plan to remove this soon.
      To use `makedev', include <sys/sysmacros.h> directly.
      If you did not intend to use a system-defined macro `makedev',
      you should #undef it after including <sys/types.h>.
      [-Wdeprecated-declarations]
       if (st.st_rdev != makedev (MD_MAJOR, minor))
       ^~
    In file included from /usr/include/features.h:397:0,
                     from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/stdio.h:28,
                     from ./daemon/collectd.h:34,
                     from md.c:22:

commit b7ebbd511e7fb9faf40a50904d6634824f5d8e52
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Thu Aug 11 17:14:54 2016 +0200

    common.c: fix calloc arguments order

commit f31a12e006a694dca717c951b466fb3e3970aa43
Author: Fabien Wernli <faxmodem at collectd.org>
Date:   Tue Jan 20 15:21:06 2015 +0100

    implement reporting of ncpu
    
    Change-Id: Ia305b74139352f16f71b1f747875d6c7a0c376a4

commit a7b0cdea4f6a0f8d29ade21ae058182f720dd432
Author: David Gibson <david at gibson.dropbear.id.au>
Date:   Wed Aug 10 20:07:14 2016 +1000

    Fix conceptual buglet in default_callback
    
    The 'DERIVE' path in default_callback() increments the 'counter' field of
    value instead of the 'derive' field.  Since those fields have the same
    type and offset within the value union this will still work fine, but
    AFAICT it's conceptually incorrect.  This corrects it.
    
    Signed-off-by: David Gibson <david at gibson.dropbear.id.au>
    Signed-off-by: Florian Forster <octo at collectd.org>

commit d89ee2e3fb86b7fdd293bff48a31c68aeadd6670
Author: Florian Forster <octo at collectd.org>
Date:   Thu Aug 11 08:34:31 2016 +0200

    proto/collectd.proto: Improve documentation.
    
    DispatchValues' documentation is now written from the POV of the server,
    not the caller as it was previously worded.

commit c3ec9f3af65e1ace4e9a9995734599f4501ed854
Author: Florian Forster <octo at collectd.org>
Date:   Thu Aug 11 07:53:10 2016 +0200

    grpc plugin: Rename "err" to "status".

commit ceb89aec8be5d0632275f65cdaccf05bcb26fc56
Author: Florian Forster <octo at collectd.org>
Date:   Wed Aug 10 14:46:24 2016 +0200

    proto/*.proto: Reformat using clang-format.

commit 57cea0b217d7ee6e8d8f146d6c018421559503c3
Author: Florian Forster <octo at collectd.org>
Date:   Wed Aug 10 14:42:59 2016 +0200

    grpc plugin: Move all functions to a single service again.

commit 9f0f5947890c7899b7c9f1059989b97a2f2d37f0
Author: Florian Forster <octo at collectd.org>
Date:   Tue Aug 2 14:15:45 2016 +0200

    grpc plugin: Switch to the synchronous interface.

commit 1ec627f8bbc728b069946b6717461acc411b3338
Author: Florian Forster <octo at collectd.org>
Date:   Fri Jul 29 11:24:42 2016 +0200

    proto/*.proto: Add the go_package option.

commit ac69a17e48a7c8c6e499de74031d6d78ec586d23
Author: Florian Forster <octo at collectd.org>
Date:   Tue Aug 2 08:14:24 2016 +0200

    grpc plugin: Turn QueryValues into a server-side streaming RPC.

commit 7dcf9ab7675fe91d1bd74998f55031bc3b0480c0
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Wed Aug 10 10:26:45 2016 +0200

    Remove configfile.h from plugins
    
    It is already included by collectd.h

commit 974c66f629c0a6eb8691fe280a28cf0b78b9b574
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Tue Aug 9 14:23:06 2016 +0200

    utils_dns.c: fix compiler warning
    
    utils_dns.c: In function ‘handle_ip’:
    utils_dns.c:531:29: warning: pointer of type ‘void *’ used in arithmetic
    [-Wpointer-arith]
         memcpy(buf, (void *) ip + offset, len - offset);
                                 ^

commit 3b264eeaf7f33d38f04d37b0d1181a9ed888e1f9
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Tue Aug 9 12:57:21 2016 +0200

    Work around Solaris 10 defining label_t
    
    Solaris 10 defines label_t in /usr/include/sys/machtypes.h,
    unless POSIX_C_SOURCE is defined, or when __EXTENSIONS__ is defined.
    
    Fixes #1301

commit e5ec04602ccc08aa45d8a9e60d9bcb476d3f9655
Author: Florian Forster <octo at collectd.org>
Date:   Sat Aug 6 21:21:56 2016 +0200

    src/utils_db_query.c: Correctly handle return value of strjoin().
    
    It returns the number of bytes, not zero, on success. This fixes a
    bug introduced in 496ca2b758344bc6372ab0adf98ad8050f69b25a.

commit 610204218564e01513607a0f077c33145f2b41f7
Author: Florian Forster <octo at collectd.org>
Date:   Mon Aug 1 16:29:00 2016 +0200

    grpc plugin: Rename "Reply" messages to "Response".
    
    This appears to be the common nomenclature for gRPC.

commit d26dd5c1db5c3310c9e69b2b910c6547469c99ce
Author: Florian Forster <octo at collectd.org>
Date:   Fri Jul 29 16:54:58 2016 +0200

    grpc plugin: Create a "Dispatch" service and use streaming RPCs.
    
    This patch, unfortunately, does two things:
    * It breaks out the DispatchValues() call into a separate service. The
      intention of this is to make it easier to implement only part of the
      API, namely to not implement querying of values, which may not be
      useful for stateless proxies.
    * It turns the DispatchValues() call into a (client side) streaming RPC.
      That means that a client can send many ValueLists to the server in one
      streaming request, rather than many self-contained requests.
    
    This code is heavily influenced by test code of the "protobuf-qml"
    project, which is MIT licensed.

commit 00b1f1de1f40059a26d75964408be3a13738c3d8
Author: Florian Forster <octo at collectd.org>
Date:   Fri Jul 29 11:35:32 2016 +0200

    grpc plugin: Add the "ds_names" field to the ValueList message.

commit 6754150119aaced4f7d39c2641c61d47aa84a436
Author: Florian Forster <octo at collectd.org>
Date:   Fri Jul 29 11:27:08 2016 +0200

    grpc plugin: Unify field names.
    
    Fields holding a ValueList are now called "value_list", fields holding
    a Value are now called "value". Repeated fields use the plural form.




More information about the collectd-changes mailing list