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

Florian Forster octo at verplant.org
Thu Aug 11 10:03:25 CEST 2016


 .gitignore                   |    3 +
 AUTHORS                      |    3 +
 README                       |    7 +
 configure.ac                 |  321 ++++++++++++++++--------------------
 contrib/redhat/collectd.spec |   38 +++++
 src/Makefile.am              |   26 ++-
 src/ceph_test.c              |    8 +-
 src/chrony.c                 |    4 +-
 src/collectd-python.pod      |    2 +-
 src/collectd.conf.in         |   13 ++
 src/collectd.conf.pod        |  100 +++++++++++-
 src/collectdctl.c            |    4 +-
 src/cpython.h                |   38 +----
 src/daemon/common.c          |   44 +++++
 src/daemon/common.h          |    3 +
 src/gps.c                    |  368 ++++++++++++++++++++++++++++++++++++++++++
 src/mysql.c                  |   76 +++++----
 src/snmp.c                   |    8 +-
 src/swap.c                   |    1 +
 src/types.db                 |    2 +
 src/utils_db_query.c         |    3 +-
 src/utils_dns.c              |    2 +-
 src/utils_format_json.c      |    4 +-
 src/utils_format_json_test.c |    3 +-
 src/uuid.c                   |  137 ++++++++++------
 src/write_graphite.c         |    2 +
 src/write_riemann.c          |    2 +
 src/write_sensu.c            |    6 +-
 src/write_tsdb.c             |    2 +
 29 files changed, 906 insertions(+), 324 deletions(-)

New commits:
commit 1c4fe433e30bd0e9cd94b604f290efb6a409ab7c
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Wed Aug 10 17:17:57 2016 +0200

    swap plugin: fix leak on error

commit 6fbd510673ef3d9c3a589f9789195ccdf8fbdd2c
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Wed Aug 10 16:03:20 2016 +0200

    write_sensu plugin: fix build on OpenBSD
    
    time_t is a long long on OpenBSD

commit 3062c779e8105ffe873d29716268a1033f0491fc
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Wed Aug 10 16:02:54 2016 +0200

    chrony plugin: fix build on OpenBSD
    
    time_t is a long long on OpenBSD

commit 7b343e567f648ac4643325cdac272bf0c834c750
Author: Florian Forster <octo at collectd.org>
Date:   Wed Aug 10 14:43:42 2016 +0200

    Build system: set CPPFLAGS when checking for <grpc++/grpc++.h>

commit ee830b46965eac77e608d536c51d15062b9842bb
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Wed Aug 10 13:04:27 2016 +0200

    common.c: fix compilation on OpenBSD
    
    cc1: warnings being treated as errors
    common.c: In function 'set_sock_opts':
    common.c:1572: warning: unused variable 'tcp_keepintvl'
    common.c:1571: warning: unused variable 'tcp_keepidle'
    *** Error 1 in target 'common.lo'
    *** Error 1 in src/daemon (Makefile:1048 'common.lo': @echo "  CC      " common.lo;depbase=`echo common.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$|...)
    *** Error 1 in src (Makefile:5007 'all-recursive')
    *** Error 2 in src (Makefile:3284 'all')
    *** Error 1 in /root/src/collectd (Makefile:611 'all-recursive')

commit ce025f4db1b86f1a1105db81f4005fa5421444bb
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Wed Aug 10 11:01:41 2016 +0200

    Ignore cscope files

commit ab324851dd66efb814b32d134dd1ae427c22b8fe
Author: Florian Forster <octo at collectd.org>
Date:   Tue Aug 9 21:46:21 2016 +0200

    mysql plugin: Remove trailing whitespace.

commit 680c818999f50daa1ad3b80317b101bf0205c441
Author: Brian Lalor <blalor at bluestatedigital.com>
Date:   Thu Sep 3 18:41:21 2015 -0400

    Allow MySQL to use SSL connections

commit 37d3677e95febc653d8f67fc19f67eb4110910eb
Merge: 4d27bf1 1418168
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Tue Aug 9 16:55:03 2016 +0200

    Merge pull request #1549 from mfournier/socket-keepalive
    
    Enable TCP socket keepalive on write plugins

commit 4d27bf123a30c0bd65932f1bdb5c0a907432c497
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Tue Aug 9 14:40:36 2016 +0200

    collectd.spec: add missing %define required by gps plugin

commit acce2eaea9ed847b1683d0333229248bfcc88cb3
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Tue Aug 9 13:57:36 2016 +0200

    collectdctl.c: fix two compiler warnings
    
    collectdctl.c: In function ‘flush’:
    collectdctl.c:315:21: warning: comparison between signed and unsigned
    integer expressions [-Wsign-compare]
       for (int i = 0; i < plugins_num; ++i) {
                         ^
    collectdctl.c:323:25: warning: comparison between signed and unsigned
    integer expressions [-Wsign-compare]
           for (int j = 0; j < identifiers_num; ++j) {
                             ^

commit ac59939dadf3a1679650ada33db1070f31e2df93
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Tue Aug 9 13:51:46 2016 +0200

    gps plugin: fix compiler warning
    
    gps.c:242:12: warning: function declaration isn’t a prototype
    [-Wstrict-prototypes]
     static int cgps_read ()
                ^~~~~~~~~
    gps.c: In function ‘cgps_read’:
    gps.c:242:12: warning: old-style function definition
    [-Wold-style-definition]

commit 7491350ab6771e9125284b49e25945063dc16ead
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Tue Aug 9 13:51:02 2016 +0200

    utils_db_query.c: fix compiler warning
    
    utils_db_query.c: In function ‘udb_result_submit’:
    utils_db_query.c:259:11: warning: declaration of ‘status’ shadows a
    previous local [-Wshadow]
           int status = strjoin (vl.type_instance, sizeof
    (vl.type_instance),
               ^~~~~~

commit 38e41157a4c873eb490326852551c6ddd7cd1293
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Tue Aug 9 13:15:15 2016 +0200

    collectd.spec: add gps plugin

commit 1bdfcf9791729310f75857d0e002c40ef659a89b
Merge: 7a65aad 7c14b05
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Tue Aug 9 13:14:04 2016 +0200

    Merge remote-tracking branch 'origin/pr/1346'
    
     Conflicts:
    	README
    	configure.ac
    	src/Makefile.am
    	src/collectd.conf.in
    	src/collectd.conf.pod
    	src/types.db

commit 141816828389e3ad98f66db29b4a702479dcb05d
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Sat Feb 13 12:29:37 2016 +0100

    write_tsdb: enable TCP keepalive on network socket

commit f086e793482c4dd76786aff15a20a68973114467
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Sat Feb 13 12:29:30 2016 +0100

    write_sensu: enable TCP keepalive on network socket

commit 74e5c6f352b98b6f6bc0b0efac36dd182b94186e
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Sat Feb 13 12:29:21 2016 +0100

    write_riemann: enable TCP keepalive on network socket

commit f8d0e8e1ab1bf901f43398b8549c302b85979b40
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Sat Feb 13 12:29:13 2016 +0100

    write_graphite: enable TCP keepalive on network socket

commit 727a4b977ec6549d94da3f694bf3fe8b0121db58
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Sat Feb 13 11:51:23 2016 +0100

    daemon/common.[ch]: add set_sock_opts() function
    
    Enables the TCP keepalive mechanism on a given socket.
    
    This would typically be used on sockets opened by write plugins
    which submit data to a remote server.
    
    Up to now, collectd fails to notice when a remote server dies without
    properly closing the network connection, leading to more and more memory
    getting allocated as the values pile up in the write queue.
    
    The keepalive values are proportional to the configured `Interval`. The
    first probe is emitted `10 x Interval` seconds after the last TCP packet
    was seen, and then once per `Interval` until the threshold defined by
    the OS is reached.
    
    See: http://www.tldp.org/HOWTO/html_single/TCP-Keepalive-HOWTO/#checkdeadpeers

commit 7a65aadcc432d3341f5cca816c6a157b1b9d6116
Author: Florian Forster <octo at collectd.org>
Date:   Tue Aug 9 10:14:03 2016 +0200

    ceph plugin: Really fix "parse_keys" test.
    
    This reverts commit 9521a596cb88b044a2f08db53520edd6e15c8d39.

commit 82a5e061084efecf535ad6482ceda4f1b56e3d6f
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Mon Aug 8 15:36:15 2016 +0200

    collectd.spec: fix ./configure arguments order

commit 68434b89d66c54d1b1ba3812163e6208c1be2e8c
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Mon Aug 8 14:07:18 2016 +0200

    collectd.spec: fix typo, missing "%" sign

commit 0ebdad12ec580881cf998fc32dddb04d346a7310
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Mon Aug 8 13:12:08 2016 +0200

    Include collectd.h before testing.h
    
    testing.h includes system headers that set #define _FILE_OFFSET_BITS 32,
    if not already defined. We define them in config.h, which is included by collectd.h
    
    Fixes tests on 32-bit Solaris (#1301)

commit db95e86b9674d7fcd971716430a19d5358b2f3c7
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Mon Aug 8 12:27:02 2016 +0200

    collectd.spec: specify PYTHON_CONFIG on EL5
    
    Since 4ad7200, python-config becomes mandatory. We have to explicitly
    specify it's path for EL5 as we're using a non-default python
    installation on this distro.

commit d020591db2c1157ed065699a1b004db0dfdee905
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Mon Aug 8 11:58:16 2016 +0200

    collectd.spec: add new cpusleep plugin
    
    Disabled on EL5 and EL6, as it requires CLOCK_BOOTTIME only available in
    recent libc versions.

commit 1fdd8908119bdd99c0b3c18961f93e0a1be41eec
Merge: 4f4ad5d 5755085
Author: Florian Forster <octo at collectd.org>
Date:   Mon Aug 8 08:41:04 2016 +0200

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

commit 4f4ad5dd93776f330a0fb28fbece7157108e0c4c
Author: Florian Forster <octo at collectd.org>
Date:   Sun Aug 7 19:12:21 2016 +0200

    src/utils_format_json.c: Fix usage of yajl_gen_config().

commit f32046b0f110b94fe6fdd8a4d943122b9a390707
Merge: f0735d2 ae26fc2
Author: trenkel <github at semidefinite.de>
Date:   Sun Aug 7 18:26:02 2016 +0200

    Merge pull request #1864 from rubenk/python-2.6
    
    Bump minimum required Python version to 2.6

commit ae26fc2829c30b957c81179a46590e0bb02b13a6
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 7 18:03:21 2016 +0200

    Remove Python 2.4 compatibily macros

commit 135dc824d6e146a486fd95ff7bfbc57b0cef66af
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 7 17:10:12 2016 +0200

    Bump python requirement to 2.6
    
    Fixes #1863

commit f0735d24a2195c8da2657c46a7cb9ceb790b0836
Merge: 9506e5e 2ec3cd5
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 7 15:49:02 2016 +0200

    Merge pull request #1851 from rubenk/use-python-config-for-libpython-detection
    
    Switch to python-config for libpython detection

commit 2ec3cd5055e70b29b013baee4b904bf690a0624b
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 7 13:10:14 2016 +0200

    python: use LIBPYTHON_LIBS too
    
    python-config --ldflags returns -lpython (yeah I know)
    autoconf prepends ldflags in its configuration tests
    so conftest.c will never look for symbols in -lpython.
    
    python-config --libs also returns -lpython, but this is appended.

commit 4ad72002cbcabc020226ea1e47a7403872ce4954
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Aug 5 20:55:37 2016 +0200

    Switch to python-config for libpython detection
    
    The old way of detecting libpython was unreliable and did not work on
    OS X.
    
    Instead use python-config which was introduced in python 2.6.
    
    For older versions of python you can still set PYTHON_CPPFLAGS and
    PYTHON_LDFLAGS on the ./configure command line.
    
    By default we look for python3-config, python2-config and last
    python-config. The path to python-config can be overriden by setting
    PYTHON_CONFIG.
    
    Fixes #888 and #27

commit 9506e5eb2f81f0182a75aa8105b88f89dc367c24
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 7 14:13:11 2016 +0200

    perl plugin: fix build on RHEL5
    
    perl.c: In function 'init_pi':
    perl.c:2304: warning: implicit declaration of function
    'pthread_mutexattr_settype'
    perl.c:2304: error: 'PTHREAD_MUTEX_RECURSIVE' undeclared (first use in
    this function)
    perl.c:2304: error: (Each undeclared identifier is reported only once
    perl.c:2304: error: for each function it appears in.)
    make[3]: *** [perl_la-perl.lo] Error 1

commit 41cdd38962d0649941ec2732b02662b05ac0172a
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 7 13:35:53 2016 +0200

    utils_dns.c: fix build on OSX
    
    utils_dns.c:759:11: error: use of undeclared identifier 'ns_t_apl'
                case ns_t_apl:      return ("APL");
    
    Apparently Apple forgot to add some record types
    when they bumped the version number of /usr/include/arpa/nameser.h

commit e1d4681088e33d3ec256c296dff4dbaeb70b883a
Merge: 7adc876 a5c7695
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 7 12:45:22 2016 +0200

    Merge pull request #1856 from rubenk/snmp-dont-dispatch-values-with-empty-type-instance
    
    snmp : don't send values for empty type_instance

commit 7adc8768ee5f7276d1964da6d268effba557d3a5
Merge: 9852744 369567e
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 7 12:12:08 2016 +0200

    Merge pull request #1490 from rubenk/uuid
    
    Uuid plugin fixes / updates

commit a5c7695f1ae4906754607788a915fef5eebe2253
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sat Aug 6 08:31:04 2016 +0200

    snmp : don't send values for empty type_instance
    
    If you have multiple Instance values that are empty string,
    they all end up in the same rrd file, resulting in:
    rrdc_update (/collectd/rrd/vc3/snmp/if_errors.rrd, [1352632188:0:0], 1) failed with status -1
    
    Fixes #176

commit 98527443c0c106f51c8fc05c02957247fcfd8780
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 7 11:59:31 2016 +0200

    perl plugin: needs _LARGEFILE64_SOURCE
    
    libperl compiled with LARGE_FILES support defines its own Off_t
    as off64_t, even if off_t is 64-bit wide on 64bit platforms.
    
    off64_t is only exposed in the libc headers if _LARGEFILE64_SOURCE
    is defined.
    
    In file included from perl.c:47:0:
    /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:2398:22: error: unknown
    type name 'off64_t'
     #       define Off_t off64_t
                          ^
    /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perlio.h:277:15: note: in
    expansion of macro 'Off_t'
     PERL_EXPORT_C Off_t PerlIO_tell(PerlIO *);

commit 92f3b751cce6466fc23175e75fe3b8a3b8f23cff
Merge: c7d8591 44a3b66
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 7 11:50:25 2016 +0200

    Merge pull request #1853 from rubenk/python-plugin-fix-building-on-osx
    
    python plugin: fix building on OSX

commit c7d859191d8fbfc129dea8cfaf9e13e78fd6642c
Merge: da612fa ca65a73
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun Aug 7 11:45:05 2016 +0200

    Merge pull request #1844 from rubenk/sigrok
    
    sigrok: use pkg-config to find library

commit 44a3b66cc3486489c8a5c30f54a168f0db0929f6
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Aug 5 22:03:27 2016 +0200

    python plugin: fix building on OSX
    
    Fixes #1852
    
    duplicate symbol _ValuesType in:
        .libs/python_la-python.o
        .libs/python_la-pyconfig.o
    duplicate symbol _NotificationType in:
        .libs/python_la-python.o
        .libs/python_la-pyconfig.o
    duplicate symbol _ConfigType in:
        .libs/python_la-python.o
        .libs/python_la-pyconfig.o
    duplicate symbol _UnsignedType in:
        .libs/python_la-python.o
        .libs/python_la-pyconfig.o
    duplicate symbol _SignedType in:
        .libs/python_la-python.o
        .libs/python_la-pyconfig.o
    duplicate symbol _PluginDataType in:
        .libs/python_la-python.o
        .libs/python_la-pyconfig.o
    duplicate symbol _ValuesType in:
        .libs/python_la-python.o
        .libs/python_la-pyvalues.o
    duplicate symbol _NotificationType in:
        .libs/python_la-python.o
        .libs/python_la-pyvalues.o
    duplicate symbol _ConfigType in:
        .libs/python_la-python.o
        .libs/python_la-pyvalues.o
    duplicate symbol _UnsignedType in:
        .libs/python_la-python.o
        .libs/python_la-pyvalues.o
    duplicate symbol _SignedType in:
        .libs/python_la-python.o
        .libs/python_la-pyvalues.o
    duplicate symbol _PluginDataType in:
        .libs/python_la-python.o
        .libs/python_la-pyvalues.o
    ld: 12 duplicate symbols for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[3]: *** [python.la] Error 1
    make[2]: *** [all-recursive] Error 1
    make[1]: *** [all] Error 2
    make: *** [all-recursive] Error 1

commit 5755085dd2b0baa3ef5920d6afbf908075bf9a0a
Author: Aman Gupta <aman at tmm1.net>
Date:   Fri Jul 3 21:00:34 2015 -0700

    move more stats into innodb namespace

commit 9a009467b89c77d0dddb92783782b4adb010aeb8
Author: Aman Gupta <aman at tmm1.net>
Date:   Fri Jul 3 20:00:28 2015 -0700

    remove double reported innodb metrics

commit ca65a73c9ecf76d49fc7df0060eae2c404e432ac
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Thu Aug 4 15:34:43 2016 +0200

    sigrok: use pkg-config to find library
    
    While we're doing that, look for a version less than 0.4, since we don't support that yet (#1574)

commit 369567e46edced4f4a959ce5a241c171e269a3e2
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Dec 25 11:46:04 2015 +0100

    uuid plugin: make it work on OpenBSD

commit 92811dfcb772a4613b0938b010869cab536acc3e
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Dec 25 11:19:29 2015 +0100

    uuid plugin: make it work on NetBSD

commit 58c91485b9b28a866715fc013d23236470699940
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Dec 25 11:14:01 2015 +0100

    uuid plugin: make it work on FreeBSD

commit f3610533206238bf4fcb72c76e9a07517d8bc64b
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Dec 25 11:10:16 2015 +0100

    uuid plugin: make it work on OSX

commit da920bb48c6769e7c58cf358cdfb43983af55056
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Dec 25 10:54:47 2015 +0100

    uuid plugin: also look in /sys/class/dmi for uuid
    
    Recent Linux kernels store the uuid in /sys/class/dmi/id/product_uuid.

commit aef788ac8927ffa74429daaffb572566fae782ec
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Dec 25 10:53:41 2015 +0100

    uuid plugin: only look in /sys on Linux

commit df5d1022f12e9a4620da763bb510095c8ee0777e
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Dec 25 10:51:01 2015 +0100

    uuid plugin: look in smbios system table for uuid
    
    This saves a lot of parsing when dmidecode output is large.

commit 13c83b972a8ade7dff6f8f2d00832d446ef6f502
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Dec 25 10:46:41 2015 +0100

    uuid plugin: some coding style cleanups

commit 7c14b05db2cd7b17321f1e37bfb852c1a9a3832d
Author: Nicolas JOURDEN <nicolas.jourden at laposte.net>
Date:   Thu Dec 3 16:33:24 2015 +0100

    Setting a max and min for gpsd timeout.

commit 089eb4f23a447427172601125bc65116b5f0a661
Author: Nicolas JOURDEN <nicolas.jourden at laposte.net>
Date:   Thu Dec 3 15:59:22 2015 +0100

    Removed the reading pause, added more details in the documentation.

commit c61ec55cd5685ef5998e4f72dc88f62c6f5e5cfd
Author: Nicolas JOURDEN <nicolas.jourden at laposte.net>
Date:   Tue Dec 1 15:46:27 2015 +0100

    Fixed memory issue, changed the way to stop the thread, cleaned-up the code.

commit 33ee0bb4ae03ee848f04e4763474bba67fbbc530
Author: Nicolas JOURDEN <nicolas.jourden at laposte.net>
Date:   Mon Nov 23 15:02:58 2015 +0100

    Enable to disconnect at shutdown, changed default values, fixed time unit issue, fixed a typo and display precision.

commit 8884f852e080b84c470cf6ff2be85896ad128f44
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Sat Nov 21 11:36:09 2015 +0100

    gps: merge manpage into main collectd.conf.pod
    
    Also mention plugin in README and attribute Nicolas in AUTHORS file.

commit 5579b15071314752b053daa03ff62354809364e4
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Sat Nov 21 11:16:05 2015 +0100

    gps: make plugin compatible with older libgps versions

commit 6341066aae9ed687ee9463f3d269c70c02f481c5
Author: Nicolas JOURDEN <nicolas.jourden at laposte.net>
Date:   Fri Nov 20 17:27:55 2015 +0100

    Fixed time to ms instead of us, added a possibility to reconnect if gpsd server restarted.

commit 6ca14739ed8cc76de14bd9ac4d549ba2c7c72a93
Merge: ad2caf6 621fa82
Author: Nicolas JOURDEN <nicolas.jourden at laposte.net>
Date:   Fri Nov 20 16:44:08 2015 +0100

    Merging with changes made by Florian Foster.

commit 621fa8259ea9df412a9b45c3e65ddcf34dd9d9d5
Author: Florian Forster <octo at collectd.org>
Date:   Fri Nov 20 14:58:10 2015 +0100

    gps plugin: Use cf_util_get_service() to read the "Port" option.
    
    This allows users to provide unquoted numeric ports, too.

commit f3b18c23c1ec9b844a84894ef6b3de804e4a840a
Author: Florian Forster <octo at collectd.org>
Date:   Fri Nov 20 14:57:07 2015 +0100

    gps plugin: Store timeout and pause as cdtime_t.
    
    This allows to specify sub-second precision in the usual manner in the
    config file.

commit 293131af8791d415123538382047bfb06e0b9c5d
Author: Florian Forster <octo at collectd.org>
Date:   Fri Nov 20 14:16:04 2015 +0100

    gps plugin: Coding style cleanup.
    
    * Include <gps.h> and <pthread.h> unconditionally -- the code doesn't
      compile without these headers.
    * Convert all data in cgps_data_t to gauge_t.
    * Rename the "gps_data_read" variable to "data", protected by "data_lock".
    * Handle errors and continue, allowing the following code to be outdented.
    * Add "satellites-visible" in addition to "satellites-used".
    * Remove newlines from log messages. Unify prefix to "gps plugin:".
    * Unify function and type names to use the "cgps_" prefix.
    * Don't check for NULL when calling free().

commit 374d5b33a80a31a9e25bc4b1e9404091a4017761
Author: Nicolas JOURDEN <nicolas.jourden at laposte.net>
Date:   Thu Nov 19 10:22:33 2015 +0100

    Applied comments from Florian FOSTER, added more documentation, pause, fixed some typos.

commit ad2caf6750e5e584e39cf6c76a32937e1cef621c
Author: Nicolas JOURDEN <nicolas.jourden at laposte.net>
Date:   Thu Nov 19 10:22:33 2015 +0100

    Applied comments from Florian FOSTER, added more documentation, pause, fixed some typos.

commit ac9eaabe2b58aceb661ec3538007a154a54501d0
Merge: 9b39918 26314b8
Author: Nicolas JOURDEN <nicolas.jourden at laposte.net>
Date:   Tue Nov 17 15:12:47 2015 +0100

    Merge branch 'GPSd'

commit 26314b8c3fb08e1f0017ee9a6277b7fe370bf2a0
Author: Nicolas JOURDEN <nicolas.jourden at laposte.net>
Date:   Tue Nov 10 15:59:08 2015 +0100

    Initial support of GPSd in collectd.




More information about the collectd-changes mailing list