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

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

9 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

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

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

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

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.

10 years agoMerge branch 'feature-riemann-threshold' of github.com:pyr/collectd into feature...
Pierre-Yves Ritschard [Fri, 17 Jan 2014 08:25:46 +0000 (09:25 +0100)]
Merge branch 'feature-riemann-threshold' of github.com:pyr/collectd into feature-riemann-threshold

10 years agobetter indentation.
Pierre-Yves Ritschard [Fri, 17 Jan 2014 08:18:36 +0000 (09:18 +0100)]
better indentation.

10 years agoMerge branch 'master' into feature-normalized-cpu
Pierre-Yves Ritschard [Fri, 17 Jan 2014 07:54:24 +0000 (08:54 +0100)]
Merge branch 'master' into feature-normalized-cpu

10 years agoimport thresholds from thresholds.c
Pierre-Yves Ritschard [Thu, 16 Jan 2014 22:28:11 +0000 (23:28 +0100)]
import thresholds from thresholds.c

10 years agotypo fixes.
Pierre-Yves Ritschard [Thu, 16 Jan 2014 21:16:02 +0000 (22:16 +0100)]
typo fixes.

10 years agoas advised by @octo move to a rate computing function
Pierre-Yves Ritschard [Thu, 16 Jan 2014 18:24:05 +0000 (19:24 +0100)]
as advised by @octo move to a rate computing function

10 years agoadd a value_to_rate function.
Pierre-Yves Ritschard [Thu, 16 Jan 2014 18:23:52 +0000 (19:23 +0100)]
add a value_to_rate function.

10 years agoFix a typo in the manpage
Ruben Kerkhof [Thu, 16 Jan 2014 11:12:14 +0000 (12:12 +0100)]
Fix a typo in the manpage

Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
10 years agoMerge pull request #497 from pyr/feature-conntrack-pct
Pierre-Yves Ritschard [Thu, 16 Jan 2014 09:48:43 +0000 (01:48 -0800)]
Merge pull request #497 from pyr/feature-conntrack-pct

Report used, max and percent values for conntrack consumption

10 years agokeep plugin instance for first cpu
Pierre-Yves Ritschard [Thu, 16 Jan 2014 07:06:25 +0000 (08:06 +0100)]
keep plugin instance for first cpu

10 years agofix typos
Pierre-Yves Ritschard [Wed, 15 Jan 2014 22:43:18 +0000 (23:43 +0100)]
fix typos

10 years agohandle comments from @octo
Pierre-Yves Ritschard [Wed, 15 Jan 2014 22:10:33 +0000 (23:10 +0100)]
handle comments from @octo

10 years agoAdd ReportByCpu and ValuesPercentage for cpu plugin
Pierre-Yves Ritschard [Wed, 15 Jan 2014 20:26:19 +0000 (21:26 +0100)]
Add ReportByCpu and ValuesPercentage for cpu plugin

ReportByCpu defaults to true, ValuesPercentage to false

This enables the following use cases:

- ReportByCpu false: emits normalized percentage values
- ValuesPercentage true: emits percentage values
- default: send per core ticks, as previously

10 years agointegrate comments by @octo
Pierre-Yves Ritschard [Wed, 15 Jan 2014 14:23:24 +0000 (15:23 +0100)]
integrate comments by @octo

10 years agoprovide conntrack percentage values
Pierre-Yves Ritschard [Wed, 15 Jan 2014 13:10:13 +0000 (14:10 +0100)]
provide conntrack percentage values

10 years agocollectd.conf(5): Correct default value used.
Florian Forster [Tue, 14 Jan 2014 08:08:01 +0000 (09:08 +0100)]
collectd.conf(5): Correct default value used.

10 years agomemory plugin: Use the new plugin_dispatch_multivalue() interface.
Florian Forster [Tue, 14 Jan 2014 08:04:48 +0000 (09:04 +0100)]
memory plugin: Use the new plugin_dispatch_multivalue() interface.

This takes calculation of percentages off of our hands.

10 years agoMerge branch 'master' into katzj/memory
Florian Forster [Tue, 14 Jan 2014 07:43:06 +0000 (08:43 +0100)]
Merge branch 'master' into katzj/memory

10 years agoMerge branch 'katzj/swap'
Florian Forster [Tue, 14 Jan 2014 07:40:53 +0000 (08:40 +0100)]
Merge branch 'katzj/swap'

10 years agoswap plugin: Remove the swap_submit() function.
Florian Forster [Tue, 14 Jan 2014 07:34:42 +0000 (08:34 +0100)]
swap plugin: Remove the swap_submit() function.

This function was used only by swap_submit_derive(), which was declared
conditionally. This resulted in "defined but not used" warnings, e.g. on
FreeBSD.

10 years agosrc/common.[ch]: Rewrite the escape_slashes() function.
Florian Forster [Tue, 14 Jan 2014 06:55:02 +0000 (07:55 +0100)]
src/common.[ch]: Rewrite the escape_slashes() function.

Cleaner and slightly more efficient (3.8% faster) version of escape_slashes().
This function is quite hot with, depending on the configuration, between 1.2%
and 2.6% of total CPU time spent here.

10 years agosrc/utils_cache.c: Very minor performance improvement.
Florian Forster [Tue, 14 Jan 2014 06:24:40 +0000 (07:24 +0100)]
src/utils_cache.c: Very minor performance improvement.

cache_compare() is one of the hottest functions in collectd. Depending how many
metrics collectd handles (how deep the tree is) it gets called an order of
magnitude or two more often than the number of metrics handled. With 100k
metrics, about 6.6% of the CPU time were spent within cache_compare(), with
this commit this reduces to 6.3% (that's, uhm, 4.7% faster?).

10 years agoswap plugin: Use the "complex" configuration.
Florian Forster [Mon, 13 Jan 2014 15:46:00 +0000 (16:46 +0100)]
swap plugin: Use the "complex" configuration.

It's actually shorter and handles non-boolean arguments more intelligently.

10 years agoswap plugin: Remove left-over debugging message.
Florian Forster [Mon, 13 Jan 2014 15:39:17 +0000 (16:39 +0100)]
swap plugin: Remove left-over debugging message.