collectd.git
10 years agoMerge remote-tracking branch 'github/pr/682'
Florian Forster [Tue, 29 Jul 2014 14:25:31 +0000 (16:25 +0200)]
Merge remote-tracking branch 'github/pr/682'

10 years agobindings/perl/lib/Collectd/Unixsock.pm: Relicense to MIT.
Florian Forster [Tue, 29 Jul 2014 14:21:02 +0000 (16:21 +0200)]
bindings/perl/lib/Collectd/Unixsock.pm: Relicense to MIT.

10 years agoMerge pull request #681 from pyr/feature/use-collectd-hostname
Pierre-Yves Ritschard [Tue, 29 Jul 2014 14:20:09 +0000 (16:20 +0200)]
Merge pull request #681 from pyr/feature/use-collectd-hostname

Bring in hostname as defined in the main configuration by default

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 agoBring in hostname as defined in the main configuration by default
Pierre-Yves Ritschard [Tue, 29 Jul 2014 12:37:05 +0000 (14:37 +0200)]
Bring in hostname as defined in the main configuration by default

supersedes collectd/collectd#530

10 years agoMerge pull request #655 from dothebart/statsd_fix_division_by_zero
Pierre-Yves Ritschard [Tue, 29 Jul 2014 12:04:41 +0000 (14:04 +0200)]
Merge pull request #655 from dothebart/statsd_fix_division_by_zero

Statsd: avoid doing a division by zero when calculating the average

10 years agoStatsd: avoid doing a division by zero when calculating the percentile with an empty...
Wilfried Goesgens [Tue, 29 Jul 2014 11:58:23 +0000 (13:58 +0200)]
Statsd: avoid doing a division by zero when calculating the percentile with an empty histogram.

10 years agoMerge pull request #416 from udoprog/master
Pierre-Yves Ritschard [Tue, 29 Jul 2014 09:33:46 +0000 (11:33 +0200)]
Merge pull request #416 from udoprog/master

PUTNOTIF: Add the ability to populate meta options

10 years agoMerge pull request #252 from eokerson/vpnfixes
Pierre-Yves Ritschard [Tue, 29 Jul 2014 09:28:59 +0000 (11:28 +0200)]
Merge pull request #252 from eokerson/vpnfixes

Add support for OpenVPN 2.3.0 status files.

10 years agoMerge pull request #680 from pyr/feature/older-conntrack-files
Pierre-Yves Ritschard [Tue, 29 Jul 2014 09:10:51 +0000 (11:10 +0200)]
Merge pull request #680 from pyr/feature/older-conntrack-files

Support older conntrack files with an option

10 years agoSupport older conntrack files with an option
Pierre-Yves Ritschard [Tue, 29 Jul 2014 09:10:45 +0000 (11:10 +0200)]
Support older conntrack files with an option

supersedes collectd/collectd#605

10 years agoMerge pull request #385 from ccin2p3/libvirt-plugin-instance
Pierre-Yves Ritschard [Tue, 29 Jul 2014 08:29:06 +0000 (10:29 +0200)]
Merge pull request #385 from ccin2p3/libvirt-plugin-instance

libvirt plugin: Add "PluginInstanceFormat" option.

10 years agoAdd final documentation for new libvirt plugin option PluginInstanceFormat
Remi Ferrand [Tue, 29 Jul 2014 08:24:43 +0000 (10:24 +0200)]
Add final documentation for new libvirt plugin option PluginInstanceFormat

10 years agoMerge pull request #679 from ccin2p3/f/cpu-percent-vs-ticks
Pierre-Yves Ritschard [Tue, 29 Jul 2014 08:22:22 +0000 (10:22 +0200)]
Merge pull request #679 from ccin2p3/f/cpu-percent-vs-ticks

ReportByCpu and ValuesPercentage are now independant

10 years agoReportByCpu and ValuesPercentage are now independant
Fabien Wernli [Tue, 29 Jul 2014 07:02:13 +0000 (09:02 +0200)]
ReportByCpu and ValuesPercentage are now independant
ReportActive false now actually does as advertised

Change-Id: I93d9c36778253373c05b4efada5b082147656d89

10 years agoMerge pull request #427 from kbingham/version_fix
Pierre-Yves Ritschard [Mon, 28 Jul 2014 21:20:15 +0000 (23:20 +0200)]
Merge pull request #427 from kbingham/version_fix

version-gen.sh: Ensure only collectd repository versions are used

10 years agoMerge pull request #321 from mwongatemma/db_meta_data
Pierre-Yves Ritschard [Mon, 28 Jul 2014 21:08:36 +0000 (23:08 +0200)]
Merge pull request #321 from mwongatemma/db_meta_data

Annotate meta data for db plugins

10 years agoMerge pull request #408 from radford/curl-json-cache-aliasing
Pierre-Yves Ritschard [Mon, 28 Jul 2014 21:03:00 +0000 (23:03 +0200)]
Merge pull request #408 from radford/curl-json-cache-aliasing

curl_json plugin: avoid cache aliasing by using all fields instead of just two

10 years agoMerge pull request #553 from Whissi/issue_553
Pierre-Yves Ritschard [Mon, 28 Jul 2014 21:00:28 +0000 (23:00 +0200)]
Merge pull request #553 from Whissi/issue_553

collectd ignores command line argument "-P"

10 years agoMerge pull request #672 from zdzichu/master
Pierre-Yves Ritschard [Mon, 28 Jul 2014 15:02:57 +0000 (17:02 +0200)]
Merge pull request #672 from zdzichu/master

onewire: add other temperature-providing sensor families

10 years agoMerge pull request #675 from mfournier/write_http_doc
Pierre-Yves Ritschard [Mon, 28 Jul 2014 15:02:04 +0000 (17:02 +0200)]
Merge pull request #675 from mfournier/write_http_doc

document new options to write_http plugin

10 years agoMerge pull request #581 from jktjkt/hysteresis
Pierre-Yves Ritschard [Mon, 28 Jul 2014 14:03:33 +0000 (16:03 +0200)]
Merge pull request #581 from jktjkt/hysteresis

Fix transitions between FAILURE and WARNING when using option Hysteresis in Thresholds

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 agodocument new options to write_http plugin
Marc Fournier [Sat, 26 Jul 2014 09:30:32 +0000 (11:30 +0200)]
document new options to write_http plugin

... which were added in 6d2bcca2.

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

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

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.