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.
Pierre-Yves Ritschard [Sat, 26 Jul 2014 07:19:14 +0000 (09:19 +0200)]
Merge pull request #659 from mfournier/amqp-fixups
Amqp fixups
Pierre-Yves Ritschard [Sat, 26 Jul 2014 07:05:40 +0000 (09:05 +0200)]
Merge branch 'master' of github.com:collectd/collectd
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.
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
Manuel Luis Sanmartín Rozada [Fri, 25 Jul 2014 22:01:41 +0000 (00:01 +0200)]
Renable getthreshold cmd in unixsock Plugin.
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
Marc Fournier [Fri, 25 Jul 2014 20:51:10 +0000 (22:51 +0200)]
make configure summary consistent
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.
Pierre-Yves Ritschard [Fri, 25 Jul 2014 14:33:13 +0000 (16:33 +0200)]
document log_logstash
Pierre-Yves Ritschard [Fri, 25 Jul 2014 14:28:51 +0000 (16:28 +0200)]
small typos
Pierre-Yves Ritschard [Fri, 25 Jul 2014 14:08:13 +0000 (16:08 +0200)]
forgotten printf
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
Pierre-Yves Ritschard [Fri, 25 Jul 2014 14:04:08 +0000 (16:04 +0200)]
avoid possibility of muting log output
Pierre-Yves Ritschard [Fri, 25 Jul 2014 14:00:22 +0000 (16:00 +0200)]
bring in AM_CPPFLAGS
Pierre-Yves Ritschard [Fri, 25 Jul 2014 13:59:51 +0000 (15:59 +0200)]
support emitting to stdout or stderr
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.
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
Marc Fournier [Thu, 24 Jul 2014 14:15:42 +0000 (16:15 +0200)]
add 2 missing options to example config
Marc Fournier [Thu, 24 Jul 2014 12:51:23 +0000 (14:51 +0200)]
Merge branch 'udev-disk'
Marc Fournier [Thu, 24 Jul 2014 12:48:14 +0000 (14:48 +0200)]
disk: document missing option + add example
Pierre-Yves Ritschard [Thu, 24 Jul 2014 09:54:05 +0000 (11:54 +0200)]
add documentation
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;
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
Pierre-Yves Ritschard [Thu, 24 Jul 2014 07:46:39 +0000 (09:46 +0200)]
make kafka logs go through collectd's logging
Pierre-Yves Ritschard [Thu, 24 Jul 2014 07:25:13 +0000 (09:25 +0200)]
remove unneeded include
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.
Pierre-Yves Ritschard [Tue, 22 Jul 2014 13:23:43 +0000 (15:23 +0200)]
document new options
Pierre-Yves Ritschard [Tue, 22 Jul 2014 13:23:27 +0000 (15:23 +0200)]
make threshold checking optional
Pierre-Yves Ritschard [Tue, 22 Jul 2014 11:55:49 +0000 (13:55 +0200)]
Merge branch 'master' into feature-riemann-threshold
Pierre-Yves Ritschard [Tue, 22 Jul 2014 11:53:23 +0000 (13:53 +0200)]
reuse main avl tree
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.
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
Marc Fournier [Tue, 24 Jun 2014 16:11:40 +0000 (18:11 +0200)]
Merge pull request #619 from Crapworks/master
increased buffer size
Marc Fournier [Tue, 24 Jun 2014 15:48:26 +0000 (17:48 +0200)]
correct typo in error message
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
Marc Fournier [Tue, 24 Jun 2014 14:43:18 +0000 (16:43 +0200)]
document 2 new options added to amqp plugin
Marc Fournier [Tue, 24 Jun 2014 14:38:28 +0000 (16:38 +0200)]
amqp: new Queue{Durable,AutoDelete} options are subscribe-only options
Marc Fournier [Tue, 24 Jun 2014 13:50:03 +0000 (15:50 +0200)]
remove quotes in example config to make all statements consistent
Marc Fournier [Tue, 24 Jun 2014 13:38:12 +0000 (15:38 +0200)]
mention new options to cpu plugin in example config
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)
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
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
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.
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
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.
Matt Cottingham [Sun, 25 May 2014 19:46:32 +0000 (20:46 +0100)]
Remove _num suffix from listen_disabled_num collected value
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.
Matt Cottingham [Fri, 23 May 2014 15:19:51 +0000 (16:19 +0100)]
Fix link to memcached protocol
Christian Eichelmann [Thu, 22 May 2014 10:41:36 +0000 (12:41 +0200)]
increased buffer size
Florian Forster [Thu, 8 May 2014 13:16:54 +0000 (15:16 +0200)]
write_http plugin: Remove custom string and boolean config handlers.
Sebastian Harl [Sat, 26 Apr 2014 19:37:51 +0000 (21:37 +0200)]
collection.cgi: Use -l 0 for df_complex graphs.
Sebastian Harl [Sat, 26 Apr 2014 16:31:18 +0000 (18:31 +0200)]
collection.cgi: Added support for df_complex types.
Fabiano Pires [Mon, 7 Apr 2014 20:19:34 +0000 (17:19 -0300)]
collection.cgi: Fixed apache data-sources.
Sebastian Harl [Sat, 26 Apr 2014 14:57:40 +0000 (16:57 +0200)]
examples/myplugin: Updated to the current plugin API.
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
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.
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
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
Pierre-Yves Ritschard [Mon, 10 Mar 2014 12:49:23 +0000 (13:49 +0100)]
typo in plugin descr header
Pierre-Yves Ritschard [Mon, 10 Mar 2014 12:46:00 +0000 (13:46 +0100)]
add documentation for #516
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
Adrian Miron [Sat, 8 Mar 2014 18:17:09 +0000 (20:17 +0200)]
write_riemann: send notification message to riemann via description field
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
Frank Cornelis [Fri, 22 Nov 2013 11:38:54 +0000 (12:38 +0100)]
indents
Frank Cornelis [Fri, 22 Nov 2013 10:51:46 +0000 (11:51 +0100)]
HTTP Digest support for curl plugins
Manuel CISSÉ [Thu, 20 Feb 2014 14:58:57 +0000 (15:58 +0100)]
memory plugin: fix submit multivalue (fill vl.type)
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.
Manuel Luis Sanmartín Rozada [Sat, 8 Feb 2014 21:42:21 +0000 (22:42 +0100)]
Fix tcp state names to be like others.
Jeremy Katz [Mon, 3 Feb 2014 15:41:16 +0000 (10:41 -0500)]
redis allows passwords up to 512 characters long
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.
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`
Marc Fournier [Thu, 23 Jan 2014 22:22:34 +0000 (23:22 +0100)]
Merge remote-tracking branch 'origin/pr/524'
Marek Becka [Thu, 23 Jan 2014 18:02:56 +0000 (19:02 +0100)]
removed invalid space from macro definition
Florian Forster [Mon, 20 Jan 2014 16:56:00 +0000 (17:56 +0100)]
Merge remote-tracking branch 'github/master'
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!
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
Pierre-Yves Ritschard [Fri, 17 Jan 2014 10:05:49 +0000 (11:05 +0100)]
Add threshold checks for riemann output.
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
Pierre-Yves Ritschard [Fri, 17 Jan 2014 08:18:36 +0000 (09:18 +0100)]
better indentation.
Pierre-Yves Ritschard [Fri, 17 Jan 2014 07:54:24 +0000 (08:54 +0100)]
Merge branch 'master' into feature-normalized-cpu
Pierre-Yves Ritschard [Thu, 16 Jan 2014 22:28:11 +0000 (23:28 +0100)]
import thresholds from thresholds.c
Pierre-Yves Ritschard [Thu, 16 Jan 2014 21:16:02 +0000 (22:16 +0100)]
typo fixes.
Pierre-Yves Ritschard [Thu, 16 Jan 2014 18:24:05 +0000 (19:24 +0100)]
as advised by @octo move to a rate computing function
Pierre-Yves Ritschard [Thu, 16 Jan 2014 18:23:52 +0000 (19:23 +0100)]
add a value_to_rate function.
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>
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
Pierre-Yves Ritschard [Thu, 16 Jan 2014 07:06:25 +0000 (08:06 +0100)]
keep plugin instance for first cpu
Pierre-Yves Ritschard [Wed, 15 Jan 2014 22:43:18 +0000 (23:43 +0100)]
fix typos
Pierre-Yves Ritschard [Wed, 15 Jan 2014 22:10:33 +0000 (23:10 +0100)]
handle comments from @octo
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
Pierre-Yves Ritschard [Wed, 15 Jan 2014 14:23:24 +0000 (15:23 +0100)]
integrate comments by @octo
Pierre-Yves Ritschard [Wed, 15 Jan 2014 13:10:13 +0000 (14:10 +0100)]
provide conntrack percentage values
Florian Forster [Tue, 14 Jan 2014 08:08:01 +0000 (09:08 +0100)]
collectd.conf(5): Correct default value used.
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.
Florian Forster [Tue, 14 Jan 2014 07:43:06 +0000 (08:43 +0100)]
Merge branch 'master' into katzj/memory
Florian Forster [Tue, 14 Jan 2014 07:40:53 +0000 (08:40 +0100)]
Merge branch 'katzj/swap'
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.
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.
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?).