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

Florian Forster octo at verplant.org
Thu May 18 10:07:39 CEST 2017


 configure.ac                           |   16 +-
 src/aggregation.c                      |   60 ++---
 src/amqp.c                             |  124 ++++-----
 src/apache.c                           |   40 +--
 src/apcups.c                           |   46 ++--
 src/apple_sensors.c                    |   10 +-
 src/aquaero.c                          |   10 +-
 src/ascent.c                           |   76 +++---
 src/battery.c                          |   60 ++---
 src/battery_statefs.c                  |    4 +-
 src/bind.c                             |  136 +++++-----
 src/ceph.c                             |    2 +-
 src/cgroups.c                          |   32 +--
 src/chrony.c                           |   63 +++--
 src/collectd-nagios.c                  |   64 ++---
 src/collectd-tg.c                      |   33 ++-
 src/collectdctl.c                      |   54 ++--
 src/conntrack.c                        |    6 +-
 src/contextswitch.c                    |    6 +-
 src/cpu.c                              |   58 ++--
 src/cpufreq.c                          |    4 +-
 src/cpusleep.c                         |    6 +-
 src/csv.c                              |   54 ++--
 src/curl.c                             |   60 ++---
 src/curl_json.c                        |   94 ++++---
 src/curl_xml.c                         |  116 ++++----
 src/daemon/collectd.c                  |   70 ++---
 src/daemon/collectd.h                  |    2 -
 src/daemon/common.c                    |  220 ++++++++--------
 src/daemon/common_test.c               |   16 +-
 src/daemon/configfile.c                |  231 ++++++++--------
 src/daemon/filter_chain.c              |  115 ++++----
 src/daemon/meta_data.c                 |  144 +++++-----
 src/daemon/plugin.c                    |  281 ++++++++++----------
 src/daemon/types_list.c                |   14 +-
 src/daemon/utils_avltree.c             |   84 +++---
 src/daemon/utils_avltree_test.c        |    4 +-
 src/daemon/utils_cache.c               |  128 ++++-----
 src/daemon/utils_cache_mock.c          |    6 +-
 src/daemon/utils_heap.c                |   18 +-
 src/daemon/utils_heap_test.c           |    2 +-
 src/daemon/utils_llist.c               |   26 +-
 src/daemon/utils_random.c              |    4 +-
 src/daemon/utils_subst.c               |    4 +-
 src/daemon/utils_threshold.c           |   36 +--
 src/dbi.c                              |   68 ++---
 src/df.c                               |   34 +--
 src/disk.c                             |   54 ++--
 src/dns.c                              |   34 +--
 src/dpdkstat.c                         |    2 +-
 src/drbd.c                             |   14 +-
 src/email.c                            |   14 +-
 src/entropy.c                          |    4 +-
 src/ethstat.c                          |   36 +--
 src/exec.c                             |   48 ++--
 src/fhcount.c                          |   10 +-
 src/filecount.c                        |   78 +++---
 src/fscache.c                          |    4 +-
 src/gmond.c                            |  128 ++++-----
 src/gps.c                              |   10 +-
 src/hddtemp.c                          |   20 +-
 src/hugepages.c                        |    2 +-
 src/intel_rdt.c                        |   56 ++--
 src/interface.c                        |   20 +-
 src/ipc.c                              |   30 +--
 src/ipmi.c                             |   46 ++--
 src/iptables.c                         |   44 ++--
 src/ipvs.c                             |    2 +-
 src/irq.c                              |   10 +-
 src/java.c                             |  450 ++++++++++++++++----------------
 src/libcollectdclient/client.c         |  154 +++++------
 src/libcollectdclient/network.c        |   78 +++---
 src/libcollectdclient/network_buffer.c |  110 ++++----
 src/liboconfig/oconfig.c               |   22 +-
 src/load.c                             |   12 +-
 src/log_logstash.c                     |    6 +-
 src/logfile.c                          |    4 +-
 src/lpar.c                             |   16 +-
 src/lua.c                              |   48 ++--
 src/lvm.c                              |    6 +-
 src/madwifi.c                          |   44 ++--
 src/match_empty_counter.c              |    8 +-
 src/match_hashed.c                     |   26 +-
 src/match_regex.c                      |   50 ++--
 src/match_timediff.c                   |   16 +-
 src/match_value.c                      |   36 +--
 src/mbmon.c                            |   18 +-
 src/mcelog.c                           |   66 ++---
 src/md.c                               |   10 +-
 src/memcachec.c                        |   52 ++--
 src/memcached.c                        |   54 ++--
 src/memory.c                           |   34 +--
 src/mic.c                              |   30 +--
 src/modbus.c                           |  110 ++++----
 src/mqtt.c                             |   74 +++---
 src/multimeter.c                       |   24 +-
 src/mysql.c                            |   62 ++---
 src/netapp.c                           |  358 ++++++++++++-------------
 src/netlink.c                          |   44 ++--
 src/network.c                          |  360 ++++++++++++-------------
 src/nfs.c                              |   26 +-
 src/nginx.c                            |   38 +--
 src/notify_email.c                     |   22 +-
 src/ntpd.c                             |   65 +++--
 src/numa.c                             |   12 +-
 src/nut.c                              |   50 ++--
 src/olsrd.c                            |   60 ++---
 src/onewire.c                          |   32 +--
 src/openldap.c                         |   32 +--
 src/openvpn.c                          |   42 +--
 src/oracle.c                           |   46 ++--
 src/ovs_events.c                       |   54 ++--
 src/ovs_stats.c                        |   54 ++--
 src/perl.c                             |    6 +-
 src/pf.c                               |    8 +-
 src/pinba.c                            |   58 ++--
 src/ping.c                             |   48 ++--
 src/postgresql.c                       |    9 +-
 src/powerdns.c                         |   80 +++---
 src/processes.c                        |   90 +++----
 src/protocols.c                        |   12 +-
 src/python.c                           |   12 +-
 src/redis.c                            |   38 +--
 src/routeros.c                         |   32 +--
 src/rrdcached.c                        |   82 +++---
 src/rrdtool.c                          |  126 ++++-----
 src/sensors.c                          |   26 +-
 src/serial.c                           |    4 +-
 src/smart.c                            |   12 +-
 src/snmp.c                             |  139 +++++-----
 src/statsd.c                           |  120 ++++-----
 src/swap.c                             |   76 +++---
 src/syslog.c                           |   16 +-
 src/tail.c                             |   32 +--
 src/tail_csv.c                         |   74 +++---
 src/tape.c                             |   10 +-
 src/target_notification.c              |   32 +--
 src/target_replace.c                   |   72 ++---
 src/target_scale.c                     |   36 +--
 src/target_set.c                       |   52 ++--
 src/target_v5upgrade.c                 |   64 ++---
 src/tcpconns.c                         |  110 ++++----
 src/teamspeak2.c                       |   68 ++---
 src/ted.c                              |   36 +--
 src/testing.h                          |   10 +-
 src/thermal.c                          |    8 +-
 src/threshold.c                        |   94 +++----
 src/tokyotyrant.c                      |   16 +-
 src/turbostat.c                        |    2 +-
 src/types.db                           |    4 +-
 src/unixsock.c                         |   38 +--
 src/uptime.c                           |   26 +-
 src/users.c                            |    4 +-
 src/utils_cmd_flush.c                  |   22 +-
 src/utils_cmd_getthreshold.c           |   18 +-
 src/utils_cmd_getval.c                 |   22 +-
 src/utils_cmd_listval.c                |    8 +-
 src/utils_cmd_putnotif.c               |   30 +--
 src/utils_cmd_putval.c                 |   32 +--
 src/utils_cmds.c                       |   20 +-
 src/utils_cmds_test.c                  |    2 +-
 src/utils_db_query.c                   |  114 ++++----
 src/utils_dns.c                        |  324 +++++++++++------------
 src/utils_dpdk.c                       |    2 +-
 src/utils_fbhash.c                     |   28 +-
 src/utils_format_graphite.c            |   20 +-
 src/utils_format_json.c                |   88 +++----
 src/utils_format_kairosdb.c            |   65 ++---
 src/utils_ignorelist.c                 |   36 +--
 src/utils_latency.c                    |   40 +--
 src/utils_latency_config.c             |    2 +-
 src/utils_lua.c                        |   48 ++--
 src/utils_match.c                      |   72 ++---
 src/utils_mount.c                      |   38 +--
 src/utils_mount_test.c                 |    4 +-
 src/utils_ovs.c                        |  107 ++++----
 src/utils_parse_option.c               |   22 +-
 src/utils_rrdcreate.c                  |   82 +++---
 src/utils_tail.c                       |   36 +--
 src/utils_tail_match.c                 |   30 +--
 src/utils_vl_lookup.c                  |   90 +++----
 src/utils_vl_lookup_test.c             |   16 +-
 src/uuid.c                             |   54 ++--
 src/varnish.c                          |  138 +++++-----
 src/vmem.c                             |    8 +-
 src/vserver.c                          |   12 +-
 src/wireless.c                         |   10 +-
 src/write_graphite.c                   |   60 ++---
 src/write_http.c                       |   94 +++----
 src/write_kafka.c                      |    8 +-
 src/write_log.c                        |   14 +-
 src/write_mongodb.c                    |    8 +-
 src/write_prometheus.c                 |    4 +-
 src/write_redis.c                      |   18 +-
 src/write_riemann.c                    |   40 +--
 src/write_riemann_threshold.c          |   22 +-
 src/write_sensu.c                      |    4 +-
 src/write_tsdb.c                       |    2 +-
 src/xencpu.c                           |   16 +-
 src/xmms.c                             |    6 +-
 src/zfs_arc.c                          |   34 +--
 src/zone.c                             |   32 +--
 src/zookeeper.c                        |   16 +-
 203 files changed, 5066 insertions(+), 5056 deletions(-)

New commits:
commit d45f9cdfc084fc5e8783073b993d58b84deb5d58
Merge: 557b86c 7da2cd6
Author: Florian Forster <octo at collectd.org>
Date:   Thu May 18 10:07:03 2017 +0200

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

commit 7da2cd6de424cd8e360a06ec05e5ea03e1d17cc6
Author: Florian Forster <octo at collectd.org>
Date:   Thu May 18 10:05:42 2017 +0200

    chrony plugin: Re-run clang-format.

commit 557b86ce4fd14f7ee990a710d3688357eeaee527
Author: Florian Forster <octo at collectd.org>
Date:   Thu May 18 09:38:54 2017 +0200

    memcached plugin: Expand "del" to "delete" for clarity.

commit 1a244261c7eed35f4af7295339865944c322605c
Author: theairkit <theairkit at gmail.com>
Date:   Thu Dec 1 17:22:45 2016 +0300

    memcached plugin: Add delete_{hits,misses} metrics.

commit 6026e3162e522b133d10596710527d24c2921b55
Merge: b7ff429 307c875
Author: Florian Forster <octo at collectd.org>
Date:   Wed May 17 08:40:59 2017 +0200

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

commit 307c875e5a78a2729fbbe1a588d232e9a129d75a
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat May 13 14:41:48 2017 +0200

    Remove parentheses around return arguments
    
    They don't do any harm but they are not really needed either.
    Contributors are not used to following this style, and reviewers have to
    keep pointing it out in reviews. This takes up valuable time for both
    the contributor and the reviewer and distracts from the more important
    issues.
    
    I used the following Coccinelle patch:
    
    @@
    expression e;
    @@
    - return (e);
    + return e;
    
    spatch is having trouble with some files so I have cleaned up the rest
    with a few regexes.

commit 5126b0422a63de838cf6fb7cf0e7dcd9bcc658e7
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date:   Thu Feb 23 15:50:46 2017 +0100

    chrony: use time_offset type for last measured offset
    
    The last measured offset from the source report should be more useful
    for monitoring than the current estimated offset from the sourcestats
    report.

commit 2273f46eae4a0e4c8889fa03ecb38001af5f19f1
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date:   Thu Feb 23 15:42:55 2017 +0100

    chrony: add padding to IPAddr struct
    
    Since the IPAddr struct is declared with the packed attribute and
    contains a 32-bit field, it needs to include a 16-bit padding in order
    to be aligned to 32 bits.

commit 3dc5837eeb4f16aaa608914e46ef925d6c5124a2
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date:   Thu Feb 23 15:28:19 2017 +0100

    chrony: fix type instances for reference clocks
    
    When chronyd is using a reference clock, the reference ID of the source
    is provided as an IPv4 address in the source report. Format it as an
    ASCII string instead of an IPv4 address.

commit 8cec7f0908f222f5ae811712924bf7e67d6a38a4
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date:   Thu Feb 23 16:45:46 2017 +0100

    chrony: fix type instances for unreachable sources
    
    When a time source is unreachable, no sourcestats request is made and
    the NaN values are pushed with an empty string as the type instance.
    Modify chrony_request_source_data() and chrony_request_source_stats()
    to share the address of the source, so the address is valid even when
    sourcestats is not requested.

commit e02ae075ce9626f64cbc4e61024fa4610c21bcd3
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date:   Thu Feb 23 12:56:30 2017 +0100

    chrony: fix conversion of very small floating-poing values
    
    This is copied from the chrony code.

commit d44c0672bf49b805ee99583cd6645f7b94f223a7
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date:   Thu Feb 23 12:08:55 2017 +0100

    chrony: fix conversion of clock_last_meas value
    
    The f_since_sample field in source data has 32 bits.

commit 7d85009a75be9236ea51d11190c3bc41a6bd1774
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date:   Thu Feb 23 11:41:00 2017 +0100

    chrony: fix limits of frequency types
    
    The frequency_error value is in parts per million and the range of
    <-2,2> is too small to cover most computer clocks. The clock_skew_ppm
    cannot be negative, but it can also be much larger.




More information about the collectd-changes mailing list