collectd.git
9 years agoMerge pull request #647 from manuelluis/mlsr/threshold-missing_time
Pierre-Yves Ritschard [Sat, 26 Jul 2014 07:22:07 +0000 (09:22 +0200)]
Merge pull request #647 from manuelluis/mlsr/threshold-missing_time

Plugin threshold: time is not set in missing notifications.

9 years agoMerge pull request #659 from mfournier/amqp-fixups
Pierre-Yves Ritschard [Sat, 26 Jul 2014 07:19:14 +0000 (09:19 +0200)]
Merge pull request #659 from mfournier/amqp-fixups

Amqp fixups

9 years agoMerge branch 'master' of github.com:collectd/collectd
Pierre-Yves Ritschard [Sat, 26 Jul 2014 07:05:40 +0000 (09:05 +0200)]
Merge branch 'master' of github.com:collectd/collectd

9 years agoMerge pull request #674 from manuelluis/mlsr/unixsock_getthreshold
Pierre-Yves Ritschard [Sat, 26 Jul 2014 07:04:05 +0000 (09:04 +0200)]
Merge pull request #674 from manuelluis/mlsr/unixsock_getthreshold

Plugin unixsock: reenable getthreshold cmd.

9 years agoMerge branch 'mlsr/unixsock_getthreshold' of https://github.com/manuelluis/collectd
Pierre-Yves Ritschard [Sat, 26 Jul 2014 07:00:23 +0000 (09:00 +0200)]
Merge branch 'mlsr/unixsock_getthreshold' of https://github.com/manuelluis/collectd

9 years agoRenable getthreshold cmd in unixsock Plugin.
Manuel Luis Sanmartín Rozada [Fri, 25 Jul 2014 22:01:41 +0000 (00:01 +0200)]
Renable getthreshold cmd in unixsock Plugin.

9 years agoMove threshold_search and threshold_get to utils_threshold.c
Manuel Luis Sanmartín Rozada [Fri, 25 Jul 2014 20:53:40 +0000 (22:53 +0200)]
Move threshold_search and threshold_get to utils_threshold.c

9 years agomake configure summary consistent
Marc Fournier [Fri, 25 Jul 2014 20:51:10 +0000 (22:51 +0200)]
make configure summary consistent

9 years agoMerge pull request #360 from pyr/feature-log-logstash
Pierre-Yves Ritschard [Fri, 25 Jul 2014 14:32:11 +0000 (16:32 +0200)]
Merge pull request #360 from pyr/feature-log-logstash

add log_logstash plugin to emit logstash json_event messages.

9 years agodocument log_logstash
Pierre-Yves Ritschard [Fri, 25 Jul 2014 14:33:13 +0000 (16:33 +0200)]
document log_logstash

9 years agosmall typos
Pierre-Yves Ritschard [Fri, 25 Jul 2014 14:28:51 +0000 (16:28 +0200)]
small typos

9 years agoforgotten printf
Pierre-Yves Ritschard [Fri, 25 Jul 2014 14:08:13 +0000 (16:08 +0200)]
forgotten printf

9 years agoMerge pull request #660 from mfournier/logfile-log_level
Pierre-Yves Ritschard [Fri, 25 Jul 2014 14:07:04 +0000 (16:07 +0200)]
Merge pull request #660 from mfournier/logfile-log_level

Logfile log level

9 years agoavoid possibility of muting log output
Pierre-Yves Ritschard [Fri, 25 Jul 2014 14:04:08 +0000 (16:04 +0200)]
avoid possibility of muting log output

9 years agobring in AM_CPPFLAGS
Pierre-Yves Ritschard [Fri, 25 Jul 2014 14:00:22 +0000 (16:00 +0200)]
bring in AM_CPPFLAGS

9 years agosupport emitting to stdout or stderr
Pierre-Yves Ritschard [Fri, 25 Jul 2014 13:59:51 +0000 (15:59 +0200)]
support emitting to stdout or stderr

9 years agoMerge pull request #670 from pyr/feature-write-kafka
Pierre-Yves Ritschard [Fri, 25 Jul 2014 13:34:16 +0000 (15:34 +0200)]
Merge pull request #670 from pyr/feature-write-kafka

Add a write_kafka output with similar properties to the amqp one.

9 years agoMerge pull request #518 from pyr/feature-riemann-threshold
Pierre-Yves Ritschard [Fri, 25 Jul 2014 13:33:44 +0000 (15:33 +0200)]
Merge pull request #518 from pyr/feature-riemann-threshold

Feature riemann threshold

9 years agoIncluding DStypes GaugeInc and GaugeAdd for tail plugin
Andre Ferraz [Thu, 24 Jul 2014 16:02:32 +0000 (13:02 -0300)]
Including DStypes GaugeInc and GaugeAdd for tail plugin

9 years agoadd 2 missing options to example config
Marc Fournier [Thu, 24 Jul 2014 14:15:42 +0000 (16:15 +0200)]
add 2 missing options to example config

9 years agoMerge branch 'udev-disk'
Marc Fournier [Thu, 24 Jul 2014 12:51:23 +0000 (14:51 +0200)]
Merge branch 'udev-disk'

9 years agodisk: document missing option + add example
Marc Fournier [Thu, 24 Jul 2014 12:48:14 +0000 (14:48 +0200)]
disk: document missing option + add example

9 years agoadd documentation
Pierre-Yves Ritschard [Thu, 24 Jul 2014 09:54:05 +0000 (11:54 +0200)]
add documentation

9 years agoMerge pull request #639 from dothebart/fix_cpu_crash
Pierre-Yves Ritschard [Thu, 24 Jul 2014 08:08:40 +0000 (10:08 +0200)]
Merge pull request #639 from dothebart/fix_cpu_crash

CPU Percentage: after realloc the pointer becomes invalid;

9 years agoMerge pull request #666 from KiNgMaR/write_http-ssloptions
Pierre-Yves Ritschard [Thu, 24 Jul 2014 08:06:17 +0000 (10:06 +0200)]
Merge pull request #666 from KiNgMaR/write_http-ssloptions

write_http: expose more TLS options

9 years agomake kafka logs go through collectd's logging
Pierre-Yves Ritschard [Thu, 24 Jul 2014 07:46:39 +0000 (09:46 +0200)]
make kafka logs go through collectd's logging

9 years agoremove unneeded include
Pierre-Yves Ritschard [Thu, 24 Jul 2014 07:25:13 +0000 (09:25 +0200)]
remove unneeded include

9 years agorpm specfile: enable zfs_arc by default
Marc Fournier [Wed, 23 Jul 2014 21:41:10 +0000 (23:41 +0200)]
rpm specfile: enable zfs_arc by default

9 years agozfs_arc: copyright & attribution
Marc Fournier [Wed, 23 Jul 2014 21:39:20 +0000 (23:39 +0200)]
zfs_arc: copyright & attribution

9 years agozfs_arc: style consistency
Marc Fournier [Wed, 23 Jul 2014 21:38:19 +0000 (23:38 +0200)]
zfs_arc: style consistency

9 years agozfs_arc: pass reference in llist instead of value
Marc Fournier [Wed, 23 Jul 2014 21:12:11 +0000 (23:12 +0200)]
zfs_arc: pass reference in llist instead of value

This allows the actual values from getting stored, not the pointer
addresses.

9 years agoonewire: add other temperature-providing sensor families
Tomasz Torcz [Wed, 23 Jul 2014 18:17:04 +0000 (20:17 +0200)]
onewire: add other temperature-providing sensor families

9 years agozfs_arc: support for zfsonlinux
Wilfried Goesgens [Wed, 23 Jul 2014 12:15:43 +0000 (14:15 +0200)]
zfs_arc: support for zfsonlinux

fix alocation schemes so the plugin actually works
 - specify type llist_t kstat_t, so we can easily pass in our parsed data
 - read the file into one chunk of memory so we have the values available
 - count the number of lines to allocate the long pointer array
 - parse the buffer line by line.

9 years agoAdd a write_kafka output with similar properties to the amqp one.
Pierre-Yves Ritschard [Tue, 22 Jul 2014 07:39:03 +0000 (09:39 +0200)]
Add a write_kafka output with similar properties to the amqp one.

9 years agodocument new options
Pierre-Yves Ritschard [Tue, 22 Jul 2014 13:23:43 +0000 (15:23 +0200)]
document new options

9 years agomake threshold checking optional
Pierre-Yves Ritschard [Tue, 22 Jul 2014 13:23:27 +0000 (15:23 +0200)]
make threshold checking optional

9 years agoMerge branch 'master' into feature-riemann-threshold
Pierre-Yves Ritschard [Tue, 22 Jul 2014 11:55:49 +0000 (13:55 +0200)]
Merge branch 'master' into feature-riemann-threshold

9 years agoreuse main avl tree
Pierre-Yves Ritschard [Tue, 22 Jul 2014 11:53:23 +0000 (13:53 +0200)]
reuse main avl tree

9 years agoStore the avl tree within collectd core.
Pierre-Yves Ritschard [Tue, 22 Jul 2014 11:45:23 +0000 (13:45 +0200)]
Store the avl tree within collectd core.

We need this if we want modules to share access to the threshold
avl tree.

9 years agowrite_http: expose more TLS options
Ingmar Runge [Sun, 20 Jul 2014 12:15:22 +0000 (14:15 +0200)]
write_http: expose more TLS options

* adds support for client certificate authentication
* allows setting CAPath
* allows forcing a specific SSL/TLS version

9 years agopatch required to build oracle plugin, collectd-5.4.0 (#653)
KOMEDA Shinji [Wed, 25 Jun 2014 13:34:15 +0000 (22:34 +0900)]
patch required to build oracle plugin, collectd-5.4.0 (#653)

9 years agoMerge pull request #619 from Crapworks/master
Marc Fournier [Tue, 24 Jun 2014 16:11:40 +0000 (18:11 +0200)]
Merge pull request #619 from Crapworks/master

increased buffer size

9 years agocorrect typo in error message
Marc Fournier [Tue, 24 Jun 2014 15:48:26 +0000 (17:48 +0200)]
correct typo in error message

9 years agologfile: avoid total silence in case of a misconfiguration
Marc Fournier [Tue, 24 Jun 2014 15:47:08 +0000 (17:47 +0200)]
logfile: avoid total silence in case of a misconfiguration

Basically the same patch that was applied to syslog.c in 84c38056

9 years agomanpage: document 2 missing options to amqp plugin section
Marc Fournier [Tue, 24 Jun 2014 15:09:08 +0000 (17:09 +0200)]
manpage: document 2 missing options to amqp plugin section

9 years agodocument 2 new options added to amqp plugin
Marc Fournier [Tue, 24 Jun 2014 14:43:18 +0000 (16:43 +0200)]
document 2 new options added to amqp plugin

9 years agoamqp: new Queue{Durable,AutoDelete} options are subscribe-only options
Marc Fournier [Tue, 24 Jun 2014 14:38:28 +0000 (16:38 +0200)]
amqp: new Queue{Durable,AutoDelete} options are subscribe-only options

9 years agoremove quotes in example config to make all statements consistent
Marc Fournier [Tue, 24 Jun 2014 13:50:03 +0000 (15:50 +0200)]
remove quotes in example config to make all statements consistent

9 years agomention new options to cpu plugin in example config
Marc Fournier [Tue, 24 Jun 2014 13:38:12 +0000 (15:38 +0200)]
mention new options to cpu plugin in example config

9 years agoadd missing backticks which broke the build
Marc Fournier [Mon, 23 Jun 2014 16:00:01 +0000 (18:00 +0200)]
add missing backticks which broke the build

9 years agowrite_riemann: coding style consistency
Marc Fournier [Mon, 23 Jun 2014 14:47:20 +0000 (16:47 +0200)]
write_riemann: coding style consistency

Make the style in line with 50d1b34d6 (from master) and avoid later
merge conflict.

9 years agoadd brackets to the list of characters graphite chokes on
Marc Fournier [Tue, 1 Apr 2014 22:22:34 +0000 (00:22 +0200)]
add brackets to the list of characters graphite chokes on

(cherry-pick of 109cc80a to avoid a merge conflict later on)

9 years agoStatsd: avoid doing a division by zero when calculating the average if we didn't...
Wilfried Goesgens [Sat, 21 Jun 2014 19:14:28 +0000 (21:14 +0200)]
Statsd: avoid doing a division by zero when calculating the average if we didn't get any values.

9 years agodon't assume pkg-config is in PATH
Lauri Tirkkonen [Thu, 22 May 2014 11:05:40 +0000 (14:05 +0300)]
don't assume pkg-config is in PATH

9 years agoConfigparser: when we alocate an empty list, we also need to reset the counter; else...
Wilfried Goesgens [Thu, 5 Jun 2014 18:04:13 +0000 (20:04 +0200)]
Configparser: when we alocate an empty list, we also need to reset the counter; else we will trip over this later.
This fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750440

9 years agoMerge pull request #636 from dothebart/config_debug_nonsilent
Marc Fournier [Fri, 20 Jun 2014 14:48:36 +0000 (16:48 +0200)]
Merge pull request #636 from dothebart/config_debug_nonsilent

Syslog: don't go all silent on 'debug' with production binary

9 years agoAdd support for durable AMQP queues
David Blundell [Fri, 23 May 2014 19:13:52 +0000 (20:13 +0100)]
Add support for durable AMQP queues

The collectd amqp plugin allows setting messages as persistent but is hardcoded to create or use transient queues that are set to auto_delete.  This commit adds support for QueueDurable and QueueAutoDelete boolean values in the config file and changes the queue creation as appropriate.

If the values are not set in the config file, QueueDurable defaults to false and QueueAutoDelete defaults to true.

Tested with RabbitMQ 3.3.1

9 years agonetwork: set ttl before opening server sockets
Tim Laszlo [Fri, 20 Jun 2014 14:00:43 +0000 (09:00 -0500)]
network: set ttl before opening server sockets

If TimeToLive is defined in collectd.conf after Server options, the
net_config_ttl value is updated after network_config_add_server and
the desired ttl is not used.

9 years agoWarn if ttl is out of bounds
Tim Laszlo [Fri, 20 Jun 2014 13:37:19 +0000 (08:37 -0500)]
Warn if ttl is out of bounds

9 years agoFLUSH cmd: convert timeout (double) to cdtime_t
Manuel Luis Sanmartín Rozada [Thu, 19 Jun 2014 17:51:28 +0000 (19:51 +0200)]
FLUSH cmd: convert timeout (double) to cdtime_t
  as the previous call to plugin_flush

9 years agocmd PUTNOTIF time option: handle double values.
Manuel Luis Sanmartín Rozada [Thu, 19 Jun 2014 17:14:53 +0000 (19:14 +0200)]
cmd PUTNOTIF time option: handle double values.

9 years agoPlugin threshold: time is not set in missing notifications.
Manuel Luis Sanmartín Rozada [Thu, 19 Jun 2014 14:50:48 +0000 (16:50 +0200)]
Plugin threshold: time is not set in missing notifications.

9 years agoPlugin java: fix notification time conversion to cdtime_t.
Manuel Luis Sanmartín Rozada [Thu, 19 Jun 2014 13:14:02 +0000 (15:14 +0200)]
Plugin java: fix notification time conversion to cdtime_t.

9 years agoFix the conversion of time option in PUTNOTIF
Manuel Luis Sanmartín Rozada [Wed, 18 Jun 2014 22:35:02 +0000 (00:35 +0200)]
Fix the conversion of time option in PUTNOTIF
from timestamp to cdtime_t

9 years ago[METRICS-390] Make sure HostTags is initialized if not configured
Kevin Bowling [Wed, 11 Jun 2014 08:44:02 +0000 (01:44 -0700)]
[METRICS-390] Make sure HostTags is initialized if not configured

10 years agoCPU Percentage: after realloc the pointer becomes invalid; need to work on new pointer.
Wilfried Goesgens [Sat, 7 Jun 2014 14:57:50 +0000 (16:57 +0200)]
CPU Percentage: after realloc the pointer becomes invalid; need to work on new pointer.

fixes https://gist.github.com/toni-moreno/a2f80021535f87202de7

10 years agoSyslog: if we can't find the loglevel specified by the configuration string default...
Wilfried Goesgens [Sat, 7 Jun 2014 10:01:32 +0000 (12:01 +0200)]
Syslog: if we can't find the loglevel specified by the configuration string default to 'info' and warn about the unknown configuration option. no way to make syslog totaly silent anymore.

10 years ago[METRICS-390] Fix string handling for TSDB prefix and tags
Kevin Bowling [Tue, 3 Jun 2014 04:11:27 +0000 (21:11 -0700)]
[METRICS-390] Fix string handling for TSDB prefix and tags

10 years ago[METRICS-390] Add tag writing from metadata using TSDB target_set patches
Kevin Bowling [Sat, 31 May 2014 02:42:14 +0000 (19:42 -0700)]
[METRICS-390] Add tag writing from metadata using TSDB target_set patches

10 years ago[METRICS-383] Add HostTags which adds tags for all metrics from this writer
Kevin Bowling [Fri, 30 May 2014 02:58:51 +0000 (19:58 -0700)]
[METRICS-383] Add HostTags which adds tags for all metrics from this writer

10 years agoUncrustify write_tsdb
Kevin Bowling [Fri, 30 May 2014 01:15:21 +0000 (18:15 -0700)]
Uncrustify write_tsdb

10 years agoconfigure.ac: Check for newest liblvm2app symbol needed by lvm
Benjamin Gilbert [Thu, 29 May 2014 04:15:34 +0000 (00:15 -0400)]
configure.ac: Check for newest liblvm2app symbol needed by lvm

lvm_lv_get_property() was added in 2.02.75.

10 years agolvm: Avoid lvm_lv_get_attr()
Benjamin Gilbert [Thu, 29 May 2014 04:09:17 +0000 (00:09 -0400)]
lvm: Avoid lvm_lv_get_attr()

It is only available in liblvm2app >= 2.02.99, which is not in Debian
Wheezy.

10 years agoRemove _num suffix from listen_disabled_num collected value
Matt Cottingham [Sun, 25 May 2014 19:46:32 +0000 (20:46 +0100)]
Remove _num suffix from listen_disabled_num collected value

10 years agoSubmit listen_disabled_num in memcached.c
Matt Cottingham [Fri, 23 May 2014 15:23:11 +0000 (16:23 +0100)]
Submit listen_disabled_num in memcached.c

This is a counter which increments when the connection limit to
memcached is reached and a socket listen is disabled.

10 years agoFix link to memcached protocol
Matt Cottingham [Fri, 23 May 2014 15:19:51 +0000 (16:19 +0100)]
Fix link to memcached protocol

10 years agoincreased buffer size
Christian Eichelmann [Thu, 22 May 2014 10:41:36 +0000 (12:41 +0200)]
increased buffer size

10 years agoFix a few typos
Ruben Kerkhof [Sun, 11 May 2014 11:17:53 +0000 (13:17 +0200)]
Fix a few typos

10 years agowrite_http plugin: Remove custom string and boolean config handlers.
Florian Forster [Thu, 8 May 2014 13:16:54 +0000 (15:16 +0200)]
write_http plugin: Remove custom string and boolean config handlers.

10 years agoAdd DeleteSocket option in synopsis of manpage
txaj [Mon, 28 Apr 2014 16:28:41 +0000 (11:28 -0500)]
Add DeleteSocket option in synopsis of manpage

Signed-off-by: Florian Forster <octo@collectd.org>
10 years agocollection.cgi: Use -l 0 for df_complex graphs.
Sebastian Harl [Sat, 26 Apr 2014 19:37:51 +0000 (21:37 +0200)]
collection.cgi: Use -l 0 for df_complex graphs.

10 years agocollection.cgi: Added support for df_complex types.
Sebastian Harl [Sat, 26 Apr 2014 16:31:18 +0000 (18:31 +0200)]
collection.cgi: Added support for df_complex types.

10 years agocollection.cgi: Fixed apache data-sources.
Fabiano Pires [Mon, 7 Apr 2014 20:19:34 +0000 (17:19 -0300)]
collection.cgi: Fixed apache data-sources.

10 years agoexamples/myplugin: Updated to the current plugin API.
Sebastian Harl [Sat, 26 Apr 2014 14:57:40 +0000 (16:57 +0200)]
examples/myplugin: Updated to the current plugin API.

10 years ago[METRICS-383] write_tsdb plugin
Kevin Bowling [Tue, 22 Apr 2014 03:53:25 +0000 (20:53 -0700)]
[METRICS-383] write_tsdb plugin

10 years agolvm: Fix segfault if a VG contains no LVs
Benjamin Gilbert [Wed, 16 Apr 2014 20:27:07 +0000 (16:27 -0400)]
lvm: Fix segfault if a VG contains no LVs

10 years agolvm: Report used/free space for thin pools and thick snapshots
Benjamin Gilbert [Wed, 16 Apr 2014 19:00:11 +0000 (15:00 -0400)]
lvm: Report used/free space for thin pools and thick snapshots

Thin pools and traditional snapshot volumes fill up as I/O is performed
to their associated thin volumes or origins.  When they run out of free
space, things break, so it's useful to monitor their disk utilization.

Add new plugin instances for thin pool data LVs, thin pool metadata LVs,
and thick snapshot LVs, each with "used" and "free" type instances.

10 years agolvm: Ignore virtual volumes
Benjamin Gilbert [Wed, 16 Apr 2014 13:35:56 +0000 (09:35 -0400)]
lvm: Ignore virtual volumes

The sum of the sizes reported by a volume group should equal the size
of the volume group.  Virtual volumes do not directly correspond to
allocated storage (and, in fact, may be larger than the entire volume
group), so must be ignored.

10 years agolvm: Change unused return value to void
Benjamin Gilbert [Wed, 16 Apr 2014 13:47:56 +0000 (09:47 -0400)]
lvm: Change unused return value to void

10 years agoconfigure.ac: Include liblvm2app in configuration summary
Benjamin Gilbert [Tue, 15 Apr 2014 03:18:14 +0000 (23:18 -0400)]
configure.ac: Include liblvm2app in configuration summary

10 years agoadd brackets to the list of characters graphite chokes on
Marc Fournier [Tue, 1 Apr 2014 22:22:34 +0000 (00:22 +0200)]
add brackets to the list of characters graphite chokes on

10 years agoGraphite deals poorly with metric names containing quotes.
Pierre-Yves Ritschard [Fri, 24 Jan 2014 15:49:22 +0000 (16:49 +0100)]
Graphite deals poorly with metric names containing quotes.

Sanitize graphite metrics with our own escaping function,
better suited for this use-case than the one in `utils_parse_option`

10 years agocurl_json: also allow long callback names.
Marc Fournier [Mon, 31 Mar 2014 23:10:47 +0000 (01:10 +0200)]
curl_json: also allow long callback names.

This is basically the same as 2f392819, which got applied to the
curl_xml plugin a few months ago.

Fixes #582.

10 years agoFix check for htonll in configure.ac
Manuel Luis Sanmartin Rozada [Mon, 31 Mar 2014 19:08:05 +0000 (21:08 +0200)]
Fix check for htonll in configure.ac

10 years agofix for #477: Notification time gone wrong
Adrian Miron [Sat, 8 Mar 2014 16:56:11 +0000 (18:56 +0200)]
fix for #477: Notification time gone wrong

Sub-second time handling was added in collectd 5.0.0. This adds support
for this to the target_notification plugin, which got missed out at the
time.

10 years agoFix getargs declaration to compile in AIX7
Manuel Luis Sanmartín Rozada [Wed, 12 Mar 2014 14:04:39 +0000 (15:04 +0100)]
Fix getargs declaration to compile in AIX7

10 years agoAIX doesn't have MSG_DONTWAIT, define as MSG_NONBLOCK
Manuel Luis Sanmartín Rozada [Tue, 4 Mar 2014 17:27:54 +0000 (18:27 +0100)]
AIX doesn't have MSG_DONTWAIT, define as MSG_NONBLOCK

10 years agoMerge pull request #569 from manuelluis/mlsr/MSG_DONTWAIT-aix
Marc Fournier [Sun, 30 Mar 2014 22:14:44 +0000 (00:14 +0200)]
Merge pull request #569 from manuelluis/mlsr/MSG_DONTWAIT-aix

AIX doesn't have MSG_DONTWAIT, define as MSG_NONBLOCK

10 years agoMerge pull request #546 from manuelluis/mlsr/tcpconns-aix
Marc Fournier [Sun, 30 Mar 2014 22:10:44 +0000 (00:10 +0200)]
Merge pull request #546 from manuelluis/mlsr/tcpconns-aix

Fix tcp state names in AIX to be like others.

10 years agoUpdated Color to match DataSources and DSName for single-series graphs.
Joel Uckelman [Tue, 4 Mar 2014 11:07:04 +0000 (12:07 +0100)]
Updated Color to match DataSources and DSName for single-series graphs.