]> git.ipfire.org Git - thirdparty/collectd.git/log
thirdparty/collectd.git
10 years agosrc/daemon/plugin.c: Use sfree() exclusively.
Florian Forster [Tue, 1 Dec 2015 10:27:13 +0000 (11:27 +0100)] 
src/daemon/plugin.c: Use sfree() exclusively.

Fixes: #1110
10 years agoMerge branch 'collectd-5.4' into collectd-5.5
Marc Fournier [Mon, 30 Nov 2015 21:58:29 +0000 (22:58 +0100)] 
Merge branch 'collectd-5.4' into collectd-5.5

10 years agoirq plugin: close file descriptor on failure
Ruben Kerkhof [Sat, 28 Nov 2015 22:17:59 +0000 (23:17 +0100)] 
irq plugin: close file descriptor on failure

CID 38018

10 years agofhcount plugin: close file descriptor on failure
Ruben Kerkhof [Sat, 28 Nov 2015 22:15:24 +0000 (23:15 +0100)] 
fhcount plugin: close file descriptor on failure

10 years agomodbus plugin: fix 2 leaks on error paths
Ruben Kerkhof [Sat, 28 Nov 2015 22:07:31 +0000 (23:07 +0100)] 
modbus plugin: fix 2 leaks on error paths

10 years agofilecount plugin: fix leak on error path
Ruben Kerkhof [Sat, 28 Nov 2015 22:13:01 +0000 (23:13 +0100)] 
filecount plugin: fix leak on error path

10 years agoceph plugin: close fd on error
Ruben Kerkhof [Sat, 28 Nov 2015 19:07:03 +0000 (20:07 +0100)] 
ceph plugin: close fd on error

10 years agobind: tmp doesn't point to start of allocated memory
Ruben Kerkhof [Sat, 28 Nov 2015 18:45:42 +0000 (19:45 +0100)] 
bind: tmp doesn't point to start of allocated memory

10 years agoamqp: use the right buffer size for sstrncpy
Ruben Kerkhof [Sat, 28 Nov 2015 17:48:20 +0000 (18:48 +0100)] 
amqp: use the right buffer size for sstrncpy

buffer is a char *, not an array, so size_of returns the size
of the pointer.

10 years agopowerdns plugin: fix array initialization
Ruben Kerkhof [Sat, 28 Nov 2015 17:30:58 +0000 (18:30 +0100)] 
powerdns plugin: fix array initialization

10 years agoFix build with older version of libprotobuf-c
Ruben Kerkhof [Sat, 28 Nov 2015 13:54:54 +0000 (14:54 +0100)] 
Fix build with older version of libprotobuf-c

10 years agogcrypt: take search path into account
Ruben Kerkhof [Tue, 4 Aug 2015 13:40:34 +0000 (15:40 +0200)] 
gcrypt: take search path into account

10 years agogcrypt: remove exec-prefix check
Ruben Kerkhof [Tue, 4 Aug 2015 13:28:03 +0000 (15:28 +0200)] 
gcrypt: remove exec-prefix check

libgcrypt-config --libs already includes the correct library include path.
Also, we hardcoded it to $exec-prefix/lib, which is just plain wrong on
64bit architectures.

10 years agoprotoc: check for headers in new location as well
Ruben Kerkhof [Sun, 9 Aug 2015 17:05:25 +0000 (19:05 +0200)] 
protoc: check for headers in new location as well

Newer versions of protobuf-c have their headers in
/usr/include/protobuf-c, and a symlink from
/usr/include/google/protobuf-c/.

These symlinks will eventually disappear however, so be prepared.

10 years agoprotoc: check for libprotobuf-c as well
Ruben Kerkhof [Sun, 9 Aug 2015 17:02:25 +0000 (19:02 +0200)] 
protoc: check for libprotobuf-c as well

10 years agoprotoc: simplify configure check
Ruben Kerkhof [Sun, 9 Aug 2015 16:28:30 +0000 (18:28 +0200)] 
protoc: simplify configure check

10 years agoprotoc: slightly nicer output in silent mode
Ruben Kerkhof [Sun, 9 Aug 2015 15:23:11 +0000 (17:23 +0200)] 
protoc: slightly nicer output in silent mode

make[1]: Entering directory '/home/ruben/src/collectd/src'
  PROTOC-C     pinba.pb-c.c
  PROTOC-C     riemann.pb-c.c

10 years agoprotoc: log when compiler is missing
Ruben Kerkhof [Sun, 9 Aug 2015 15:02:33 +0000 (17:02 +0200)] 
protoc: log when compiler is missing

In the case where we do have the required headers
but don't have the compiler, this makes it more clear
that we're missing the latter.

10 years agoSilence protoc-c in silence mode
Ruben Kerkhof [Sun, 9 Aug 2015 14:09:57 +0000 (16:09 +0200)] 
Silence protoc-c in silence mode

Instead of showing the full command line, this shows:
  GEN      pinba.pb-c.c
  GEN      riemann.pb-c.c

10 years agowrite_riemann: only compile .proto files when enabled
Ruben Kerkhof [Sun, 9 Aug 2015 13:52:33 +0000 (15:52 +0200)] 
write_riemann: only compile .proto files when enabled

If the write_riemann plugin is not enabled there's no
need to compile the protobuf files.

10 years agoPinba: only compile .proto files when enabled
Ruben Kerkhof [Sun, 9 Aug 2015 13:50:55 +0000 (15:50 +0200)] 
Pinba: only compile .proto files when enabled

If the pinba plugin is not enabled there's no
need to compile the protobuf files.

10 years agoutils_mount: use reentrant getmntent_r when we can
Ruben Kerkhof [Sat, 25 Jul 2015 13:21:52 +0000 (15:21 +0200)] 
utils_mount: use reentrant getmntent_r when we can

Fixes #1162

10 years agoprocesses: initialize cswitch counters on unsupported platforms 1392/head
Marc Fournier [Mon, 30 Nov 2015 21:22:51 +0000 (22:22 +0100)] 
processes: initialize cswitch counters on unsupported platforms

This is a follow-up to e61f047e.

10 years agoSet locale environment variables at startup.
Florian Forster [Mon, 30 Nov 2015 19:27:24 +0000 (20:27 +0100)] 
Set locale environment variables at startup.

Fixes: #1237
10 years agontp plugin: Unify casting to gauge_t.
Florian Forster [Mon, 30 Nov 2015 19:02:23 +0000 (20:02 +0100)] 
ntp plugin: Unify casting to gauge_t.

Also add note about STA_NANO.

Issue: #1314.

10 years agoFix NTP kerninfo offset/estimated error scaling
Pierre Fersing [Tue, 20 Oct 2015 09:27:41 +0000 (11:27 +0200)] 
Fix NTP kerninfo offset/estimated error scaling

10 years agocpu plugin: Improve error message for host_processors() failing.
Florian Forster [Mon, 30 Nov 2015 12:31:49 +0000 (13:31 +0100)] 
cpu plugin: Improve error message for host_processors() failing.

Issue: #22

10 years agorrdtool: unlock mutex on error
Ruben Kerkhof [Sun, 29 Nov 2015 15:40:50 +0000 (16:40 +0100)] 
rrdtool: unlock mutex on error

CID 37972

Signed-off-by: Florian Forster <octo@collectd.org>
10 years agocsv plugin: plug memory leak on error
Ruben Kerkhof [Sat, 28 Nov 2015 19:19:26 +0000 (20:19 +0100)] 
csv plugin: plug memory leak on error

CID 38015

Signed-off-by: Florian Forster <octo@collectd.org>
10 years agorrdtool: release another lock on error
Ruben Kerkhof [Sun, 29 Nov 2015 17:14:28 +0000 (18:14 +0100)] 
rrdtool: release another lock on error

CID 37973

Signed-off-by: Florian Forster <octo@collectd.org>
10 years agosrc/ceph_test.c: Use the EXPECT_EQ_STR() macro.
Florian Forster [Mon, 30 Nov 2015 10:45:51 +0000 (11:45 +0100)] 
src/ceph_test.c: Use the EXPECT_EQ_STR() macro.

10 years agoMerge branch 'collectd-5.5'
Florian Forster [Mon, 30 Nov 2015 10:35:40 +0000 (11:35 +0100)] 
Merge branch 'collectd-5.5'

10 years agoceph plugin: Rewrite parse_keys() and compact_ds_name().
Florian Forster [Mon, 30 Nov 2015 10:25:48 +0000 (11:25 +0100)] 
ceph plugin: Rewrite parse_keys() and compact_ds_name().

This rewrite removes the logic to add the original length to the end of
the buffer in case of truncation. This logic was guarded by:
  tmp[DATA_MAX_NAME_LEN - 1] = '\0';
  if(strlen(tmp) > DATA_MAX_NAME_LEN - 1) { ... }
and was therefore dead code.

Fixes: #1350
10 years agoceph plugin: Add unit test for parse_keys().
Florian Forster [Mon, 30 Nov 2015 09:15:06 +0000 (10:15 +0100)] 
ceph plugin: Add unit test for parse_keys().

This is used to demonstrate a buffer overflow: when the first part of a
key is >63 characters, key_chars_remaining underflows and causes a buffer
overflow in the following iteration.

Issue: #1350

10 years agoMerge pull request #1388 from rubenk/curl_json
Ruben Kerkhof [Sun, 29 Nov 2015 18:08:58 +0000 (19:08 +0100)] 
Merge pull request #1388 from rubenk/curl_json

curl_json: remove dead code

10 years agoMerge pull request #1386 from rubenk/rrdtool-unlock-on-error
Ruben Kerkhof [Sun, 29 Nov 2015 18:08:40 +0000 (19:08 +0100)] 
Merge pull request #1386 from rubenk/rrdtool-unlock-on-error

rrdtool: unlock mutex on error

10 years agoMerge pull request #1387 from rubenk/redis-null-terminate-buffer
Ruben Kerkhof [Sun, 29 Nov 2015 18:08:27 +0000 (19:08 +0100)] 
Merge pull request #1387 from rubenk/redis-null-terminate-buffer

redis plugin: make sure buffer is null-terminated

10 years agocurl_json: remove dead code 1388/head
Ruben Kerkhof [Sat, 28 Nov 2015 19:27:22 +0000 (20:27 +0100)] 
curl_json: remove dead code

CID 37963

10 years agoMerge pull request #1389 from rubenk/perl-unlock-on-error
Ruben Kerkhof [Sun, 29 Nov 2015 18:05:09 +0000 (19:05 +0100)] 
Merge pull request #1389 from rubenk/perl-unlock-on-error

perl: unlock mutex on error

10 years agoMerge pull request #1385 from rubenk/gcrypt-fix
Ruben Kerkhof [Sun, 29 Nov 2015 18:04:54 +0000 (19:04 +0100)] 
Merge pull request #1385 from rubenk/gcrypt-fix

configure.ac: remove wrong gcrypt check

10 years agoopenvpn: free resource on error 1391/head
Ruben Kerkhof [Sun, 29 Nov 2015 17:27:56 +0000 (18:27 +0100)] 
openvpn: free resource on error

10 years agoopenvpn: fix error message
Ruben Kerkhof [Sun, 29 Nov 2015 17:23:17 +0000 (18:23 +0100)] 
openvpn: fix error message

10 years agoopenvpn: check return value of malloc
Ruben Kerkhof [Sun, 29 Nov 2015 17:22:30 +0000 (18:22 +0100)] 
openvpn: check return value of malloc

CID 37987

10 years agoperl: unlock mutex on error 1389/head
Ruben Kerkhof [Sun, 29 Nov 2015 17:06:33 +0000 (18:06 +0100)] 
perl: unlock mutex on error

CID 37970

10 years agoredis plugin: make sure buffer is null-terminated 1387/head
Ruben Kerkhof [Sun, 29 Nov 2015 16:52:26 +0000 (17:52 +0100)] 
redis plugin: make sure buffer is null-terminated

CID 37938

10 years agorrdtool: unlock mutex on error 1386/head
Ruben Kerkhof [Sun, 29 Nov 2015 15:40:50 +0000 (16:40 +0100)] 
rrdtool: unlock mutex on error

CID 37972

10 years agoMerge pull request #1384 from rubenk/irq-close-file-descriptor-on-failure
Ruben Kerkhof [Sun, 29 Nov 2015 12:35:12 +0000 (13:35 +0100)] 
Merge pull request #1384 from rubenk/irq-close-file-descriptor-on-failure

irq plugin: close file descriptor on failure

10 years agoMerge pull request #1383 from rubenk/fhcount-close-file-descriptor-on-failure
Ruben Kerkhof [Sun, 29 Nov 2015 12:34:56 +0000 (13:34 +0100)] 
Merge pull request #1383 from rubenk/fhcount-close-file-descriptor-on-failure

fhcount plugin: close file descriptor on failure

10 years agoMerge pull request #1382 from rubenk/modbus-fix-resource-leaks
Ruben Kerkhof [Sun, 29 Nov 2015 12:34:42 +0000 (13:34 +0100)] 
Merge pull request #1382 from rubenk/modbus-fix-resource-leaks

modbus plugin: fix 2 leaks on error paths

10 years agoMerge pull request #1381 from rubenk/filecount-fix-resource-leak
Ruben Kerkhof [Sun, 29 Nov 2015 12:34:11 +0000 (13:34 +0100)] 
Merge pull request #1381 from rubenk/filecount-fix-resource-leak

filecount plugin: fix leak on error path

10 years agoconfigure.ac: remove wrong gcrypt check 1385/head
Ruben Kerkhof [Sun, 29 Nov 2015 11:27:36 +0000 (12:27 +0100)] 
configure.ac: remove wrong gcrypt check

After all the effort to detect GCRYPT_CPPFLAGS and GCRYPT_LIBS
in previous checks, this check blindly overwrites them, even
if the AM_PATH_LIBGCRYPT macro isn't found.

Also, I think it's better to check for specific functionality in a library
than an explicit minimum version, which we already did.

10 years agoirq plugin: close file descriptor on failure 1384/head
Ruben Kerkhof [Sat, 28 Nov 2015 22:17:59 +0000 (23:17 +0100)] 
irq plugin: close file descriptor on failure

CID 38018

10 years agofhcount plugin: close file descriptor on failure 1383/head
Ruben Kerkhof [Sat, 28 Nov 2015 22:15:24 +0000 (23:15 +0100)] 
fhcount plugin: close file descriptor on failure

10 years agofilecount plugin: fix leak on error path 1381/head
Ruben Kerkhof [Sat, 28 Nov 2015 22:13:01 +0000 (23:13 +0100)] 
filecount plugin: fix leak on error path

10 years agomodbus plugin: fix 2 leaks on error paths 1382/head
Ruben Kerkhof [Sat, 28 Nov 2015 22:07:31 +0000 (23:07 +0100)] 
modbus plugin: fix 2 leaks on error paths

10 years agoMerge pull request #1380 from rubenk/csv-plug-leak-on-error-path
Ruben Kerkhof [Sat, 28 Nov 2015 20:44:05 +0000 (21:44 +0100)] 
Merge pull request #1380 from rubenk/csv-plug-leak-on-error-path

Csv plug leak on error path

10 years agoMerge pull request #1379 from rubenk/ceph-close-fd-on-error
Ruben Kerkhof [Sat, 28 Nov 2015 20:43:55 +0000 (21:43 +0100)] 
Merge pull request #1379 from rubenk/ceph-close-fd-on-error

ceph plugin: close fd on error

10 years agoMerge pull request #1378 from rubenk/bind-dont-free-invalid-pointer
Ruben Kerkhof [Sat, 28 Nov 2015 20:43:44 +0000 (21:43 +0100)] 
Merge pull request #1378 from rubenk/bind-dont-free-invalid-pointer

bind: tmp doesn't point to start of allocated memory

10 years agoMerge pull request #1377 from rubenk/mqtt-fix-out-of-bounds-write
Ruben Kerkhof [Sat, 28 Nov 2015 20:43:29 +0000 (21:43 +0100)] 
Merge pull request #1377 from rubenk/mqtt-fix-out-of-bounds-write

mqtt: fix an out-of-bounds write

10 years agoMerge pull request #1376 from rubenk/amqp-fix-buffer-size
Ruben Kerkhof [Sat, 28 Nov 2015 20:43:17 +0000 (21:43 +0100)] 
Merge pull request #1376 from rubenk/amqp-fix-buffer-size

amqp: use the right buffer size for sstrncpy

10 years agoMerge pull request #1375 from rubenk/redis-unlock-lock
Ruben Kerkhof [Sat, 28 Nov 2015 20:43:02 +0000 (21:43 +0100)] 
Merge pull request #1375 from rubenk/redis-unlock-lock

write_redis: don't return with lock held

10 years agoMerge pull request #1374 from rubenk/powerdns-fix-array-initialization
Ruben Kerkhof [Sat, 28 Nov 2015 20:42:50 +0000 (21:42 +0100)] 
Merge pull request #1374 from rubenk/powerdns-fix-array-initialization

powerdns plugin: fix array initialization

10 years agocsv plugin: remove trailing whitespace 1380/head
Ruben Kerkhof [Sat, 28 Nov 2015 19:21:16 +0000 (20:21 +0100)] 
csv plugin: remove trailing whitespace

10 years agocsv plugin: plug memory leak on error
Ruben Kerkhof [Sat, 28 Nov 2015 19:19:26 +0000 (20:19 +0100)] 
csv plugin: plug memory leak on error

CID 38015

10 years agoceph plugin: close fd on error 1379/head
Ruben Kerkhof [Sat, 28 Nov 2015 19:07:03 +0000 (20:07 +0100)] 
ceph plugin: close fd on error

10 years agobind: tmp doesn't point to start of allocated memory 1378/head
Ruben Kerkhof [Sat, 28 Nov 2015 18:45:42 +0000 (19:45 +0100)] 
bind: tmp doesn't point to start of allocated memory

10 years agomqtt: fix an out-of-bounds write 1377/head
Ruben Kerkhof [Sat, 28 Nov 2015 17:59:17 +0000 (18:59 +0100)] 
mqtt: fix an out-of-bounds write

CID 37990

10 years agoamqp: use the right buffer size for sstrncpy 1376/head
Ruben Kerkhof [Sat, 28 Nov 2015 17:48:20 +0000 (18:48 +0100)] 
amqp: use the right buffer size for sstrncpy

buffer is a char *, not an array, so size_of returns the size
of the pointer.

10 years agowrite_redis: don't return with lock held 1375/head
Ruben Kerkhof [Sat, 28 Nov 2015 17:37:15 +0000 (18:37 +0100)] 
write_redis: don't return with lock held

10 years agopowerdns plugin: fix array initialization 1374/head
Ruben Kerkhof [Sat, 28 Nov 2015 17:30:58 +0000 (18:30 +0100)] 
powerdns plugin: fix array initialization

10 years agoMerge pull request #1371 from rubenk/mqtt-plug-leak
Ruben Kerkhof [Sat, 28 Nov 2015 16:16:44 +0000 (17:16 +0100)] 
Merge pull request #1371 from rubenk/mqtt-plug-leak

mqtt: plug leak on error path

10 years agoFix build with older version of libprotobuf-c
Ruben Kerkhof [Sat, 28 Nov 2015 13:54:54 +0000 (14:54 +0100)] 
Fix build with older version of libprotobuf-c

10 years agoRevert "Set bugreport url and homepage url"
Ruben Kerkhof [Sat, 28 Nov 2015 13:07:29 +0000 (14:07 +0100)] 
Revert "Set bugreport url and homepage url"

The net-snmp public headers are generated by autoconf
so they also define PACKAGE_URL (and lots more).

Apparently this is completely normal and documented at
http://www.net-snmp.org/tutorial/tutorial-5/toolkit/autoconf/index.html

This reverts commit e16e805eae42f911a6f9ab81420fcaf1a957810f.

10 years agoMerge pull request #1199 from rubenk/remove-gcrypt-exec-prefix-check
Ruben Kerkhof [Sat, 28 Nov 2015 12:33:02 +0000 (13:33 +0100)] 
Merge pull request #1199 from rubenk/remove-gcrypt-exec-prefix-check

Remove gcrypt exec prefix check

10 years agoMerge pull request #1210 from rubenk/protoc
Ruben Kerkhof [Sat, 28 Nov 2015 12:32:24 +0000 (13:32 +0100)] 
Merge pull request #1210 from rubenk/protoc

Protoc

10 years agomqtt: plug leak on error path 1371/head
Ruben Kerkhof [Sat, 28 Nov 2015 12:29:08 +0000 (13:29 +0100)] 
mqtt: plug leak on error path

10 years agoMerge pull request #958 from rubenk/fix-version-gen-sh
Ruben Kerkhof [Sat, 28 Nov 2015 12:25:10 +0000 (13:25 +0100)] 
Merge pull request #958 from rubenk/fix-version-gen-sh

Only run git describe when we're in a git repo

10 years agoOnly run git describe when we're in a git repo 958/head
Ruben Kerkhof [Wed, 4 Mar 2015 13:54:52 +0000 (14:54 +0100)] 
Only run git describe when we're in a git repo

This fixes an issue I see when extracting a collectd
tarball into another git repo (the Fedora collectd rpm one).
In that case version-gen.sh picked up the last tag from the Fedora
repo, which is the wrong one.

10 years agoMerge pull request #1219 from rubenk/version-gen
Ruben Kerkhof [Sat, 28 Nov 2015 12:17:38 +0000 (13:17 +0100)] 
Merge pull request #1219 from rubenk/version-gen

Some more version-gen.sh tweaks

10 years agoMerge pull request #1220 from rubenk/set-package-bugreport-and-homepage
Ruben Kerkhof [Sat, 28 Nov 2015 12:15:44 +0000 (13:15 +0100)] 
Merge pull request #1220 from rubenk/set-package-bugreport-and-homepage

Set bugreport url and homepage url

10 years agoprotoc: check for headers in new location as well 1210/head
Ruben Kerkhof [Sun, 9 Aug 2015 17:05:25 +0000 (19:05 +0200)] 
protoc: check for headers in new location as well

Newer versions of protobuf-c have their headers in
/usr/include/protobuf-c, and a symlink from
/usr/include/google/protobuf-c/.

These symlinks will eventually disappear however, so be prepared.

10 years agoprotoc: check for libprotobuf-c as well
Ruben Kerkhof [Sun, 9 Aug 2015 17:02:25 +0000 (19:02 +0200)] 
protoc: check for libprotobuf-c as well

10 years agoprotoc: simplify configure check
Ruben Kerkhof [Sun, 9 Aug 2015 16:28:30 +0000 (18:28 +0200)] 
protoc: simplify configure check

10 years agoprotoc: slightly nicer output in silent mode
Ruben Kerkhof [Sun, 9 Aug 2015 15:23:11 +0000 (17:23 +0200)] 
protoc: slightly nicer output in silent mode

make[1]: Entering directory '/home/ruben/src/collectd/src'
  PROTOC-C     pinba.pb-c.c
  PROTOC-C     riemann.pb-c.c

10 years agoprotoc: log when compiler is missing
Ruben Kerkhof [Sun, 9 Aug 2015 15:02:33 +0000 (17:02 +0200)] 
protoc: log when compiler is missing

In the case where we do have the required headers
but don't have the compiler, this makes it more clear
that we're missing the latter.

10 years agoSilence protoc-c in silence mode
Ruben Kerkhof [Sun, 9 Aug 2015 14:09:57 +0000 (16:09 +0200)] 
Silence protoc-c in silence mode

Instead of showing the full command line, this shows:
  GEN      pinba.pb-c.c
  GEN      riemann.pb-c.c

10 years agowrite_riemann: only compile .proto files when enabled
Ruben Kerkhof [Sun, 9 Aug 2015 13:52:33 +0000 (15:52 +0200)] 
write_riemann: only compile .proto files when enabled

If the write_riemann plugin is not enabled there's no
need to compile the protobuf files.

10 years agoPinba: only compile .proto files when enabled
Ruben Kerkhof [Sun, 9 Aug 2015 13:50:55 +0000 (15:50 +0200)] 
Pinba: only compile .proto files when enabled

If the pinba plugin is not enabled there's no
need to compile the protobuf files.

10 years agowrite_kafka: fix indentation 1370/head
Ruben Kerkhof [Sat, 28 Nov 2015 12:02:35 +0000 (13:02 +0100)] 
write_kafka: fix indentation

It was all over the place.
I went with 4 spaces since that's what the majority
of code used.

10 years agothe swrite interface is 'non-zero'
Sam Pointer [Wed, 25 Nov 2015 15:43:07 +0000 (15:43 +0000)] 
the swrite interface is 'non-zero'

Signed-off-by: Florian Forster <octo@collectd.org>
10 years agoMerge remote-tracking branch 'github/pr/1366'
Florian Forster [Sat, 28 Nov 2015 06:56:14 +0000 (07:56 +0100)] 
Merge remote-tracking branch 'github/pr/1366'

10 years agosnmp plugin: plug leak in error path.
Ruben Kerkhof [Fri, 27 Nov 2015 21:14:08 +0000 (22:14 +0100)] 
snmp plugin: plug leak in error path.

Partial back port of #1368.

Signed-off-by: Florian Forster <octo@collectd.org>
10 years agosnmp plugin: plug leak in error path.
Ruben Kerkhof [Fri, 27 Nov 2015 21:14:08 +0000 (22:14 +0100)] 
snmp plugin: plug leak in error path.

Partial back port of #1368.

Signed-off-by: Florian Forster <octo@collectd.org>
10 years agoprocesses.c: plug memory leak in error path
Ruben Kerkhof [Fri, 27 Nov 2015 21:00:10 +0000 (22:00 +0100)] 
processes.c: plug memory leak in error path

Found with Infer (http://fbinfer.com/)

Signed-off-by: Florian Forster <octo@collectd.org>
10 years agoTravis: switch to new Trusty environment 1366/head
Ruben Kerkhof [Fri, 27 Nov 2015 16:01:15 +0000 (17:01 +0100)] 
Travis: switch to new Trusty environment

https://docs.travis-ci.com/user/trusty-ci-environment

10 years agostatsd plugin: Implement the "CounterSum" option. 1363/head
Florian Forster [Fri, 27 Nov 2015 11:49:44 +0000 (12:49 +0100)] 
statsd plugin: Implement the "CounterSum" option.

Issues: #929, #1282, #1311

10 years agoMerge branch 'pr/1345'
Florian Forster [Fri, 27 Nov 2015 09:06:20 +0000 (10:06 +0100)] 
Merge branch 'pr/1345'

10 years agomqtt plugin: Add TLS options to the example config and improve documentation.
Florian Forster [Fri, 27 Nov 2015 09:05:48 +0000 (10:05 +0100)] 
mqtt plugin: Add TLS options to the example config and improve documentation.

10 years agomqtt plugin: Rename "TLSprotocol" to "TLSProtocol".
Florian Forster [Fri, 27 Nov 2015 09:04:35 +0000 (10:04 +0100)] 
mqtt plugin: Rename "TLSprotocol" to "TLSProtocol".

10 years agomqtt plugin: Rename "CACertificateFile" to "CACert".
Florian Forster [Fri, 27 Nov 2015 09:03:54 +0000 (10:03 +0100)] 
mqtt plugin: Rename "CACertificateFile" to "CACert".

This way the option name is consistent with the name used by the cURL
plugins.

Sorry for previous comments in #1345 that pushed towards copying Apache
HTTPd's naming schema -- being consistent within collectd is more
important.