Code

collectd.git
8 years agocollectd.c: dirlen is unsigned
Ruben Kerkhof [Sat, 23 Apr 2016 10:01:27 +0000 (12:01 +0200)]
collectd.c: dirlen is unsigned

[src/daemon/collectd.c:199]: (style) Checking if unsigned variable 'dirlen' is less than zero.

8 years agocommon.c: fields_num is unsigned
Ruben Kerkhof [Sat, 23 Apr 2016 10:00:37 +0000 (12:00 +0200)]
common.c: fields_num is unsigned

[src/daemon/common.c:338]: (style) Checking if unsigned variable 'fields_num' is less than zero.

8 years agocommon_test.c: sfree always sets ptr to NULL
Ruben Kerkhof [Sat, 23 Apr 2016 09:59:27 +0000 (11:59 +0200)]
common_test.c: sfree always sets ptr to NULL

[src/daemon/common_test.c:93]: (style) Condition 'ptr==0' is always true

8 years agoplugin.c: fix potential null pointer dereference
Ruben Kerkhof [Sat, 23 Apr 2016 09:57:25 +0000 (11:57 +0200)]
plugin.c: fix potential null pointer dereference

[src/daemon/plugin.c:2095] -> [src/daemon/plugin.c:2091]: (warning) Either the condition 'vl==0' is redundant or there is possible null pointer dereference: vl.

8 years agoutils_ignorelist.c: remove useless assignment
Ruben Kerkhof [Sat, 23 Apr 2016 09:52:02 +0000 (11:52 +0200)]
utils_ignorelist.c: remove useless assignment

[src/daemon/utils_ignorelist.c:238]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?

8 years agodbi plugin: remove assignment with no effect
Ruben Kerkhof [Sat, 23 Apr 2016 09:49:58 +0000 (11:49 +0200)]
dbi plugin: remove assignment with no effect

[src/dbi.c:513] -> [src/dbi.c:518]: (performance) Variable 'res' is reassigned a value before the old one has been used.

8 years agoliboconfig/oconfig.c: remove unneeded assigment
Ruben Kerkhof [Sat, 23 Apr 2016 09:44:41 +0000 (11:44 +0200)]
liboconfig/oconfig.c: remove unneeded assigment

[src/liboconfig/oconfig.c:224]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?

8 years agomemcachec plugin: prev can't be NULL here
Ruben Kerkhof [Sat, 23 Apr 2016 09:39:47 +0000 (11:39 +0200)]
memcachec plugin: prev can't be NULL here

[src/memcachec.c:392] -> [src/memcachec.c:390]: (warning) Either the condition 'prev!=0' is redundant or there is possible null pointer dereference: prev.

8 years agoopenvpn plugin: plug leak on realloc failure
Ruben Kerkhof [Sat, 23 Apr 2016 09:35:26 +0000 (11:35 +0200)]
openvpn plugin: plug leak on realloc failure

[src/openvpn.c:715]: (error) Common realloc mistake: 'vpn_list' nulled but not freed upon failure

8 years agoopenvpn plugin: use sizeof(*pointer) instead of sizeof(type)
Ruben Kerkhof [Sat, 23 Apr 2016 09:30:57 +0000 (11:30 +0200)]
openvpn plugin: use sizeof(*pointer) instead of sizeof(type)

8 years agoopenvpn plugin: remove unnecessary cast
Ruben Kerkhof [Sat, 23 Apr 2016 09:30:19 +0000 (11:30 +0200)]
openvpn plugin: remove unnecessary cast

8 years agomemcached plugin: remove assignment with no effect
Ruben Kerkhof [Sat, 23 Apr 2016 09:27:12 +0000 (11:27 +0200)]
memcached plugin: remove assignment with no effect

[src/memcached.c:176] -> [src/memcached.c:180]: (performance) Variable 'fd' is reassigned a value before the old one has been used.

8 years agonetwork plugin: output_len is unsigned
Ruben Kerkhof [Sat, 23 Apr 2016 09:24:08 +0000 (11:24 +0200)]
network plugin: output_len is unsigned

[src/network.c:937]: (style) Checking if unsigned variable 'output_len' is less than zero.

8 years agoperl plugin: remove assignments with no effect
Ruben Kerkhof [Sat, 23 Apr 2016 09:22:00 +0000 (11:22 +0200)]
perl plugin: remove assignments with no effect

[src/perl.c:2079] -> [src/perl.c:2082]: (performance) Variable 't' is reassigned a value before the old one has been used.

8 years agoprocesses plugin: check boundary first
Ruben Kerkhof [Sat, 23 Apr 2016 09:13:02 +0000 (11:13 +0200)]
processes plugin: check boundary first

[src/processes.c:1042]: (style) Array index 'name_start_pos' is used before limits check.

8 years agosnmp plugin: initialize res sooner
Ruben Kerkhof [Sat, 23 Apr 2016 09:10:25 +0000 (11:10 +0200)]
snmp plugin: initialize res sooner

8 years agosnmp plugin: remove statement with no effect
Ruben Kerkhof [Sat, 23 Apr 2016 09:08:56 +0000 (11:08 +0200)]
snmp plugin: remove statement with no effect

res has local scope, and we return immediately after.

8 years agosnmp plugin: res can't be NULL here
Ruben Kerkhof [Sat, 23 Apr 2016 09:07:38 +0000 (11:07 +0200)]
snmp plugin: res can't be NULL here

[src/snmp.c:1761] -> [src/snmp.c:1777]: (warning) Either the condition 'res!=0' is redundant or there is possible null pointer dereference: res.

8 years agothreshold.c: remove assignment with no effect.
Ruben Kerkhof [Sat, 23 Apr 2016 09:00:31 +0000 (11:00 +0200)]
threshold.c: remove assignment with no effect.

[src/threshold.c:81] -> [src/threshold.c:87]: (performance) Variable 'th_ptr' is reassigned a value before the old one has been used.

8 years agoutils_db_query.c: plug leak on error
Ruben Kerkhof [Sat, 23 Apr 2016 08:57:08 +0000 (10:57 +0200)]
utils_db_query.c: plug leak on error

8 years agoutils_db_query.c: remove unnecessary cast
Ruben Kerkhof [Sat, 23 Apr 2016 08:56:10 +0000 (10:56 +0200)]
utils_db_query.c: remove unnecessary cast

8 years agonetwork plugin: fd_num is unsigned
Ruben Kerkhof [Sat, 23 Apr 2016 08:52:22 +0000 (10:52 +0200)]
network plugin: fd_num is unsigned

[src/network.c:2314]: (style) Checking if unsigned variable 'fd_num' is less than zero.

8 years agonginx plugin: len is unsigned
Ruben Kerkhof [Sat, 23 Apr 2016 08:50:48 +0000 (10:50 +0200)]
nginx plugin: len is unsigned

[src/nginx.c:74]: (style) Checking if unsigned variable 'len' is less than zero.

8 years agoolsrd plugin: buffer_len is unsigned
Ruben Kerkhof [Sat, 23 Apr 2016 08:48:11 +0000 (10:48 +0200)]
olsrd plugin: buffer_len is unsigned

[src/olsrd.c:666]: (style) Checking if unsigned variable 'buffer_len' is less than zero.

8 years agoprocesses plugin: ps->num_lwp is unsigned long
Ruben Kerkhof [Sat, 23 Apr 2016 08:46:29 +0000 (10:46 +0200)]
processes plugin: ps->num_lwp is unsigned long

[src/processes.c:1095]: (style) Checking if unsigned variable 'num_lwp' is less than zero.

8 years agoprocesses plugin: len is unsigned
Ruben Kerkhof [Sat, 23 Apr 2016 08:44:43 +0000 (10:44 +0200)]
processes plugin: len is unsigned

[src/processes.c:1219]: (style) Checking if unsigned variable 'len' is less than zero.

8 years agoutils_db_query.c: r->instances_num is unsigned
Ruben Kerkhof [Sat, 23 Apr 2016 08:42:52 +0000 (10:42 +0200)]
utils_db_query.c: r->instances_num is unsigned

[src/utils_db_query.c:237]: (style) Checking if unsigned variable 'instances_num' is less than zero.

8 years agoutils_format_json.c: offset is unsigned
Ruben Kerkhof [Sat, 23 Apr 2016 08:41:07 +0000 (10:41 +0200)]
utils_format_json.c: offset is unsigned

[src/utils_format_json.c:300]: (style) Checking if unsigned variable 'offset' is less than zero.

8 years agorrdcreate.c: ds_num is unsigned
Ruben Kerkhof [Sat, 23 Apr 2016 08:40:01 +0000 (10:40 +0200)]
rrdcreate.c: ds_num is unsigned

[src/utils_rrdcreate.c:358]: (style) Checking if unsigned variable 'ds_num' is less than zero.

8 years agowrite_graphite: send_buf_fill is unsigned
Ruben Kerkhof [Sat, 23 Apr 2016 08:38:35 +0000 (10:38 +0200)]
write_graphite: send_buf_fill is unsigned

[src/write_graphite.c:183]: (style) Checking if unsigned variable 'send_buf_fill' is less than zero.

8 years agowrite_http plugin: send_buffer_fill is unsigned
Ruben Kerkhof [Sat, 23 Apr 2016 08:36:50 +0000 (10:36 +0200)]
write_http plugin: send_buffer_fill is unsigned

8 years agowrite_tsdb plugin: send_buf_fill can't be < 0
Ruben Kerkhof [Sat, 23 Apr 2016 08:35:23 +0000 (10:35 +0200)]
write_tsdb plugin: send_buf_fill can't be < 0

[src/write_tsdb.c:145]: (style) Checking if unsigned variable 'send_buf_fill' is less than zero.

8 years agozone plugin: plug leak on error
Ruben Kerkhof [Sat, 23 Apr 2016 08:32:36 +0000 (10:32 +0200)]
zone plugin: plug leak on error

[src/zone.c:124]: (error) Memory leak: ret

8 years agozookeeper plugin: remove useless initialization
Ruben Kerkhof [Sat, 23 Apr 2016 08:28:27 +0000 (10:28 +0200)]
zookeeper plugin: remove useless initialization

[src/zookeeper.c:162] -> [src/zookeeper.c:166]: (performance) Variable 'sk' is reassigned a value before the old one has been used.

8 years agodaemon/common.c: remove unused function
Ruben Kerkhof [Sat, 23 Apr 2016 08:25:40 +0000 (10:25 +0200)]
daemon/common.c: remove unused function

Found with cppcheck

8 years agoMerge remote-tracking branch 'origin/pr/1239'
Marc Fournier [Fri, 22 Apr 2016 20:22:44 +0000 (22:22 +0200)]
Merge remote-tracking branch 'origin/pr/1239'

8 years agoMerge pull request #1608 from rpv-tomsk/plugin-xencpu-public
Ruben Kerkhof [Thu, 21 Apr 2016 20:19:10 +0000 (22:19 +0200)]
Merge pull request #1608 from rpv-tomsk/plugin-xencpu-public

xencpu plugin: RFC release

8 years agoxencpu plugin: Plugin to collect CPU load under Xen
Pavel Rochnyack [Mon, 7 Mar 2016 05:47:14 +0000 (12:47 +0700)]
xencpu plugin: Plugin to collect CPU load under Xen

  Fixed remarks of code review:
  * Removed static pointer initialization
  * Tabs replaced by spaces
  * Added check for xenctrl.h
  * Changed order of libraries check, added argument quotes
  * Added plugin documentation

8 years agoconfigure.ac: fix typo
Marc Fournier [Tue, 19 Apr 2016 14:08:44 +0000 (16:08 +0200)]
configure.ac: fix typo

8 years agoRPM specfile: temporarily disable building write_riemann
Marc Fournier [Tue, 19 Apr 2016 13:51:48 +0000 (15:51 +0200)]
RPM specfile: temporarily disable building write_riemann

cf. #986

8 years agowrite_kafka: botch previous commit, spotted by @ciomaire
Pierre-Yves Ritschard [Mon, 18 Apr 2016 13:34:25 +0000 (15:34 +0200)]
write_kafka: botch previous commit, spotted by @ciomaire

8 years agoMerge pull request #1672 from collectd/feature/recent-rdkafka
Pierre-Yves Ritschard [Mon, 18 Apr 2016 12:51:32 +0000 (14:51 +0200)]
Merge pull request #1672 from collectd/feature/recent-rdkafka

write_kafka: do not call depreciated functions unless necessary

8 years agowrite_kafka: do not call depreciated functions unless necessary
Pierre-Yves Ritschard [Mon, 18 Apr 2016 12:50:28 +0000 (14:50 +0200)]
write_kafka: do not call depreciated functions unless necessary

8 years agoMerge pull request #986 from algernon/f/riemann/rcc
Pierre-Yves Ritschard [Mon, 18 Apr 2016 08:11:36 +0000 (10:11 +0200)]
Merge pull request #986 from algernon/f/riemann/rcc

write_riemann: TLS support via riemann-c-client

8 years agoMerge branch 'master' into f/riemann/rcc
Pierre-Yves Ritschard [Mon, 18 Apr 2016 08:10:47 +0000 (10:10 +0200)]
Merge branch 'master' into f/riemann/rcc

8 years agoplugin.c: fix indentation of comment
Ruben Kerkhof [Sat, 16 Apr 2016 13:14:09 +0000 (15:14 +0200)]
plugin.c: fix indentation of comment

8 years agovirt plugin: compare pointer to NULL, not 0
Ruben Kerkhof [Sat, 16 Apr 2016 11:54:16 +0000 (13:54 +0200)]
virt plugin: compare pointer to NULL, not 0

Found with coccinelle

8 years agoturbostat plugin: reset the right variable
Ruben Kerkhof [Sat, 16 Apr 2016 11:52:34 +0000 (13:52 +0200)]
turbostat plugin: reset the right variable

8 years agotail_csv plugin: set pointer to NULL not 0
Ruben Kerkhof [Sat, 16 Apr 2016 11:49:01 +0000 (13:49 +0200)]
tail_csv plugin: set pointer to NULL not 0

Found with coccinelle

8 years agocollectctl: compare pointer with NULL not 0
Ruben Kerkhof [Sat, 16 Apr 2016 11:46:07 +0000 (13:46 +0200)]
collectctl: compare pointer with NULL not 0

Found with coccinelle

8 years agopyvalues.c: remove unneccesary semicolon
Ruben Kerkhof [Sat, 16 Apr 2016 11:58:02 +0000 (13:58 +0200)]
pyvalues.c: remove unneccesary semicolon

Found with Coccinelle

8 years agoconfigure.ac: indent plugin list
Ruben Kerkhof [Fri, 15 Apr 2016 19:43:57 +0000 (21:43 +0200)]
configure.ac: indent plugin list

8 years agoconfigure.ac: keep plugin lists sorted
Ruben Kerkhof [Fri, 15 Apr 2016 19:27:10 +0000 (21:27 +0200)]
configure.ac: keep plugin lists sorted

8 years agoMerge branch 'collectd-5.5'
Ruben Kerkhof [Fri, 15 Apr 2016 19:04:04 +0000 (21:04 +0200)]
Merge branch 'collectd-5.5'

8 years agoMerge branch 'collectd-5.4' into collectd-5.5
Ruben Kerkhof [Fri, 15 Apr 2016 19:03:46 +0000 (21:03 +0200)]
Merge branch 'collectd-5.4' into collectd-5.5

8 years agofix potential curl plugin curl_slist_append memory leak
Brandon Arp [Fri, 15 Apr 2016 18:37:44 +0000 (11:37 -0700)]
fix potential curl plugin curl_slist_append memory leak

make sure that we dont leak memory if curl_slist_append returns null

8 years agoMerge pull request #1634 from BrandonArp/add_write_http_headers
Ruben Kerkhof [Fri, 15 Apr 2016 18:40:11 +0000 (20:40 +0200)]
Merge pull request #1634 from BrandonArp/add_write_http_headers

add http headers functionality to write_http plugin

8 years agoadd http headers functionality to write_http plugin
Brandon Arp [Thu, 24 Mar 2016 23:44:46 +0000 (16:44 -0700)]
add http headers functionality to write_http plugin

8 years agocollectd.service: correct comment
Ruben Kerkhof [Fri, 15 Apr 2016 11:22:38 +0000 (13:22 +0200)]
collectd.service: correct comment

We don't actually wait 10 seconds. The default is 100ms.

8 years agocollectd.service: wait for network-online.target
Ruben Kerkhof [Fri, 15 Apr 2016 10:14:09 +0000 (12:14 +0200)]
collectd.service: wait for network-online.target

Wait for network-online.target, not network.target
See https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/

8 years agocollectd.service: extend Description
Ruben Kerkhof [Fri, 15 Apr 2016 10:13:27 +0000 (12:13 +0200)]
collectd.service: extend Description

8 years agocollectd.service: add links to man pages
Ruben Kerkhof [Fri, 15 Apr 2016 10:13:04 +0000 (12:13 +0200)]
collectd.service: add links to man pages

8 years agoMerge pull request #1208 from jy2wong/master
Ruben Kerkhof [Fri, 15 Apr 2016 09:49:57 +0000 (11:49 +0200)]
Merge pull request #1208 from jy2wong/master

Fix void* arithmetic warning (-Wpointer-arith)

8 years agoMerge branch 'collectd-5.5'
Ruben Kerkhof [Fri, 15 Apr 2016 09:32:49 +0000 (11:32 +0200)]
Merge branch 'collectd-5.5'

8 years agoMerge branch 'collectd-5.4' into collectd-5.5
Ruben Kerkhof [Fri, 15 Apr 2016 09:32:22 +0000 (11:32 +0200)]
Merge branch 'collectd-5.4' into collectd-5.5

8 years agoFix process plugin memory leak [solaris]
Jim Quinn [Mon, 21 Mar 2016 16:40:24 +0000 (12:40 -0400)]
Fix process plugin memory leak [solaris]

8 years agowrite_riemann: add documentation
Pierre-Yves Ritschard [Fri, 15 Apr 2016 08:32:41 +0000 (10:32 +0200)]
write_riemann: add documentation

8 years agowrite_riemann: do not read responses twice
Pierre-Yves Ritschard [Thu, 14 Apr 2016 08:13:00 +0000 (10:13 +0200)]
write_riemann: do not read responses twice

8 years agowrite_riemann: do not deadlock when sending from flush
Pierre-Yves Ritschard [Thu, 14 Apr 2016 08:12:27 +0000 (10:12 +0200)]
write_riemann: do not deadlock when sending from flush

8 years agowrite_riemann: add a BatchFlushTimeout option
Pierre-Yves Ritschard [Thu, 14 Apr 2016 08:11:18 +0000 (10:11 +0200)]
write_riemann: add a BatchFlushTimeout option

8 years agowrite_riemann: kill old protobuf files
Pierre-Yves Ritschard [Thu, 14 Apr 2016 08:09:38 +0000 (10:09 +0200)]
write_riemann: kill old protobuf files

8 years agoMerge pull request #1 from pyr/f/riemann/rcc
Gergely Nagy [Thu, 14 Apr 2016 07:55:38 +0000 (09:55 +0200)]
Merge pull request #1 from pyr/f/riemann/rcc

write_riemann: avoid deadlocks, rate limit log messages.

8 years agowrite_riemann: reorder host struct
Pierre-Yves Ritschard [Wed, 13 Apr 2016 21:22:33 +0000 (23:22 +0200)]
write_riemann: reorder host struct

8 years agowrite_riemann: use a single complaint field for send errors
Pierre-Yves Ritschard [Wed, 13 Apr 2016 21:15:29 +0000 (23:15 +0200)]
write_riemann: use a single complaint field for send errors

8 years agowrite_riemann: use the complain mechanism to rate limit connection failure logs
Pierre-Yves Ritschard [Wed, 13 Apr 2016 20:59:51 +0000 (22:59 +0200)]
write_riemann: use the complain mechanism to rate limit connection failure logs

8 years agowrite_riemann: avoid deadlock on connection failures
Pierre-Yves Ritschard [Wed, 13 Apr 2016 20:17:57 +0000 (22:17 +0200)]
write_riemann: avoid deadlock on connection failures

8 years agoFix segfault in network plugin
Ruben Kerkhof [Wed, 13 Apr 2016 16:33:08 +0000 (18:33 +0200)]
Fix segfault in network plugin

While cleaning up malloc calls in 1ebf2f31, I cleaned up one too many.

Fixes #1667

8 years agowrite_riemann: Add support for timeouts
Gergely Nagy [Thu, 7 Apr 2016 06:59:08 +0000 (08:59 +0200)]
write_riemann: Add support for timeouts

Bump the riemann-c-client requirement to 1.8.0, which introduces
riemann_client_set_timeout(). With this in place, the plugin can now
accept the "Timeout" option, which specifies a timeout in seconds, for
all blocking operations (except TLS handshake).

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years agoMerge pull request #1627 from rubenk/remove-old-filter-syntax-from-manpage
Marc Fournier [Wed, 6 Apr 2016 19:40:37 +0000 (21:40 +0200)]
Merge pull request #1627 from rubenk/remove-old-filter-syntax-from-manpage

Remove broken filter syntax from collectd.conf(5)

8 years agoMerge pull request #1553 from aerusso/master
Ruben Kerkhof [Wed, 6 Apr 2016 18:10:23 +0000 (20:10 +0200)]
Merge pull request #1553 from aerusso/master

Suppress spammy debug messages of #664

8 years agoMerge pull request #1547 from nydr/patch-1
Ruben Kerkhof [Wed, 6 Apr 2016 10:11:05 +0000 (12:11 +0200)]
Merge pull request #1547 from nydr/patch-1

Organize types.db

8 years agoMerge pull request #1656 from kev009/target_set_add_meta
Ruben Kerkhof [Wed, 6 Apr 2016 10:05:53 +0000 (12:05 +0200)]
Merge pull request #1656 from kev009/target_set_add_meta

Added MetaDataSet to target_set

8 years agoSort order after cherry-picks
nydr [Wed, 6 Apr 2016 08:22:54 +0000 (10:22 +0200)]
Sort order after cherry-picks

8 years agoSort types.db
nydr [Wed, 10 Feb 2016 13:11:02 +0000 (14:11 +0100)]
Sort types.db

Sort types.db

8 years agoAlign types.db indentation
nydr [Wed, 10 Feb 2016 13:07:53 +0000 (14:07 +0100)]
Align types.db indentation

Align types.db indentation

8 years agodisk plugin: fix build on Solaris
Ruben Kerkhof [Wed, 6 Apr 2016 08:10:59 +0000 (10:10 +0200)]
disk plugin: fix build on Solaris

  CC       disk_la-disk.lo
disk.c:296:13: error: ‘submit_io_time’ defined but not used
[-Werror=unused-function]
 static void submit_io_time (char const *plugin_instance, derive_t
io_time, derive_t weighted_time)
             ^
cc1: all warnings being treated as errors

Thanks @dago for letting me know.

8 years agoBump version to latest 5.5.1 #1536
Pmoranga [Wed, 23 Mar 2016 14:43:26 +0000 (15:43 +0100)]
Bump version to latest 5.5.1 #1536
(cherry picked from commit 238419ac27bcd991cebd021d25706b78d7edd182)

8 years agowrite_riemann: Use riemann-c-client 1.6.0+
Gergely Nagy [Wed, 6 Apr 2016 07:14:19 +0000 (09:14 +0200)]
write_riemann: Use riemann-c-client 1.6.0+

Use a newer version of riemann-c-client, so that we can use
riemann_message_get_packed_size(), which was introduced partly to support
collectd's use of the library.

Also use riemann_event_string_attribute_add(), introduced in the same version,
to make a lot of the code simpler.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years agowrite_riemann: Use riemann-c-client
Gergely Nagy [Tue, 5 Apr 2016 07:26:24 +0000 (09:26 +0200)]
write_riemann: Use riemann-c-client

Instead of implementing a collectd-specific riemann client, use the
riemann-c-client library to talk to Riemann.

This also adds support for TLS, as an added bonus, and makes it easier to
improve the plugin later on.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years agoMerge pull request #1631 from pmoranga/patch-1
Ruben Kerkhof [Wed, 6 Apr 2016 07:21:20 +0000 (09:21 +0200)]
Merge pull request #1631 from pmoranga/patch-1

Bump version on spec file to latest 5.5.1 #1536

8 years agoAddress meta_data style review
Kevin Bowling [Wed, 6 Apr 2016 06:25:51 +0000 (23:25 -0700)]
Address meta_data style review

8 years agoMerge branch 'ym/target_set_add_meta' of github.com:ymettier/collectd into target_set...
Kevin Bowling [Wed, 6 Apr 2016 06:20:48 +0000 (23:20 -0700)]
Merge branch 'ym/target_set_add_meta' of github.com:ymettier/collectd into target_set_add_meta

8 years agoAdd pkg-config to list of prerequisites
Ruben Kerkhof [Mon, 4 Apr 2016 18:20:39 +0000 (20:20 +0200)]
Add pkg-config to list of prerequisites

8 years agoMerge pull request #1650 from kev009/freebsd-io-time
Ruben Kerkhof [Mon, 4 Apr 2016 09:34:37 +0000 (11:34 +0200)]
Merge pull request #1650 from kev009/freebsd-io-time

Submit FreeBSD disk IO time

8 years agoAdd FreeBSD submit_io_time to disk plugin
Kevin Bowling [Mon, 4 Apr 2016 09:13:08 +0000 (02:13 -0700)]
Add FreeBSD submit_io_time to disk plugin

8 years agoMove submit_io_time outside of KERNEL_LINUX
Kevin Bowling [Mon, 4 Apr 2016 09:11:33 +0000 (02:11 -0700)]
Move submit_io_time outside of KERNEL_LINUX

8 years agoGenericJMX: fix potential dereference after NPE
Ruben Kerkhof [Sat, 2 Apr 2016 15:00:34 +0000 (17:00 +0200)]
GenericJMX: fix potential dereference after NPE

Fixes CID #41723

8 years agowrite_sensu: initialize ret_str
Ruben Kerkhof [Sat, 2 Apr 2016 14:53:16 +0000 (16:53 +0200)]
write_sensu: initialize ret_str

Else we might free an uninitialized ptr
CID #81392

8 years agogmond plugin: check remaining setsockopt calls
Ruben Kerkhof [Sat, 2 Apr 2016 14:29:59 +0000 (16:29 +0200)]
gmond plugin: check remaining setsockopt calls

Fixes CID #38112

8 years agowrite_sensu: fix resource leaks on error
Ruben Kerkhof [Sat, 2 Apr 2016 13:53:15 +0000 (15:53 +0200)]
write_sensu: fix resource leaks on error

Fixes CID #37998