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

Florian Forster octo at verplant.org
Mon May 14 15:52:23 CEST 2018


 src/aggregation.c                      |   49 +++++++-------
 src/amqp.c                             |   38 +++++------
 src/apache.c                           |    7 +-
 src/apcups.c                           |   20 +++---
 src/aquaero.c                          |    2 +-
 src/ascent.c                           |   26 ++++----
 src/barometer.c                        |   28 ++++----
 src/battery.c                          |   20 +++---
 src/bind.c                             |   36 +++++-----
 src/ceph.c                             |   22 +++---
 src/ceph_test.c                        |    8 +--
 src/cgroups.c                          |    6 +-
 src/collectd-nagios.c                  |   15 +++--
 src/collectd-tg.c                      |   12 ++--
 src/collectdmon.c                      |   12 ++--
 src/conntrack.c                        |    2 +-
 src/cpu.c                              |   38 +++++------
 src/cpufreq.c                          |    2 +-
 src/csv.c                              |    6 +-
 src/curl.c                             |   23 +++----
 src/curl_json.c                        |   12 ++--
 src/curl_json_test.c                   |    2 +-
 src/curl_xml.c                         |    6 +-
 src/daemon/collectd.c                  |   25 ++++---
 src/daemon/collectd.h                  |    1 +
 src/daemon/common.c                    |    2 +-
 src/daemon/common.h                    |    2 +-
 src/daemon/configfile.c                |   23 +++----
 src/daemon/configfile.h                |    4 +-
 src/daemon/filter_chain.c              |    2 +-
 src/daemon/meta_data.c                 |    6 +-
 src/daemon/meta_data.h                 |    4 +-
 src/daemon/meta_data_test.c            |    5 +-
 src/daemon/plugin.c                    |   74 ++++++++++-----------
 src/daemon/plugin.h                    |   10 +--
 src/daemon/plugin_mock.c               |    2 +-
 src/daemon/utils_avltree_test.c        |    5 +-
 src/daemon/utils_cache.c               |    6 +-
 src/daemon/utils_cache.h               |    7 +-
 src/daemon/utils_complain.c            |    6 +-
 src/daemon/utils_complain.h            |    4 +-
 src/daemon/utils_random.c              |    4 +-
 src/daemon/utils_time.c                |    6 +-
 src/dbi.c                              |   16 ++---
 src/df.c                               |   28 ++++----
 src/disk.c                             |   22 +++---
 src/dns.c                              |    4 +-
 src/dpdkevents.c                       |   16 ++---
 src/email.c                            |    8 +--
 src/ethstat.c                          |    8 +--
 src/exec.c                             |    2 +-
 src/fhcount.c                          |   12 ++--
 src/filecount.c                        |    4 +-
 src/gmond.c                            |   20 +++---
 src/grpc.cc                            |    2 +-
 src/hddtemp.c                          |    2 +-
 src/hugepages.c                        |   22 +++---
 src/intel_pmu.c                        |    6 +-
 src/intel_rdt.c                        |    2 +-
 src/interface.c                        |   10 +--
 src/ipmi.c                             |   42 ++++++------
 src/iptables.c                         |    4 +-
 src/irq.c                              |    2 +-
 src/java.c                             |   14 ++--
 src/libcollectdclient/network_buffer.c |   27 ++++----
 src/libcollectdclient/network_parse.c  |    3 +-
 src/libcollectdclient/server.c         |    7 +-
 src/load.c                             |    4 +-
 src/log_logstash.c                     |   10 +--
 src/logfile.c                          |    8 +--
 src/lpar.c                             |   18 ++---
 src/madwifi.c                          |    6 +-
 src/match_regex.c                      |    4 +-
 src/mbmon.c                            |    4 +-
 src/mcelog.c                           |    8 +--
 src/md.c                               |    2 +-
 src/memcachec.c                        |    4 +-
 src/memcached.c                        |    8 +--
 src/memory.c                           |   14 ++--
 src/mic.c                              |   18 ++---
 src/modbus.c                           |    8 +--
 src/mqtt.c                             |   36 +++++-----
 src/mysql.c                            |   32 ++++-----
 src/netapp.c                           |    4 +-
 src/netlink.c                          |   10 +--
 src/network.c                          |   76 ++++++++++-----------
 src/nfs.c                              |   10 +--
 src/nginx.c                            |   18 ++---
 src/notify_email.c                     |   14 ++--
 src/ntpd.c                             |   16 ++---
 src/nut.c                              |    6 +-
 src/olsrd.c                            |    4 +-
 src/onewire.c                          |   14 ++--
 src/openldap.c                         |   12 ++--
 src/openvpn.c                          |   40 +++++------
 src/oracle.c                           |    8 +--
 src/ovs_events.c                       |   14 ++--
 src/perl.c                             |   24 +++----
 src/pf.c                               |   12 ++--
 src/pinba.c                            |   22 +++---
 src/ping.c                             |   16 ++---
 src/postgresql.c                       |   34 +++++-----
 src/powerdns.c                         |    4 +-
 src/processes.c                        |   58 ++++++++--------
 src/protocols.c                        |    2 +-
 src/pyconfig.c                         |    2 +-
 src/python.c                           |   26 +++-----
 src/pyvalues.c                         |   17 ++---
 src/redis.c                            |    2 +-
 src/routeros.c                         |   12 ++--
 src/rrdcached.c                        |   20 +++---
 src/rrdtool.c                          |   24 +++----
 src/sensors.c                          |   10 +--
 src/serial.c                           |    7 +-
 src/smart.c                            |    6 +-
 src/snmp.c                             |   23 +++----
 src/snmp_agent.c                       |    4 +-
 src/statsd.c                           |   40 +++++------
 src/swap.c                             |   24 +++----
 src/syslog.c                           |    2 +-
 src/tail.c                             |   13 ++--
 src/tail_csv.c                         |   14 ++--
 src/tape.c                             |    2 +-
 src/target_replace.c                   |   32 ++++-----
 src/target_v5upgrade.c                 |    6 +-
 src/tcpconns.c                         |   11 ++-
 src/teamspeak2.c                       |   10 +--
 src/ted.c                              |    4 +-
 src/testing.h                          |    6 +-
 src/thermal.c                          |   12 ++--
 src/tokyotyrant.c                      |    6 +-
 src/turbostat.c                        |   98 +++++++++++++--------------
 src/unixsock.c                         |   14 ++--
 src/utils_cmd_putval.c                 |    2 +-
 src/utils_cmds_test.c                  |    2 +-
 src/utils_curl_stats.c                 |    2 +-
 src/utils_dns.c                        |   12 ++--
 src/utils_format_graphite.c            |    4 +-
 src/utils_format_json.c                |    2 +-
 src/utils_format_json_test.c           |    2 +-
 src/utils_latency_config.h             |    6 +-
 src/utils_ovs.c                        |    4 +-
 src/utils_rrdcreate.c                  |    2 +-
 src/utils_rrdcreate.h                  |    2 +-
 src/utils_vl_lookup.c                  |   30 ++++-----
 src/utils_vl_lookup_test.c             |   10 +--
 src/uuid.c                             |    2 +-
 src/varnish.c                          |  114 ++++++++++++++++----------------
 src/virt.c                             |   14 ++--
 src/vmem.c                             |    2 +-
 src/vserver.c                          |    2 +-
 src/write_graphite.c                   |   12 ++--
 src/write_http.c                       |   22 +++---
 src/write_kafka.c                      |    4 +-
 src/write_log.c                        |    4 +-
 src/write_mongodb.c                    |   26 ++++----
 src/write_prometheus.c                 |   11 ++-
 src/write_redis.c                      |    4 +-
 src/write_riemann.c                    |   28 ++++----
 src/write_sensu.c                      |   32 ++++-----
 src/write_tsdb.c                       |   12 ++--
 src/zookeeper.c                        |    4 +-
 162 files changed, 1144 insertions(+), 1151 deletions(-)

New commits:
commit 9f1354b34feaf1e30284e14895a4b71adbcc7980
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Mon May 14 15:22:17 2018 +0200

    write_riemann plugin: fix warning
    
    src/write_riemann.c:185:50: warning: unused parameter 'host' [-Wunused-parameter]
    wrr_notification_to_message(struct riemann_host *host, /* {{{ */
                                                     ^
    1 warning generated.

commit 8a43178ffd78060ec2353b22675666c66caf9e4f
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Mon May 14 15:18:33 2018 +0200

    write_sensu plugin: remove unused parameter
    
      CC       src/write_sensu.lo
    src/write_sensu.c:341:38: warning: unused parameter 'status' [-Wunused-parameter]
                                     int status) {
                                         ^
    1 warning generated.

commit 0a9d570ed2d1b4095d9740b2d2a1206d2e0de348
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Mon May 14 15:14:32 2018 +0200

    curl_json_test.c: fix warnings
    
    src/curl_json_test.c:142:14: warning: unused parameter 'argc' [-Wunused-parameter]
    int main(int argc, char **argv) {
                 ^
    src/curl_json_test.c:142:27: warning: unused parameter 'argv' [-Wunused-parameter]
    int main(int argc, char **argv) {
                              ^
    2 warnings generated.

commit 628e995056ae78135a24bdc7ed590d1377b20355
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Mon May 14 15:08:22 2018 +0200

    Bind plugin: remove unused parameters
    
      CC       src/bind_la-bind.lo
    src/bind.c:911:49: warning: unused parameter 'statsnode' [-Wunused-parameter]
                                           xmlNode *statsnode,
                                                    ^
    src/bind.c:943:67: warning: unused parameter 'statsnode' [-Wunused-parameter]
                                  xmlXPathContext *xpathCtx, xmlNode *statsnode,
                                                                      ^
    src/bind.c:1062:70: warning: unused parameter 'statsnode' [-Wunused-parameter]
                                     xmlXPathContext *xpathCtx, xmlNode *statsnode,
                                                                         ^
    3 warnings generated.

commit e88eef3544bd1cd44463dafda9ac72cc329d508c
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Mon May 14 14:57:00 2018 +0200

    collectd-tg: fix warning
    
    src/collectd-tg.c:98:32: warning: unused parameter 'signal' [-Wunused-parameter]
    static void signal_handler(int signal) /* {{{ */
                                   ^

commit a0412f28fc15eb04a9a630678a97b6bce2d71fb1
Merge: 9241ae4 ec51dde
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Mon May 14 14:52:04 2018 +0200

    Merge pull request #2772 from rubenk/static-initializers
    
    Don't initialize static pointers to NULL

commit 9241ae4ec19569c818a369401c7953e01bc3b7c1
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Mon May 14 14:25:06 2018 +0200

    Remove unreachable break statement
    
    src/daemon/collectd.c:492:7: warning: 'break' will never be executed [-Wunreachable-code-break]
          break;
          ^~~~~

commit ec51ddee94fa2ba1e01fe0e336ccc9c190a198ff
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Mon May 14 14:10:34 2018 +0200

    Don't initialize static numeric variables to 0

commit a396da422740caf336a6d594515e8d80de6f440a
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Mon May 14 12:48:25 2018 +0200

    Don't initialize static pointers to NULL
    
    This is the default

commit 6c170c99262c1d9678943122428f6d9f1353aaf6
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Mon May 14 12:17:07 2018 +0200

    tcpconns: remove redundant include

commit 7b0628b4f4688d48d89f94ca381ca6340da05b37
Merge: b34cd94 6e41c3b
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Mon May 14 11:38:16 2018 +0200

    Merge pull request #2771 from rubenk/stdbool
    
    Stdbool

commit 6e41c3b1f024d7944e5e8010a87933555c662474
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun May 13 20:38:40 2018 +0200

    Use true and false for assignments to bool

commit 029b489b237a8785c539f85d4840a49ba6743603
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun May 13 19:30:31 2018 +0200

    clang-format

commit 4e89060ceb1a14ec7f9abfe9caa6b0da7e76bd5c
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun May 13 19:05:33 2018 +0200

    Set static bools to true instead of 1

commit f25d207699e013bb47c0083fe56b8358a98f6f4d
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun May 13 18:56:18 2018 +0200

    No need to initialize static bools to false

commit 61a4ed99b1a5b6d371bb745933d0efc5dff9505c
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun May 13 18:35:29 2018 +0200

    Treewide: use bool instead of _Bool
    
    It's about time




More information about the collectd-changes mailing list