collectd.git
10 years agoAlso relicense all of Pierre-Yves Ritschard's work to the MIT license.
Florian Forster [Tue, 29 Jul 2014 14:10:53 +0000 (16:10 +0200)]
Also relicense all of Pierre-Yves Ritschard's work to the MIT license.

10 years agocollectd-tg: Fix license in usage output.
Florian Forster [Tue, 29 Jul 2014 14:10:01 +0000 (16:10 +0200)]
collectd-tg: Fix license in usage output.

10 years ago{GPL, other}: Relicense to MIT license.
Florian Forster [Tue, 29 Jul 2014 13:38:29 +0000 (15:38 +0200)]
{GPL, other}: Relicense to MIT license.

This change relicenses all files where the sole owner(s) are Sebastian
Harl and/or Florian Forster to the MIT license. This change happens
according to prior agreement with Sebastian.

10 years agoRename foo_test to test_foo.
Florian Forster [Thu, 24 Jul 2014 06:35:49 +0000 (08:35 +0200)]
Rename foo_test to test_foo.

10 years agosrc/Makefile.am: Expand tabs.
Florian Forster [Wed, 23 Jul 2014 10:43:36 +0000 (12:43 +0200)]
src/Makefile.am: Expand tabs.

10 years agoAdd tests for src/utils_mount.[ch].
Florian Forster [Wed, 28 Aug 2013 13:15:40 +0000 (15:15 +0200)]
Add tests for src/utils_mount.[ch].

Github: #412

10 years agoutils_heap_test: Add some tests for the heap structure.
Florian Forster [Tue, 28 May 2013 19:23:06 +0000 (21:23 +0200)]
utils_heap_test: Add some tests for the heap structure.

10 years agoTests: Make the self-rolled test framework a bit more useful and consistent.
Florian Forster [Tue, 28 May 2013 19:21:29 +0000 (21:21 +0200)]
Tests: Make the self-rolled test framework a bit more useful and consistent.

10 years agoMove tests and mocks to src/tests/{,mock/}.
Florian Forster [Tue, 28 May 2013 18:57:29 +0000 (20:57 +0200)]
Move tests and mocks to src/tests/{,mock/}.

10 years agosrc/utils_avltree_test.c: Add partial check for the AVL tree.
Florian Forster [Sat, 25 May 2013 06:43:37 +0000 (08:43 +0200)]
src/utils_avltree_test.c: Add partial check for the AVL tree.

10 years agoutils_vl_lookup_test: Fix dependencies.
Florian Forster [Wed, 22 May 2013 16:49:48 +0000 (18:49 +0200)]
utils_vl_lookup_test: Fix dependencies.

10 years agosrc/common_test.c: Add some tests for files in src/common.c.
Florian Forster [Sun, 19 May 2013 06:59:04 +0000 (08:59 +0200)]
src/common_test.c: Add some tests for files in src/common.c.

10 years agoMerge pull request #613 from rubenk/master
Pierre-Yves Ritschard [Sat, 26 Jul 2014 17:03:06 +0000 (19:03 +0200)]
Merge pull request #613 from rubenk/master

Fix a few typos

10 years agoMerge pull request #649 from manuelluis/mlsr/flush-fix_time
Pierre-Yves Ritschard [Sat, 26 Jul 2014 07:40:39 +0000 (09:40 +0200)]
Merge pull request #649 from manuelluis/mlsr/flush-fix_time

FLUSH cmd: convert timeout (double) to cdtime_t as the previous call to plugin_flush

10 years agoMerge pull request #644 from manuelluis/mlsr/putnotif-fix_time
Pierre-Yves Ritschard [Sat, 26 Jul 2014 07:36:56 +0000 (09:36 +0200)]
Merge pull request #644 from manuelluis/mlsr/putnotif-fix_time

Fix the conversion of time option in PUTNOTIF from timestamp to cdtime_t

10 years agoMerge pull request #645 from manuelluis/mlsr/java-fix_cdtime
Pierre-Yves Ritschard [Sat, 26 Jul 2014 07:36:15 +0000 (09:36 +0200)]
Merge pull request #645 from manuelluis/mlsr/java-fix_cdtime

Plugin java: fix notification time conversion to cdtime_t.

10 years agovanity
Pierre-Yves Ritschard [Sat, 26 Jul 2014 07:30:46 +0000 (09:30 +0200)]
vanity

10 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.

10 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

10 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

10 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.

10 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

10 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.

10 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

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

10 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.

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

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

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

10 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

10 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

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

10 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

10 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.

10 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

10 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

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

10 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

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

10 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;

10 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

10 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

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

10 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.

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

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

10 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

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

10 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.

10 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

10 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

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

10 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

10 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

10 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

10 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

10 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

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

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

10 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

10 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

10 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

10 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.

10 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.

10 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.

10 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

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 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 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 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 agoMerge pull request #446 from bugsduggan/feature/tail_plugin_interval_per_file
Pierre-Yves Ritschard [Thu, 27 Mar 2014 15:49:08 +0000 (16:49 +0100)]
Merge pull request #446 from bugsduggan/feature/tail_plugin_interval_per_file

Allow Interval per File block for tail plugin

10 years agoMerge pull request #575 from amiron/riemann_notification_message
Pierre-Yves Ritschard [Mon, 10 Mar 2014 15:33:06 +0000 (16:33 +0100)]
Merge pull request #575 from amiron/riemann_notification_message

write_riemann: send notification message

10 years agotypo in plugin descr header
Pierre-Yves Ritschard [Mon, 10 Mar 2014 12:49:23 +0000 (13:49 +0100)]
typo in plugin descr header

10 years agoadd documentation for #516
Pierre-Yves Ritschard [Mon, 10 Mar 2014 12:46:00 +0000 (13:46 +0100)]
add documentation for #516

10 years agoMerge pull request #516 from pyr/feature-normalized-cpu
Pierre-Yves Ritschard [Mon, 10 Mar 2014 12:12:09 +0000 (13:12 +0100)]
Merge pull request #516 from pyr/feature-normalized-cpu

Add ReportByCpu and ValuesPercentage for cpu plugin

10 years agowrite_riemann: send notification message to riemann via description field
Adrian Miron [Sat, 8 Mar 2014 18:17:09 +0000 (20:17 +0200)]
write_riemann: send notification message to riemann via description field

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 agoindents
Frank Cornelis [Fri, 22 Nov 2013 11:38:54 +0000 (12:38 +0100)]
indents

10 years agoHTTP Digest support for curl plugins
Frank Cornelis [Fri, 22 Nov 2013 10:51:46 +0000 (11:51 +0100)]
HTTP Digest support for curl plugins

10 years agomemory plugin: fix submit multivalue (fill vl.type)
Manuel CISSÉ [Thu, 20 Feb 2014 14:58:57 +0000 (15:58 +0100)]
memory plugin: fix submit multivalue (fill vl.type)

10 years agodisk: Add udev-based device renaming on Linux
Patrick Mooney [Mon, 10 Feb 2014 16:00:15 +0000 (10:00 -0600)]
disk: Add udev-based device renaming on Linux

On systems with large collections of allocated disk resources, the
kernel provided names can be difficult to use to logically group or
compare collected values.  To grant users the ability to assign custom
instance names for disk devices, collectd can query for a specified udev
attribute.  If the attribute is present, its value is subsituted for the
kernel name when submitting the data points.

10 years agoFix tcp state names to be like others.
Manuel Luis Sanmartín Rozada [Sat, 8 Feb 2014 21:42:21 +0000 (22:42 +0100)]
Fix tcp state names to be like others.

10 years agoredis allows passwords up to 512 characters long
Jeremy Katz [Mon, 3 Feb 2014 15:41:16 +0000 (10:41 -0500)]
redis allows passwords up to 512 characters long

10 years agoMerge pull request #525 from collectd/feature-better-graphite-escape
Pierre-Yves Ritschard [Sun, 2 Feb 2014 08:25:46 +0000 (00:25 -0800)]
Merge pull request #525 from collectd/feature-better-graphite-escape

Graphite deals poorly with metric names containing quotes.

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 agoMerge remote-tracking branch 'origin/pr/524'
Marc Fournier [Thu, 23 Jan 2014 22:22:34 +0000 (23:22 +0100)]
Merge remote-tracking branch 'origin/pr/524'

10 years agoremoved invalid space from macro definition
Marek Becka [Thu, 23 Jan 2014 18:02:56 +0000 (19:02 +0100)]
removed invalid space from macro definition

10 years agoMerge remote-tracking branch 'github/master'
Florian Forster [Mon, 20 Jan 2014 16:56:00 +0000 (17:56 +0100)]
Merge remote-tracking branch 'github/master'

10 years agocontrib/collection.cgi: Add license header.
Florian Forster [Mon, 20 Jan 2014 16:55:19 +0000 (17:55 +0100)]
contrib/collection.cgi: Add license header.

Thanks for Mirko and Sebastian to agreeing to this licensing!

10 years agoMerge branch 'feature-log-logstash' of github.com:pyr/collectd into feature-log-logstash
Pierre-Yves Ritschard [Fri, 17 Jan 2014 12:17:12 +0000 (13:17 +0100)]
Merge branch 'feature-log-logstash' of github.com:pyr/collectd into feature-log-logstash

Conflicts:
configure.ac

10 years agoAdd threshold checks for riemann output.
Pierre-Yves Ritschard [Fri, 17 Jan 2014 10:05:49 +0000 (11:05 +0100)]
Add threshold checks for riemann output.