]> git.ipfire.org Git - thirdparty/collectd.git/log
thirdparty/collectd.git
11 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.

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

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

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

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

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

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

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

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

11 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

11 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

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

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

11 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

11 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

11 years agoUpdated configuration layout
daryder [Fri, 4 Apr 2014 14:03:59 +0000 (10:03 -0400)] 
Updated configuration layout

11 years agoChanged ceph configuration layout
daryder [Fri, 4 Apr 2014 13:59:51 +0000 (09:59 -0400)] 
Changed ceph configuration layout

11 years agoAdd ceph documentation
daryder [Fri, 4 Apr 2014 13:57:42 +0000 (09:57 -0400)] 
Add ceph documentation

11 years agoAdded ceph plugin typical configuration
daryder [Thu, 3 Apr 2014 19:36:18 +0000 (15:36 -0400)] 
Added ceph plugin typical configuration

11 years agoCreate ceph.c
daryder [Thu, 3 Apr 2014 19:30:31 +0000 (15:30 -0400)] 
Create ceph.c

11 years agoAdded ceph plugin
daryder [Thu, 3 Apr 2014 19:26:47 +0000 (15:26 -0400)] 
Added ceph plugin

11 years agoAdded libjson-c / ceph configuration
daryder [Thu, 3 Apr 2014 19:17:53 +0000 (15:17 -0400)] 
Added libjson-c / ceph configuration

11 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

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

11 years agoAdd postgresql writer option to skip older values. 593/head
Stephen O'Dor [Tue, 1 Apr 2014 19:47:23 +0000 (12:47 -0700)] 
Add postgresql writer option to skip older values.

11 years agocurl_json: also allow long callback names. 592/head
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.

11 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

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

11 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

11 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

11 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

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

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

11 years agoFix missed change from int to double for interval
Justin Burnham [Thu, 6 Mar 2014 06:36:21 +0000 (22:36 -0800)] 
Fix missed change from int to double for interval

11 years agoindent wh_init() to be consistent with the rest of the file
Marc Fournier [Sat, 29 Mar 2014 12:37:36 +0000 (13:37 +0100)] 
indent wh_init() to be consistent with the rest of the file

11 years agoCall curl_global_init() in _init of plugins using curl
Jeremy Katz [Mon, 27 Jan 2014 01:43:19 +0000 (20:43 -0500)] 
Call curl_global_init() in _init of plugins using curl

Need to call curl_global_init() or curl_easy_init() during init
for plugins when we're still running single threaded.  This
updates the remaining ones

11 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

11 years agothresholds: Fix calculation of hysteresis 581/head
Jan Kundrát [Tue, 11 Mar 2014 10:00:22 +0000 (11:00 +0100)] 
thresholds: Fix calculation of hysteresis

The old code would never emit a notification when the value changed between the
WARNING and FAILURE; the reason was that each branch in the switch statement
only checked the "old" thresholds valid for the previously encountered state.
That is wrong and pretty dangerous, as there will be no notification when a
values progresses slowly from OK to WARN to FAIL.

Fixes #578.

11 years agothresholds: Log the current value of a DS value when generating an OKAY notification
Jan Kundrát [Tue, 11 Mar 2014 09:59:32 +0000 (10:59 +0100)] 
thresholds: Log the current value of a DS value when generating an OKAY notification

11 years agoCoding style: fix indents
Jan Kundrát [Tue, 11 Mar 2014 09:57:45 +0000 (10:57 +0100)] 
Coding style: fix indents

11 years agolink iptables plugin against flags from pkg-config 579/head
Marc Fournier [Mon, 10 Mar 2014 20:28:36 +0000 (21:28 +0100)] 
link iptables plugin against flags from pkg-config

This solves issue #326 for ubuntu versions >= 13.10

11 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

11 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

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

11 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

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

11 years agoAIX doesn't have MSG_DONTWAIT, define as MSG_NONBLOCK 569/head
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

11 years agoindents
Frank Cornelis [Fri, 22 Nov 2013 11:38:54 +0000 (12:38 +0100)] 
indents

11 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

11 years agowrite_riemann plugin: Receive acknowledge message when using TCP.
John-John Tedro [Tue, 17 Sep 2013 13:40:13 +0000 (15:40 +0200)] 
write_riemann plugin: Receive acknowledge message when using TCP.

Not receiving an acknowledge message when communicating with riemann over TCP
will cause the riemann instance to eventually hang for extended periods of time
because of resource exhaustion.

Took the time to reaorganize the riemann_send function to simplify locking.

11 years agolvm: Do not segfault when there are no VGs
Jan Kundrát [Thu, 20 Feb 2014 01:13:20 +0000 (02:13 +0100)] 
lvm: Do not segfault when there are no VGs

11 years agoCollect drbd statistics on linux
Tim Laszlo [Fri, 28 Feb 2014 18:43:36 +0000 (12:43 -0600)] 
Collect drbd statistics on linux

11 years agoAdd support for monitoring lm_sensors' "power" sensors 571/head
Jan Kundrát [Wed, 26 Feb 2014 14:45:01 +0000 (15:45 +0100)] 
Add support for monitoring lm_sensors' "power" sensors

The patch shall probably be extended to include additional sensor names in
future. My servers, however, use "power1" for all of the readings, so I'm not
making that change now.

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

11 years agoMake sure that "PIDFile" option cannot be set when command-line option "-P" was used... 553/head
Thomas D [Wed, 12 Feb 2014 14:32:15 +0000 (15:32 +0100)] 
Make sure that "PIDFile" option cannot be set when command-line option "-P" was used. (Fixes #553)

The "PIDFile" value from command-line option "-P", which should take
precedence over any "PIDFile" value from configuration files, could be
overwritten if a configuration file contained the "PIDFile" option.

We introduced a new global variable "pidfile_from_cli" which will be set
to 1 when the command-line option "-P" was detected and the
"global_option_set" function will only set the "PIDFile" option if
"pidfile_from_cli" is 0.

11 years agoreduce switch statement
Marek Becka [Wed, 12 Feb 2014 14:17:21 +0000 (15:17 +0100)] 
reduce switch statement

11 years agofix typos in comments
Marek Becka [Wed, 12 Feb 2014 14:12:57 +0000 (15:12 +0100)] 
fix typos in comments

11 years agozfs_arc: support for zfsonlinux
Marc Fournier [Fri, 7 Feb 2014 13:51:31 +0000 (14:51 +0100)] 
zfs_arc: support for zfsonlinux

The plugin is structured for Solaris & FreeBSD's get_kstat_value() &
sysctlbyname() functions, which return a single metric based on its
name. ZFS-on-Linux publishes all the stats together in a file in /proc,
which is quite a different approach.
So the idea is to simulate the Solaris/FreeBSD way of doing by using
llist_search() on a linked-list containing all the key/values from the
/proc file. This prevents having to parse it over and over again for
each metric we request.

11 years agoAdd support for recent 4.0-only configurations
Marek Becka [Mon, 10 Feb 2014 20:28:48 +0000 (21:28 +0100)] 
Add support for recent 4.0-only configurations

11 years agodisk: Add udev-based device renaming on Linux 537/head
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.

11 years agoAdded nfs4 support for linux
Marek Becka [Sun, 9 Feb 2014 21:14:44 +0000 (22:14 +0100)] 
Added nfs4 support for linux

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

11 years agoconfigure: Fixed check for libsigrok and AM_PATH_GLIB_2_0. 540/head
Sebastian Harl [Sat, 8 Feb 2014 11:14:10 +0000 (12:14 +0100)] 
configure: Fixed check for libsigrok and AM_PATH_GLIB_2_0.

11 years agoPlease free strings *after* printing them ;-)
Matthias Urlichs [Wed, 5 Feb 2014 09:49:24 +0000 (10:49 +0100)] 
Please free strings *after* printing them ;-)

Signed-off-by: Florian Forster <octo@collectd.org>
11 years agoredis allows passwords up to 512 characters long 532/head
Jeremy Katz [Mon, 3 Feb 2014 15:41:16 +0000 (10:41 -0500)] 
redis allows passwords up to 512 characters long

11 years agoauto{conf,make} kernel-related macros consistency
Marc Fournier [Mon, 3 Feb 2014 00:08:00 +0000 (01:08 +0100)] 
auto{conf,make} kernel-related macros consistency

 - add AC_DEFINEs for 2 kernels which were missing them.
 - declare AM_CONDITIONALs for all kernels we know about + move
   declaration at a more sensible location in the file.

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

11 years agoBump version to 5.4.1; Update ChangeLog. collectd-5.4.1
Florian Forster [Sun, 26 Jan 2014 07:52:52 +0000 (08:52 +0100)] 
Bump version to 5.4.1; Update ChangeLog.

11 years agoGraphite deals poorly with metric names containing quotes. 525/head
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`

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

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

11 years agoMerge branch 'collectd-5.3' into collectd-5.4
Marc Fournier [Thu, 23 Jan 2014 13:19:20 +0000 (14:19 +0100)] 
Merge branch 'collectd-5.3' into collectd-5.4

11 years agoMerge remote-tracking branch 'origin/collectd-4.10' into collectd-5.3
Marc Fournier [Thu, 23 Jan 2014 13:18:08 +0000 (14:18 +0100)] 
Merge remote-tracking branch 'origin/collectd-4.10' into collectd-5.3

11 years agoMerge remote-tracking branch 'origin/pr/490' into collectd-5.3
Marc Fournier [Thu, 23 Jan 2014 13:17:25 +0000 (14:17 +0100)] 
Merge remote-tracking branch 'origin/pr/490' into collectd-5.3

11 years agoconfigure: Fixed linker options when checking for amqp_tcp_socket_new. 490/head
Sebastian Harl [Wed, 22 Jan 2014 12:34:30 +0000 (13:34 +0100)] 
configure: Fixed linker options when checking for amqp_tcp_socket_new.

This fixes the check when using GCC's --as-needed which fails when options are
not specified in the right order. Libraries (-l options) have to be specified
after any source files. autoconf does the right thing when using $LIBS for
that case rather than $LDFLAGS.

11 years agoamqp plugin: Don't use C++ style comments.
Sebastian Harl [Wed, 22 Jan 2014 12:29:53 +0000 (13:29 +0100)] 
amqp plugin: Don't use C++ style comments.

11 years agoMerge pull request #2 from mfournier/amqp-symbol_lookup
Sebastian Harl [Wed, 22 Jan 2014 12:27:30 +0000 (04:27 -0800)] 
Merge pull request #2 from mfournier/amqp-symbol_lookup

amqp: fix symbol lookup error with librabbitmq >= 0.4.0

11 years agoamqp: fix symbol lookup error with librabbitmq >= 0.4.0
Marc Fournier [Tue, 21 Jan 2014 09:24:53 +0000 (10:24 +0100)] 
amqp: fix symbol lookup error with librabbitmq >= 0.4.0

amqp_socket_close() which we were using isn't exported anymore.
See https://github.com/alanxz/rabbitmq-c/commit/bdda7ab

amqp_destroy_connection() implicitly closes the socket, so we don't need
to bother about this if using librabbitmq >= 0.4.0

credits to @tokkee for figuring that out !

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

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

11 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

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

11 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

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

11 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

11 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

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

11 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

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

11 years agoFix a typo in the manpage 517/head
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>
11 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

11 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

11 years agonetwork: comment libgcrypt initalization process
Marc Fournier [Wed, 15 Jan 2014 23:30:42 +0000 (00:30 +0100)] 
network: comment libgcrypt initalization process

11 years agoapache plugin: Call curl_global_init() from the init function.
Florian Forster [Wed, 15 Jan 2014 22:47:33 +0000 (23:47 +0100)] 
apache plugin: Call curl_global_init() from the init function.

This is a shot in the dark in trying to address #513. By calling this
from an init() callback, I hope to be initializing the curl and gcrypt
libraries before collectd becomes multi-threaded, avoiding the problems
described in the issue.

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

11 years ago[network] set_thread_cbs so we initialize the right threading mode in gcry_check_version
Chris Lundquist [Wed, 15 Jan 2014 02:33:13 +0000 (18:33 -0800)] 
[network] set_thread_cbs so we initialize the right threading mode in gcry_check_version

Signed-off-by: Florian Forster <octo@collectd.org>
11 years agohandle comments from @octo
Pierre-Yves Ritschard [Wed, 15 Jan 2014 22:10:33 +0000 (23:10 +0100)] 
handle comments from @octo

11 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

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