Florian Forster [Sun, 2 Jan 2011 21:20:14 +0000 (22:20 +0100)]
src/common.c: parse_identifier_vl: Don't pass NULL to sstrncpy().
Florian Forster [Sun, 2 Jan 2011 21:16:49 +0000 (22:16 +0100)]
swap plugin: Fix a comment.
Florian Forster [Thu, 30 Dec 2010 11:28:13 +0000 (12:28 +0100)]
src/collectd{ctl,-nagios}.c: Remove the standards-flags again.
Solaris and FreeBSD have problems with it for different reasons. The
huge NAN-block from "collectd.h" has been imported again, instead.
Florian Forster [Thu, 30 Dec 2010 10:37:52 +0000 (11:37 +0100)]
zfs_arc plugin: Remove unused variables.
Florian Forster [Thu, 30 Dec 2010 08:54:15 +0000 (09:54 +0100)]
Build system: Check whether X/Open flags are required for strptime.
This hopefully resolved problems under Solaris, where X/Open compatibility
pulls in a long list of other standards you have to stick to. For example,
we don't want to force the user to use a C99 compiler.
Florian Forster [Thu, 30 Dec 2010 07:54:04 +0000 (08:54 +0100)]
swap plugin: Deactivate the kstat-based code.
As discussed with Aurélien Reynaud on the mailing list.
Florian Forster [Sun, 19 Dec 2010 13:16:59 +0000 (14:16 +0100)]
src/configfile.c: Enable the "Globals" flag for the Perl and Python plugin.
This special handling hopefully saves the average user from ever getting
in contact with the "Globals" option.
Florian Forster [Wed, 15 Dec 2010 15:52:51 +0000 (16:52 +0100)]
modbus plugin: Add support for libmodbus version 2.9.2.
This is the current "unstable" release. Hopefully the API won't
change too much in the future. All in all this new interface is
much nicer. The stable ("legacy") version of libmodbus is still
supported through preprocessor macros.
Florian Forster [Wed, 15 Dec 2010 14:56:14 +0000 (15:56 +0100)]
modbus plugin: Restore compatibility to libmodbus 2.0.3.
This is the current "stable" version.
Florian Forster [Wed, 15 Dec 2010 07:04:00 +0000 (08:04 +0100)]
src/utils_rrdcreate.c: Convert vl->interval to seconds when creating RRD files.
Florian Forster [Wed, 15 Dec 2010 06:51:40 +0000 (07:51 +0100)]
curl_json plugin: Fix handling of numbers which are returned as strings.
Also, the string handling function has been simplified. The obscure and
hardly documented sub-request for incomplete keys feature has been
removed.
Florian Forster [Tue, 14 Dec 2010 07:16:46 +0000 (08:16 +0100)]
curl_json plugin: Use "parse_value" to handle JSON numbers.
Florian Forster [Tue, 14 Dec 2010 06:25:24 +0000 (07:25 +0100)]
curl_json plugin: Use the global config helper functions.
Florian Forster [Wed, 8 Dec 2010 14:00:58 +0000 (15:00 +0100)]
contrib/migrate-4-5.px: Add a first version of the migration script.
Florian Forster [Wed, 8 Dec 2010 12:23:41 +0000 (13:23 +0100)]
unixsock plugin: Remove the "GETTHRESHOLD" command.
Florian Forster [Mon, 6 Dec 2010 13:01:35 +0000 (14:01 +0100)]
Bump version to 5.0.0; Update ChangeLog.
Florian Forster [Mon, 6 Dec 2010 10:21:45 +0000 (11:21 +0100)]
swap plugin: Complain if physical and virtual reporting have both been deactivated.
Florian Forster [Mon, 6 Dec 2010 10:13:09 +0000 (11:13 +0100)]
swap plugin: Implement virtual / physical reporting on Solaris.
Florian Forster [Mon, 6 Dec 2010 08:31:34 +0000 (09:31 +0100)]
Merge branch 'collectd-4.10'
Florian Forster [Mon, 6 Dec 2010 08:31:15 +0000 (09:31 +0100)]
Merge branch 'collectd-4.9' into collectd-4.10
Florian Forster [Sun, 5 Dec 2010 15:40:34 +0000 (16:40 +0100)]
Various plugins: Convert more plugins to use "derive" instead of "counter".
Florian Forster [Sun, 5 Dec 2010 11:18:33 +0000 (12:18 +0100)]
Various plugins: Change various plugins to use "derive" internally.
This is just a beginning, other plugins will have to be changed, too.
Florian Forster [Sun, 5 Dec 2010 11:05:18 +0000 (12:05 +0100)]
src/common.c: parse_value: Fix assignment of derive and absolute values.
Florian Forster [Sun, 5 Dec 2010 10:44:12 +0000 (11:44 +0100)]
src/types.db: Rename the data sources of all types with only one DS to "value".
I'm not yet 100% sure what to do with the types with two or more data sources.
Florian Forster [Sun, 5 Dec 2010 10:39:09 +0000 (11:39 +0100)]
src/types.db: Replace all COUNTER data sources with DERIVE.
All the standard DERIVE data sources have a minimum value of zero and
no maximum value.
Florian Forster [Sun, 5 Dec 2010 10:23:31 +0000 (11:23 +0100)]
threshold plugin: Implement dispatching "missing" notifications.
Florian Forster [Sun, 5 Dec 2010 10:20:49 +0000 (11:20 +0100)]
src/common.h: NOTIFICATION_INIT_VL: Remove the "ds" argument.
Since "type" is now included in "value_list_t", too, we don't need a
"data_set_t" to initialize the notification.
Florian Forster [Sun, 5 Dec 2010 10:11:36 +0000 (11:11 +0100)]
src/plugin.[ch]: Pass the user data to registered "missing" functions.
Florian Forster [Sun, 5 Dec 2010 10:05:43 +0000 (11:05 +0100)]
threshold plugin: Move the threshold checking code into a plugin.
Florian Forster [Sat, 4 Dec 2010 08:30:47 +0000 (09:30 +0100)]
configure.in: Fix a typo in an AC_ARG_WITH description.
Florian Forster [Sun, 28 Nov 2010 07:36:39 +0000 (08:36 +0100)]
ChangeLog: Add missing line (copynpaste error).
Florian Forster [Sat, 27 Nov 2010 10:46:11 +0000 (11:46 +0100)]
Merge branch 'collectd-4.10'
Conflicts:
src/utils_rrdcreate.c
Florian Forster [Sat, 27 Nov 2010 10:03:34 +0000 (11:03 +0100)]
Bump version to 4.10.2; Update ChangeLog.
Florian Forster [Sat, 27 Nov 2010 10:00:29 +0000 (11:00 +0100)]
Merge branch 'collectd-4.9' into collectd-4.10
Conflicts:
ChangeLog
src/collectd.conf.pod
version-gen.sh
Florian Forster [Sat, 27 Nov 2010 09:55:47 +0000 (10:55 +0100)]
Bump version to 4.9.4; Update ChangeLog.
Florian Forster [Fri, 26 Nov 2010 21:46:26 +0000 (22:46 +0100)]
src/utils_time.[ch]: Implement work-around for Mac OS X …
… which, apparently, doesn't have clock_gettime(2).
Florian Forster [Thu, 25 Nov 2010 10:51:17 +0000 (11:51 +0100)]
Merge remote branch 'trenkel/collectd-4.9' into collectd-4.9
Sven Trenkel [Thu, 25 Nov 2010 09:56:30 +0000 (10:56 +0100)]
netapp: Fixed incompatible changes between NetApp Release 7.2 and 7.3 that prevented collecting SIS data
Florian Forster [Tue, 23 Nov 2010 17:45:49 +0000 (18:45 +0100)]
swap plugin: Fix a bug collecting swap I/O.
Florian Forster [Tue, 23 Nov 2010 12:02:21 +0000 (13:02 +0100)]
src/utils_cache.c: Call the "missing" callbacks when a value is not being updated.
Florian Forster [Tue, 23 Nov 2010 11:57:25 +0000 (12:57 +0100)]
src/common.[ch]: Implement "parse_identifier_vl".
Florian Forster [Tue, 23 Nov 2010 11:56:11 +0000 (12:56 +0100)]
src/plugin.[ch]: Implement "missing" callbacks.
This is a first step towards moving the threshold checking code into
a plugin.
Florian Forster [Thu, 18 Nov 2010 08:48:17 +0000 (09:48 +0100)]
src/collectd.conf.in: Add the LPAR plugin.
Florian Forster [Thu, 18 Nov 2010 08:45:22 +0000 (09:45 +0100)]
collectd.conf(5): Add documentation for the LPAR plugin.
Florian Forster [Wed, 17 Nov 2010 14:18:03 +0000 (15:18 +0100)]
Merge branch 'ff/highres'
Conflicts:
src/netapp.c
Florian Forster [Tue, 16 Nov 2010 11:20:18 +0000 (12:20 +0100)]
Merge remote branch 'trenkel/collectd-4.9' into collectd-4.9
Sven Trenkel [Tue, 16 Nov 2010 11:11:45 +0000 (12:11 +0100)]
Fixed RedHat init script to shut down collectd on reboot/halt.
Florian Forster [Tue, 16 Nov 2010 08:20:04 +0000 (09:20 +0100)]
network plugin: Introduce new types for the "high resolution" time fields.
Florian Forster [Sun, 14 Nov 2010 09:52:13 +0000 (10:52 +0100)]
collectd.conf(5): Document the dangers of messing with the interval setting.
Florian Forster [Fri, 12 Nov 2010 07:13:42 +0000 (08:13 +0100)]
processes plugin: Don't complain about a failed open(/proc/$PID/cmdline)
... if the error is ENOENT. This merely means we were too slow and that
we can safely ignore the process.
Florian Forster [Thu, 11 Nov 2010 15:56:32 +0000 (16:56 +0100)]
unixsock plugin: Implement the "DeleteSocket" option.
Sven Trenkel [Thu, 11 Nov 2010 14:19:15 +0000 (15:19 +0100)]
python: Added support for subsecond interval.
Florian Forster [Thu, 11 Nov 2010 13:20:58 +0000 (14:20 +0100)]
src/utils_rrdcreate.c: Remove a too strict assertion.
We don't actually check anywhere that vl->time is greater than 10, so we
cannot assure this.
Florian Forster [Thu, 11 Nov 2010 12:33:38 +0000 (13:33 +0100)]
v5upgrade target: Implement "upgrades" for the ZFS ARC plugin.
Florian Forster [Thu, 11 Nov 2010 11:35:36 +0000 (12:35 +0100)]
zfs_arc plugin: Change the order of type instance "fields" for the "cache_result" type.
Florian Forster [Thu, 11 Nov 2010 10:30:37 +0000 (11:30 +0100)]
zfs_arc plugin: Use the more generic "cache_*" types …
… instead of those awful "arc_*" types.
Florian Forster [Sat, 6 Nov 2010 14:04:31 +0000 (15:04 +0100)]
src/utils_cmd_flush.c: Fix parsing of the "timeout" option.
Florian Forster [Sat, 6 Nov 2010 13:26:38 +0000 (14:26 +0100)]
rrdtool plugin: Make sure "cache_timeout + random_variation" dosn't get negative.
Florian Forster [Sat, 6 Nov 2010 13:26:16 +0000 (14:26 +0100)]
src/{collectd,plugin}.c: Don't cast "-1" to cdtime_t.
Florian Forster [Sat, 6 Nov 2010 11:11:23 +0000 (12:11 +0100)]
Merge branch 'collectd-4.10'
Florian Forster [Sat, 6 Nov 2010 11:08:20 +0000 (12:08 +0100)]
Merge branch 'collectd-4.9' into collectd-4.10
Conflicts:
src/collectd.conf.in
src/python.c
Florian Forster [Sat, 6 Nov 2010 08:58:57 +0000 (09:58 +0100)]
README: Add libperfstat as an optional dependency.
Florian Forster [Sat, 6 Nov 2010 08:58:25 +0000 (09:58 +0100)]
AUTHORS: Add Aurélien Reynaud
Florian Forster [Sat, 6 Nov 2010 08:55:29 +0000 (09:55 +0100)]
README: Add the "LPAR" plugin.
Florian Forster [Sat, 6 Nov 2010 08:40:05 +0000 (09:40 +0100)]
Merge branch 'ar/lpar'
Aurelien Reynaud [Thu, 14 Oct 2010 20:09:29 +0000 (22:09 +0200)]
lpar plugin: rename NS_TO_TICKS() macro to CLOCKTICKS_TO_TICKS()
Signed-off-by: Aurelien Reynaud <collectd@wattapower.net>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Aurelien Reynaud [Thu, 14 Oct 2010 20:09:28 +0000 (22:09 +0200)]
lpar plugin: update commen t regarding poll_idle vs pool_busy
Signed-off-by: Aurelien Reynaud <collectd@wattapower.net>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Aurelien Reynaud [Thu, 14 Oct 2010 20:09:27 +0000 (22:09 +0200)]
lpar plugin: check for donation support in libperfstat
Signed-off-by: Aurelien Reynaud <collectd@wattapower.net>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Florian Forster [Sat, 6 Nov 2010 08:04:39 +0000 (09:04 +0100)]
Merge branch 'sp/amqp'
Florian Forster [Sat, 6 Nov 2010 08:04:25 +0000 (09:04 +0100)]
AUTHORS: Add Sebastien Pahl.
Florian Forster [Sat, 6 Nov 2010 08:00:00 +0000 (09:00 +0100)]
amqp plugin: Document the lock required to hold when calling "camqp_write_locked".
Florian Forster [Sat, 6 Nov 2010 07:53:02 +0000 (08:53 +0100)]
amqp plugin: Rename the "shutdown" function to avoid problems with shutdown(2).
Florian Forster [Sat, 6 Nov 2010 07:43:51 +0000 (08:43 +0100)]
amqp plugin: Fix order of includes.
Florian Forster [Sat, 6 Nov 2010 07:42:48 +0000 (08:42 +0100)]
src/types.db: Add type "current_sessions".
Florian Forster [Wed, 3 Nov 2010 12:49:58 +0000 (13:49 +0100)]
Many plugins and files: Convert "interval_g" and "vl->interval" to cdtime_t.
Florian Forster [Sun, 31 Oct 2010 16:15:06 +0000 (17:15 +0100)]
Merge branch 'master' into ff/subsecond
Florian Forster [Sun, 31 Oct 2010 16:10:43 +0000 (17:10 +0100)]
Move the "cdtime_t" type to "collectd.h".
This will make it possible to turn "interval_g" into a "cdtime_t".
Florian Forster [Sun, 31 Oct 2010 16:07:40 +0000 (17:07 +0100)]
src/collectd.h: Do not include <stdbool.h> here.
Florian Forster [Sun, 31 Oct 2010 14:55:06 +0000 (15:55 +0100)]
powerdns plugin: Make calculation of timeout value more precise.
Florian Forster [Sun, 31 Oct 2010 14:51:51 +0000 (15:51 +0100)]
ipvs plugin: Remove explicit reference of "interval_g".
Florian Forster [Sun, 31 Oct 2010 14:44:18 +0000 (15:44 +0100)]
src/common.c: parse_values: Add error handling.
Florian Forster [Sun, 31 Oct 2010 14:35:50 +0000 (15:35 +0100)]
thermal plugin: Remove explicit reference to "interval_g".
Florian Forster [Sun, 31 Oct 2010 13:41:43 +0000 (14:41 +0100)]
src/utils_cache.c: Fix timeout checking.
Florian Forster [Sun, 31 Oct 2010 13:36:11 +0000 (14:36 +0100)]
rrdtool plugin: Fix the "random variation" implementation.
Florian Forster [Sun, 31 Oct 2010 13:11:59 +0000 (14:11 +0100)]
Various plugins: More fixes for the "cdtime_t" change.
Florian Forster [Sun, 31 Oct 2010 12:48:05 +0000 (13:48 +0100)]
java plugin: Fix conversion from / to Java.
Florian Forster [Sun, 31 Oct 2010 12:18:11 +0000 (13:18 +0100)]
libvirt plugin: Don't set the time explicitly.
Florian Forster [Sun, 31 Oct 2010 12:09:51 +0000 (13:09 +0100)]
Various plugins: Some more fixes with the time_t → cdtime_t change.
Florian Forster [Sun, 31 Oct 2010 11:52:31 +0000 (12:52 +0100)]
network plugin: Don't use the "true" and "false" macros from <stdbool.h>.
They cause more trouble with other includes that they are worth.
Florian Forster [Sun, 31 Oct 2010 11:51:43 +0000 (12:51 +0100)]
src/plugin.[ch]: Change the flush callbacks to take a "cdtime_t".
Florian Forster [Sun, 31 Oct 2010 11:51:02 +0000 (12:51 +0100)]
src/utils_time.h: Add macros for converting to "struct timespec" ..
.. and "struct timeval".
Florian Forster [Sun, 31 Oct 2010 11:50:35 +0000 (12:50 +0100)]
src/plugin.[ch]: Change the "time" member to "cdtime_t".
Florian Forster [Sun, 31 Oct 2010 11:39:10 +0000 (12:39 +0100)]
src/configfile.[ch]: Add "cf_util_get_cdtime".
Florian Forster [Sat, 30 Oct 2010 12:04:12 +0000 (14:04 +0200)]
Merge branch 'master' into ff/subsecond
Florian Forster [Sat, 30 Oct 2010 12:03:02 +0000 (14:03 +0200)]
Various plugins: Don't call "time(2)" in the plugins to set vl.time.
vl.time is initialized to zero instead and the current time is filled in
by dispatch_values().
Florian Forster [Sat, 30 Oct 2010 11:56:52 +0000 (13:56 +0200)]
src/utils_time.[ch]: Add module for sub-second time handling.
Sven Trenkel [Mon, 11 Oct 2010 11:35:39 +0000 (13:35 +0200)]
netapp plugin: Fixed a bug that prevented the configured interval to be passed on to the dispatch function.
Florian Forster [Wed, 6 Oct 2010 12:32:56 +0000 (14:32 +0200)]
lpar plugin: Calculate "pool busy" from "pool idle", not the other way around.
Florian Forster [Wed, 6 Oct 2010 08:11:10 +0000 (10:11 +0200)]
Merge remote branch 'trenkel/collectd-4.10' into collectd-4.10
Sven Trenkel [Mon, 4 Oct 2010 23:26:22 +0000 (01:26 +0200)]
Fixed epic documentation fail. Python3 and meta-data support was added with 4.10 but is still listed as missing.