collectd.git
13 years agosrc/utils_threshold.c: Cleanups. ad/msg2
Florian Forster [Wed, 29 Sep 2010 16:21:13 +0000 (18:21 +0200)]
src/utils_threshold.c: Cleanups.

13 years agosrc/utils_{cache,threshold}.c: Don't replace %{data_source} and %{value} …
Florian Forster [Wed, 29 Sep 2010 16:02:01 +0000 (18:02 +0200)]
src/utils_{cache,threshold}.c: Don't replace %{data_source} and %{value} …

… if the value is missing.

13 years agosrc/utils_cache.c: Minor cleanups.
Florian Forster [Wed, 29 Sep 2010 15:59:48 +0000 (17:59 +0200)]
src/utils_cache.c: Minor cleanups.

13 years agosrc/utils_cache.c: Improve a couple of comments.
Florian Forster [Wed, 29 Sep 2010 15:47:19 +0000 (17:47 +0200)]
src/utils_cache.c: Improve a couple of comments.

13 years agoAdd custom message for threshold and missings.
Andres J. Diaz [Sun, 13 Jun 2010 13:19:01 +0000 (15:19 +0200)]
Add custom message for threshold and missings.

Hi everybuddy

Add two new options in thresholds, the Message which can define a custom
message for thresholds and MissingMessage, which define a custom message for
missing interesting values related with that threshold.

This work is heavly based on previously custom message patch publishded by
Taizo ITO on Mar-2010 [1]. The code was modify to add more patterns and keep
compatibility with target_notification syntax. Also now we have
a MissingMessage too.

The pattern matching code was moved to a new function in utils_threshold.c
(ut_build_message) which create the message string.

New patterns:

%{ds:<name>} returns values for ds called "name", as target_notification
does.
%{value} return the offending value for the threshold.
%{data_source} return the datasource name for offending value
%{hysteresis} return the hysteresis parameter value
%{hits} return the hits parameter value

[1] http://www.mail-archive.com/collectd@verplant.org/msg00569.html

Thanks again to Taizo for the previously work :)

Enjoy!

13 years agoMerge branch 'kr/ctxt'
Florian Forster [Wed, 29 Sep 2010 15:06:00 +0000 (17:06 +0200)]
Merge branch 'kr/ctxt'

13 years agocontextswitch plugin: Some coding style changes.
Florian Forster [Wed, 29 Sep 2010 15:04:53 +0000 (17:04 +0200)]
contextswitch plugin: Some coding style changes.

13 years agocontextswitch plugin: Add copyright and author information.
Florian Forster [Wed, 29 Sep 2010 15:04:20 +0000 (17:04 +0200)]
contextswitch plugin: Add copyright and author information.

13 years agomysql plugin: Remove some inactive (legacy) code.
Florian Forster [Mon, 27 Sep 2010 12:05:52 +0000 (14:05 +0200)]
mysql plugin: Remove some inactive (legacy) code.

13 years agoapache plugin: Remove legacy code.
Florian Forster [Mon, 27 Sep 2010 09:45:01 +0000 (11:45 +0200)]
apache plugin: Remove legacy code.

Configurations without an "<Instance />" block are not supported
anymore. The documentation and default config have been adapted.

13 years agocurl_json plugin: Improve error handling.
Florian Forster [Fri, 24 Sep 2010 16:51:14 +0000 (18:51 +0200)]
curl_json plugin: Improve error handling.

13 years agoPATCH apache.c: support IBM HTTP Server.
Manuel Luis Sanmartín Rozada [Wed, 8 Sep 2010 09:01:23 +0000 (11:01 +0200)]
PATCH apache.c: support IBM HTTP Server.

IBM HTTP Server is a version of apache 2 that comes with Websphere.
IBM change the server name header to:

Server: IBM_HTTP_Server

Signed-off-by: Florian Forster <octo@huhu.verplant.org>
13 years agonginx plugin: Make the cURL callback code easier to understand.
Florian Forster [Sat, 4 Sep 2010 20:30:44 +0000 (22:30 +0200)]
nginx plugin: Make the cURL callback code easier to understand.

13 years agoperl plugin: Remove the deprecated "plugin_flush_{all,one}" functions.
Florian Forster [Sun, 29 Aug 2010 07:56:31 +0000 (09:56 +0200)]
perl plugin: Remove the deprecated "plugin_flush_{all,one}" functions.

13 years agoperl plugin: Remove deprecated compatibility code from "Collectd_plugin_dispatch_values".
Florian Forster [Sun, 29 Aug 2010 07:50:59 +0000 (09:50 +0200)]
perl plugin: Remove deprecated compatibility code from "Collectd_plugin_dispatch_values".

13 years agosrc/types.db: Remove the "mysql_qcache" and "mysql_threads" types.
Florian Forster [Sun, 29 Aug 2010 07:39:09 +0000 (09:39 +0200)]
src/types.db: Remove the "mysql_qcache" and "mysql_threads" types.

Use the "v5upgrade" taret to preserve compatibility.

13 years agoadd support for sysctlbyname: vm.stats.sys.v_swtch
Kimo Rosenbaum [Tue, 24 Aug 2010 20:27:03 +0000 (13:27 -0700)]
add support for sysctlbyname: vm.stats.sys.v_swtch

13 years agoMerge branch 'collectd-4.10'
Florian Forster [Thu, 19 Aug 2010 13:02:48 +0000 (15:02 +0200)]
Merge branch 'collectd-4.10'

13 years agoMerge branch 'collectd-4.9' into collectd-4.10
Florian Forster [Thu, 19 Aug 2010 13:02:41 +0000 (15:02 +0200)]
Merge branch 'collectd-4.9' into collectd-4.10

13 years agosrc/utils_heap.c: Fix calculation of the parent's index.
Florian Forster [Thu, 19 Aug 2010 13:00:26 +0000 (15:00 +0200)]
src/utils_heap.c: Fix calculation of the parent's index.

This resulted in the "upwards" reheap function to return prematurely,
leaving the heap condition violated.

13 years agocollectd-nagios: Remove forgotten commend.
Florian Forster [Thu, 19 Aug 2010 07:59:34 +0000 (09:59 +0200)]
collectd-nagios: Remove forgotten commend.

13 years agocollectd-nagios: Remove unnecessary includes.
Florian Forster [Thu, 19 Aug 2010 07:57:54 +0000 (09:57 +0200)]
collectd-nagios: Remove unnecessary includes.

The UNIX socket is now handled in the library, no need for including
those files anymore.

13 years agocollectdctl: Reorder includes and set strict C99/POSIX mode.
Florian Forster [Wed, 18 Aug 2010 08:22:36 +0000 (10:22 +0200)]
collectdctl: Reorder includes and set strict C99/POSIX mode.

This enables NAN on some systems, e.g. old Linux boxes.

13 years agocollectdctl: Fix comparison with uninitialized variable.
Florian Forster [Wed, 18 Aug 2010 08:22:11 +0000 (10:22 +0200)]
collectdctl: Fix comparison with uninitialized variable.

13 years agocollectdctl: Fix problems with strict aliasing.
Florian Forster [Wed, 18 Aug 2010 08:21:49 +0000 (10:21 +0200)]
collectdctl: Fix problems with strict aliasing.

13 years agoMerge branch 'collectd-4.10'
Florian Forster [Tue, 17 Aug 2010 16:53:38 +0000 (18:53 +0200)]
Merge branch 'collectd-4.10'

13 years agoMerge branch 'collectd-4.9' into collectd-4.10
Florian Forster [Tue, 17 Aug 2010 16:53:29 +0000 (18:53 +0200)]
Merge branch 'collectd-4.9' into collectd-4.10

13 years agosrc/plugin.c: Improve an info message.
Florian Forster [Tue, 17 Aug 2010 16:52:36 +0000 (18:52 +0200)]
src/plugin.c: Improve an info message.

Based on a patch by Sebastian, which didn't use the handy "FORMAT_VL"
macro.

13 years agoMerge branch 'ad/redis'
Florian Forster [Tue, 17 Aug 2010 16:43:37 +0000 (18:43 +0200)]
Merge branch 'ad/redis'

13 years agoMerge branch 'ff/redis' into ad/redis
Florian Forster [Tue, 17 Aug 2010 16:43:33 +0000 (18:43 +0200)]
Merge branch 'ff/redis' into ad/redis

13 years agowrite_redis plugin: Add all identifiers to a "set".
Florian Forster [Tue, 17 Aug 2010 14:45:42 +0000 (16:45 +0200)]
write_redis plugin: Add all identifiers to a "set".

This should make it easy for front-ends to discover available metrics.

13 years agowrite_redis plugin: Use an "append" macro to fill the values buffer.
Florian Forster [Tue, 17 Aug 2010 14:09:55 +0000 (16:09 +0200)]
write_redis plugin: Use an "append" macro to fill the values buffer.

This way we don't have to copy the entire buffer, which is hopefully
faster.

13 years agowrite_redis plugin: Fix copyright information.
Florian Forster [Tue, 17 Aug 2010 13:54:15 +0000 (15:54 +0200)]
write_redis plugin: Fix copyright information.

13 years agoredis plugin: Add default configuration.
Florian Forster [Tue, 17 Aug 2010 13:50:26 +0000 (15:50 +0200)]
redis plugin: Add default configuration.

13 years agoredis plugin: Improve the types used for storing information.
Florian Forster [Tue, 17 Aug 2010 13:48:25 +0000 (15:48 +0200)]
redis plugin: Improve the types used for storing information.

13 years agoredis plugin: Use a linked list rather than an AVL tree.
Florian Forster [Tue, 17 Aug 2010 13:20:59 +0000 (15:20 +0200)]
redis plugin: Use a linked list rather than an AVL tree.

Since the main purpose of the data structure is to iterate over it, using
an AVL tree here is less efficient than a linked list. Also, it's easier
to read.

13 years agocollectd.conf(5): Document he "Derive*" and "AbsoluteSet" DSTypes of the tail plugin.
Florian Forster [Tue, 17 Aug 2010 06:07:35 +0000 (08:07 +0200)]
collectd.conf(5): Document he "Derive*" and "AbsoluteSet" DSTypes of the tail plugin.

13 years agosrc/utils_match.c: Use strtoull(3) for counter and absolute data sources.
Florian Forster [Tue, 17 Aug 2010 06:05:38 +0000 (08:05 +0200)]
src/utils_match.c: Use strtoull(3) for counter and absolute data sources.

13 years agosrc/utils_match.h: Fix a bug preventing derive values from being handled correctly.
Florian Forster [Mon, 16 Aug 2010 08:32:27 +0000 (10:32 +0200)]
src/utils_match.h: Fix a bug preventing derive values from being handled correctly.

Due to the bit-wise check, the value for derive (0x30) matches the check
for gauge (0x10), too. This commit fixes the behavior by assigning other
numeric values to the defines.

13 years agosrc/configfile.c: Continue parsing config files if stat'ing one file fails.
Florian Forster [Fri, 13 Aug 2010 21:15:48 +0000 (23:15 +0200)]
src/configfile.c: Continue parsing config files if stat'ing one file fails.

13 years agosrc/utils_db_query.[ch]: Remove legacy code.
Florian Forster [Wed, 11 Aug 2010 13:45:01 +0000 (15:45 +0200)]
src/utils_db_query.[ch]: Remove legacy code.

The "legacy mode" supported an old configuration schema of the
PostgreSQL plugin. This commit removes it, so only the recommended
configuration remains possible.

13 years agowrite_redis plugin: Add a new plugin writing collectd data to an instance of Redis.
Florian Forster [Tue, 10 Aug 2010 11:26:45 +0000 (13:26 +0200)]
write_redis plugin: Add a new plugin writing collectd data to an instance of Redis.

13 years agocollectd.conf(5): Improve the "Redis plugin" documentation a bit.
Florian Forster [Tue, 10 Aug 2010 09:18:42 +0000 (11:18 +0200)]
collectd.conf(5): Improve the "Redis plugin" documentation a bit.

13 years agoconfigure.in: Reorder the library checks alphabetically.
Florian Forster [Tue, 10 Aug 2010 09:08:03 +0000 (11:08 +0200)]
configure.in: Reorder the library checks alphabetically.

13 years agoredis plugin: Simplify configuration handling.
Florian Forster [Tue, 10 Aug 2010 08:54:31 +0000 (10:54 +0200)]
redis plugin: Simplify configuration handling.

13 years agoFix a number of minor bugs.
Andres J. Diaz [Mon, 9 Aug 2010 08:45:06 +0000 (10:45 +0200)]
Fix a number of minor bugs.

- The Port configuration option is a string, not a number. Fix
  documentation.

- Fix a bad status assignement in port parser.

- Remove default node. Now node is mandatory to prevent
  duplicates in tree.

- Update configuration example too.

13 years agocollectdctl: Explicitly cast "long" to "int". This might be a problem on 32bit archit...
Florian Forster [Tue, 10 Aug 2010 07:35:00 +0000 (09:35 +0200)]
collectdctl: Explicitly cast "long" to "int". This might be a problem on 32bit architectures.

13 years agocollectdctl: Added support for ‘U’ (undef) values in ‘putval’.
Sebastian Harl [Mon, 9 Aug 2010 20:04:54 +0000 (22:04 +0200)]
collectdctl: Added support for ‘U’ (undef) values in ‘putval’.

13 years agolibcollectdclient: Fixed handling of ‘U’ (undef) in ‘PUTVAL’.
Sebastian Harl [Mon, 9 Aug 2010 20:03:02 +0000 (22:03 +0200)]
libcollectdclient: Fixed handling of ‘U’ (undef) in ‘PUTVAL’.

13 years agocollectdctl: Improved error reporting.
Sebastian Harl [Mon, 9 Aug 2010 19:57:05 +0000 (21:57 +0200)]
collectdctl: Improved error reporting.

13 years agocollectdctl: Added support for the ‘putval’ command.
Sebastian Harl [Mon, 9 Aug 2010 19:54:09 +0000 (21:54 +0200)]
collectdctl: Added support for the ‘putval’ command.

13 years agolibcollectdclient: Added missing element to LCC_VALUE_LIST_INIT.
Sebastian Harl [Mon, 9 Aug 2010 19:29:07 +0000 (21:29 +0200)]
libcollectdclient: Added missing element to LCC_VALUE_LIST_INIT.

13 years agocollectdctl: Moved examples section from help output to manpage.
Sebastian Harl [Mon, 9 Aug 2010 15:39:24 +0000 (17:39 +0200)]
collectdctl: Moved examples section from help output to manpage.

13 years agocollectdctl: ‘flush’ now supports multiple plugins/identifiers.
Sebastian Harl [Mon, 9 Aug 2010 15:26:11 +0000 (17:26 +0200)]
collectdctl: ‘flush’ now supports multiple plugins/identifiers.

… just like the ‘unixsock’ plugin does.

13 years agocollectdctl(1): Updated the manpage according to the latest changes.
Sebastian Harl [Sun, 8 Aug 2010 22:10:22 +0000 (00:10 +0200)]
collectdctl(1): Updated the manpage according to the latest changes.

13 years agocollectdctl: Improved error reporting.
Sebastian Harl [Sun, 8 Aug 2010 21:27:16 +0000 (23:27 +0200)]
collectdctl: Improved error reporting.

13 years agocollectdctl: Added ‘listval’ command.
Sebastian Harl [Sun, 8 Aug 2010 21:23:40 +0000 (23:23 +0200)]
collectdctl: Added ‘listval’ command.

13 years agoRenamed ‘collectd-flush’ to ‘collectdctl’ (collectd control interface).
Sebastian Harl [Sun, 8 Aug 2010 20:22:11 +0000 (22:22 +0200)]
Renamed ‘collectd-flush’ to ‘collectdctl’ (collectd control interface).

13 years agocollectd-flush: Added ‘getval’ to the help output.
Sebastian Harl [Sun, 8 Aug 2010 20:18:06 +0000 (22:18 +0200)]
collectd-flush: Added ‘getval’ to the help output.

13 years agocollectd-flush: Added support for the ‘getval’ command.
Sebastian Harl [Sun, 8 Aug 2010 20:15:15 +0000 (22:15 +0200)]
collectd-flush: Added support for the ‘getval’ command.

13 years agocollectd-flush: Moved connection handling out of ‘flush()’.
Sebastian Harl [Sun, 8 Aug 2010 19:49:11 +0000 (21:49 +0200)]
collectd-flush: Moved connection handling out of ‘flush()’.

13 years agocollectd-flush: Switched to a command based syntax.
Sebastian Harl [Sun, 8 Aug 2010 19:41:45 +0000 (21:41 +0200)]
collectd-flush: Switched to a command based syntax.

Basically, the command line now looks similar to the ‘unixsock’ text protocol,
i.e., a command is specified as first non-option argument followed by any
options of that command as defined by the protocol.

13 years agocurl json: Fix checking the response code.
Florian Forster [Sun, 8 Aug 2010 08:59:15 +0000 (10:59 +0200)]
curl json: Fix checking the response code.

13 years agosrc/Makefile: Build and ship (in the tarball) the collectd-flush manpage.
Sebastian Harl [Sat, 7 Aug 2010 11:30:42 +0000 (13:30 +0200)]
src/Makefile: Build and ship (in the tarball) the collectd-flush manpage.

13 years agocollectd-flush: Include version and author information in usage output.
Sebastian Harl [Sat, 7 Aug 2010 07:51:08 +0000 (09:51 +0200)]
collectd-flush: Include version and author information in usage output.

Just like the other tools.

13 years agocollectd-flush: Determine default socket from configured localstatedir.
Sebastian Harl [Sat, 7 Aug 2010 07:48:16 +0000 (09:48 +0200)]
collectd-flush: Determine default socket from configured localstatedir.

13 years agocollectd-flush: Do not use ‘getopt_long()’.
Sebastian Harl [Sat, 7 Aug 2010 07:43:33 +0000 (09:43 +0200)]
collectd-flush: Do not use ‘getopt_long()’.

This is a GNU extension and, thus, not portable.

Also, pimped the usage output a bit.

13 years agocollectd-flush: Simplified ‘usage()’ a bit.
Sebastian Harl [Sat, 7 Aug 2010 07:16:50 +0000 (09:16 +0200)]
collectd-flush: Simplified ‘usage()’ a bit.

13 years agosrc/utils_cmd_putval.[ch]: Implement "create_putval".
Florian Forster [Fri, 6 Aug 2010 12:59:56 +0000 (14:59 +0200)]
src/utils_cmd_putval.[ch]: Implement "create_putval".

13 years agowrite_http plugin: Move "wh_value_list_to_string" to src/common.[ch].
Florian Forster [Fri, 6 Aug 2010 12:40:55 +0000 (14:40 +0200)]
write_http plugin: Move "wh_value_list_to_string" to src/common.[ch].

13 years agocollectd-flush: Minor coding style changes.
Florian Forster [Fri, 6 Aug 2010 07:04:24 +0000 (09:04 +0200)]
collectd-flush: Minor coding style changes.

13 years agocollectd-flush: Add a missing "break" in a "switch" case.
Florian Forster [Fri, 6 Aug 2010 06:59:46 +0000 (08:59 +0200)]
collectd-flush: Add a missing "break" in a "switch" case.

13 years agoUpdate Makefile.am to build collectd-flush
Hakon-Dugstad.Johnsen@telenor.com [Thu, 5 Aug 2010 14:40:18 +0000 (16:40 +0200)]
Update Makefile.am to build collectd-flush

As I am no automake expert, I basically copied
the lines for collectd-nagios and changed them
to collectd-flush. It works, but maybe there could
be better ways to do it. I don't know. :)

As I said in the previous mail:
If this message is not properly encoded as utf-8, something wrong must have
happened with my mailer. If that's the case, I'm sorry.  The only non-ascii character
in the patch is the second character of my name, which is an &aring;.

Signed-off-by: Håkon J Dugstad Johnsen <hakon-dugstad.johnsen@telenor.com>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
13 years agoAdd collectd-flush command line utility.
Hakon-Dugstad.Johnsen@telenor.com [Thu, 5 Aug 2010 14:37:45 +0000 (16:37 +0200)]
Add collectd-flush command line utility.

collectd-flush is a small command-line utility which uses libcollectdclient
to flush collectd through the unixsock plugin. As far as I know, there is
no easy way to work with unix sockets from the shell, so if someone
wanted to flush collectd without this program, they would need to do it
through some other language (or restart the deamon).

I am no C wizard, so please bear with me if I have
done something a stupid way. :)
The code is based on/inspired by collectd-nagios.

If this message is not properly encoded as utf-8, something wrong must have
happened with my mailer. If that's the case, I'm sorry.  The only non-ascii character
in the patch is the second character of my name, which is an &aring;.

Signed-off-by: Håkon J Dugstad Johnsen <hakon-dugstad.johnsen@telenor.com>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
13 years agoFix incorrect error logging.
Garret Heaton [Tue, 20 Jul 2010 01:56:31 +0000 (18:56 -0700)]
Fix incorrect error logging.

Was calling sys.stderror instead of sys.stderr.

13 years agoredis plugin: Use "sizeof" rather than repeating the size.
Florian Forster [Wed, 4 Aug 2010 12:43:38 +0000 (14:43 +0200)]
redis plugin: Use "sizeof" rather than repeating the size.

13 years agocurl_json plugin: Use a more descriptive define as return value.
Florian Forster [Wed, 4 Aug 2010 12:40:04 +0000 (14:40 +0200)]
curl_json plugin: Use a more descriptive define as return value.

13 years agoredis plugin: Whitespace fixes.
Florian Forster [Wed, 4 Aug 2010 09:49:06 +0000 (11:49 +0200)]
redis plugin: Whitespace fixes.

I've re-indented the entire plugin because indentation was all over the
place. Sorry, if this breaks any patches for you. I'm not usually a
friend of doing this, but I felt it'd be best to do this early on to
annoy the smallest possible number of people.

13 years agoredis plugin: Fix typos preventing a successful build.
Florian Forster [Wed, 4 Aug 2010 09:36:04 +0000 (11:36 +0200)]
redis plugin: Fix typos preventing a successful build.

13 years agoAdd redis plugin.
Andres J. Diaz [Fri, 30 Jul 2010 14:06:48 +0000 (16:06 +0200)]
Add redis plugin.

This commit adds a new redis plugin, which connect to a number of redis
server and get information about their status, using the libcredis > 0.2.2
library. The plugin get the following information:

* bgsave_in_progress
* change_since_last_save
* connected_clients
* connected_slaves
* total_command_processed
* total_connection_received
* uptime_in_seconds
* used_memory

Here is an example of configuration file:

<Plugin redis>
<Node example>
Host "localhost"
Timeout 2000
</Node>
</Plugin>

And the output of rrdtool plugin must be something similar to this:

redis-example/bgsave_in_progress.rrd
redis-example/changes_since_last_save.rrd
redis-example/connected_clients.rrd
redis-example/connected_slaves.rrd
redis-example/total_commands_processed.rrd
redis-example/total_connections_received.rrd
redis-example/uptime_in_seconds.rrd
redis-example/used_memory.rrd

Enjoy! :)

13 years agocollectd-perl(5): Mention that "Globals" should be enabled.
Sebastian Harl [Wed, 28 Jul 2010 20:42:48 +0000 (22:42 +0200)]
collectd-perl(5): Mention that "Globals" should be enabled.

13 years agocollectd.conf(5): Documents LoadPlugin's "Globals" option.
Sebastian Harl [Wed, 28 Jul 2010 20:42:23 +0000 (22:42 +0200)]
collectd.conf(5): Documents LoadPlugin's "Globals" option.

13 years agoFix incorrect error logging.
Garret Heaton [Tue, 20 Jul 2010 01:56:31 +0000 (18:56 -0700)]
Fix incorrect error logging.

Was calling sys.stderror instead of sys.stderr.

13 years agocurl_json plugin: Use the "number" callback of libyajl.
Florian Forster [Tue, 13 Jul 2010 11:58:34 +0000 (13:58 +0200)]
curl_json plugin: Use the "number" callback of libyajl.

The "integer" callback only works with "long"s, which are 32bit on
x86 and other 32bit architectures. The "number" callback gets the raw
string for us to parse ourselves – honoring the data source type in the
process.

The "integer" and "double" callbacks have been removed, since they are not
used if the "number" callback is present.

13 years agoREADME: Add the "varnish" plugin.
Florian Forster [Tue, 13 Jul 2010 10:09:05 +0000 (12:09 +0200)]
README: Add the "varnish" plugin.

13 years agovarnish plugin: Update the copyright and author information.
Florian Forster [Tue, 13 Jul 2010 09:50:44 +0000 (11:50 +0200)]
varnish plugin: Update the copyright and author information.

13 years agoMerge branch 'collectd-4.10'
Florian Forster [Fri, 9 Jul 2010 10:05:32 +0000 (12:05 +0200)]
Merge branch 'collectd-4.10'

13 years agoBumped version to 4.10.1; Updated ChangeLog. collectd-4.10.1
Florian Forster [Fri, 9 Jul 2010 10:01:28 +0000 (12:01 +0200)]
Bumped version to 4.10.1; Updated ChangeLog.

13 years agoswap plugin: Multiply swap sizes by 1024.
Florian Forster [Fri, 9 Jul 2010 09:58:28 +0000 (11:58 +0200)]
swap plugin: Multiply swap sizes by 1024.

This fixes a regression introduced in 6a3935d.

13 years agoMerge branch 'collectd-4.9' into collectd-4.10
Florian Forster [Fri, 9 Jul 2010 09:49:31 +0000 (11:49 +0200)]
Merge branch 'collectd-4.9' into collectd-4.10

Conflicts:
ChangeLog
version-gen.sh

13 years agoChangeLog: Fix the release date for 4.9.3. collectd-4.9.3
Florian Forster [Fri, 9 Jul 2010 09:47:07 +0000 (11:47 +0200)]
ChangeLog: Fix the release date for 4.9.3.

13 years agoBumped version to 4.9.3; Updated ChangeLog.
Florian Forster [Fri, 9 Jul 2010 09:39:08 +0000 (11:39 +0200)]
Bumped version to 4.9.3; Updated ChangeLog.

13 years agosrc/plugin.c: Check "read_loop" when returning from "pthread_cond_timedwait".
Florian Forster [Tue, 6 Jul 2010 11:00:32 +0000 (13:00 +0200)]
src/plugin.c: Check "read_loop" when returning from "pthread_cond_timedwait".

Otherwise it may take up to $Interval seconds until all read threads
shut down. This bug was introduced in version 4.8.4 (commit dbe1a7d).

13 years agonetwork plugin: Remove the "CacheFlush" config option.
Florian Forster [Mon, 5 Jul 2010 18:09:04 +0000 (20:09 +0200)]
network plugin: Remove the "CacheFlush" config option.

13 years agodf plugin: Remove the "ReportReserved" config option.
Florian Forster [Mon, 5 Jul 2010 18:08:04 +0000 (20:08 +0200)]
df plugin: Remove the "ReportReserved" config option.

13 years agohddtemp plugin: Remove the "TranslateDevicename" config option.
Florian Forster [Mon, 5 Jul 2010 09:26:13 +0000 (11:26 +0200)]
hddtemp plugin: Remove the "TranslateDevicename" config option.

13 years agov5upgrade target: Implement handling of the "mysql_qcache" and "mysql_threads" types.
Florian Forster [Mon, 5 Jul 2010 08:46:00 +0000 (10:46 +0200)]
v5upgrade target: Implement handling of the "mysql_qcache" and "mysql_threads" types.

13 years agov5upgrade target: Don't use "memcpy" to copy static strings.
Florian Forster [Mon, 5 Jul 2010 08:38:35 +0000 (10:38 +0200)]
v5upgrade target: Don't use "memcpy" to copy static strings.

13 years agomysql plugin: Remove the "mysql_threads" type.
Florian Forster [Mon, 5 Jul 2010 08:27:46 +0000 (10:27 +0200)]
mysql plugin: Remove the "mysql_threads" type.

13 years agomysql plugin: Remove the "mysql_qcache" type.
Florian Forster [Mon, 5 Jul 2010 08:24:01 +0000 (10:24 +0200)]
mysql plugin: Remove the "mysql_qcache" type.