Florian Forster [Thu, 15 Feb 2007 11:10:09 +0000 (12:10 +0100)]
rrdtool plugin: Use the AVL-tree to implement the cache.
Florian Forster [Thu, 15 Feb 2007 11:09:33 +0000 (12:09 +0100)]
src/utils_avltree.[ch]: Fix the iterator, since it's actually usefull with caches.
The rrdtool-plugin will use the iterator to find outdated cache-entries and
flush only them, not the entire cache.
Florian Forster [Thu, 15 Feb 2007 08:47:37 +0000 (09:47 +0100)]
src/utils_avltree.[ch]: Documented the interface of the AVL-tree.
The iterator-code has been disabled, because it's not very practical and
`utils_llist' should be used if order matters. `avl_node_{next,prev}' have been
made `static', because they're not exported.
Florian Forster [Wed, 14 Feb 2007 21:44:45 +0000 (22:44 +0100)]
src/utils_avltree.c: Fix `avl_pick'.
Florian Forster [Wed, 14 Feb 2007 21:32:48 +0000 (22:32 +0100)]
Merge branch 'ff/avl-tree'
Florian Forster [Wed, 14 Feb 2007 21:29:48 +0000 (22:29 +0100)]
src/utils_avltree.c: Added `avl_pick'.
Florian Forster [Wed, 14 Feb 2007 17:45:10 +0000 (18:45 +0100)]
src/utils_avltree.c: Removal works, too.
Florian Forster [Wed, 14 Feb 2007 16:42:00 +0000 (17:42 +0100)]
src/utils_avltree.c: Insertion works correktly.
Florian Forster [Mon, 12 Feb 2007 19:08:32 +0000 (20:08 +0100)]
src/collectd.conf.pod: Removed the part about the `ExtendedNaming' in the sensors plugin.
Florian Forster [Mon, 12 Feb 2007 18:55:19 +0000 (19:55 +0100)]
rrdtool plugin: Implemented a `DataDir' config option to be able to store the RRD-files anywhere.
Florian Forster [Mon, 12 Feb 2007 18:52:06 +0000 (19:52 +0100)]
src/collectd.conf.{in,pod}: Update the sample config and the config's documentation.
Florian Forster [Mon, 12 Feb 2007 10:21:54 +0000 (11:21 +0100)]
Removed `src/libconfig/*'.
Florian Forster [Mon, 12 Feb 2007 10:18:30 +0000 (11:18 +0100)]
src/collectd.conf.in: Added the `network' plugin.
Florian Forster [Mon, 12 Feb 2007 10:18:08 +0000 (11:18 +0100)]
src/common.c: Removed the (extern) variable `operating_mode'.
Florian Forster [Mon, 12 Feb 2007 10:17:38 +0000 (11:17 +0100)]
src/collectd.c: Removed `Mode' code and other old stuff.
Florian Forster [Sun, 11 Feb 2007 21:12:33 +0000 (22:12 +0100)]
Changed from the old `libconfig' to the new `liboconfig'.
Much work lies in front of us.. :/
Florian Forster [Sun, 11 Feb 2007 14:39:58 +0000 (15:39 +0100)]
Merge branch 'collectd-3.11' into merge/collectd-4
Conflicts:
src/multimeter.c
src/plugin.c
Florian Forster [Sun, 11 Feb 2007 11:52:16 +0000 (12:52 +0100)]
Bumped version to 3.11.2; Updated ChangeLog.
Florian Forster [Sun, 11 Feb 2007 11:39:46 +0000 (12:39 +0100)]
{email,multimeter,users} plugin: Don't pass NULL-pointers to `plugin_submit'.
Florian Forster [Sun, 11 Feb 2007 11:39:22 +0000 (12:39 +0100)]
plugin.c: Catch NULL-pointers and fix it or ignore the values.
Some systems, such as Solaris, cannot handle NULL-pointers being passed to
`printf ("%s", NULL);' or the like. This caused a crash when sending the users
plugin's values over the network under Solaris.
Florian Forster [Sat, 10 Feb 2007 10:30:18 +0000 (11:30 +0100)]
Merge branch 'collectd-3.11' into merge/collectd-4
Conflicts:
configure.in
src/processes.c
Florian Forster [Sat, 10 Feb 2007 10:16:44 +0000 (11:16 +0100)]
README: Updated the informatioin about plugins and prerequisites.
Florian Forster [Sat, 10 Feb 2007 09:40:30 +0000 (10:40 +0100)]
dns plugin: Only include and build with `utils_dns.c' if it's actually used.
Florian Forster [Sat, 10 Feb 2007 09:39:50 +0000 (10:39 +0100)]
configure.in: Don't link all objects with `libkstat' and `libdevinfo'.
Florian Forster [Sat, 10 Feb 2007 09:15:52 +0000 (10:15 +0100)]
configure.in: Bump to 3.11.1; Improve the detection of `netinet/udp.h'.
Florian Forster [Sat, 10 Feb 2007 08:22:21 +0000 (09:22 +0100)]
ChangeLog: Added changes for version 3.11.1.
Florian Forster [Fri, 9 Feb 2007 21:40:15 +0000 (22:40 +0100)]
traffic pluxin: Remove unnecessary `strcpy'.
Florian Forster [Fri, 9 Feb 2007 16:55:49 +0000 (17:55 +0100)]
Merge branch 'pull/collectd-3.11' into collectd-3.11
Florian Forster [Fri, 9 Feb 2007 16:39:01 +0000 (17:39 +0100)]
src/utils_mount.c: Fix defines so `cu_mount_getlist' works under Solaris.
Florian Forster [Wed, 7 Feb 2007 12:58:55 +0000 (13:58 +0100)]
Merge branch 'sh/freebsd'
Florian Forster [Wed, 7 Feb 2007 12:58:23 +0000 (13:58 +0100)]
src/utils_dns.c: Fix the handling of the `struct udphdr' under the GNU libc and other systems.
Sebastian Harl [Mon, 5 Feb 2007 21:42:26 +0000 (22:42 +0100)]
processes.c, utils_dns.c: Fix compile errors on GNU/kFreeBSD.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Florian Forster [Mon, 5 Feb 2007 19:01:27 +0000 (20:01 +0100)]
Merge branch 'pull/uni' into collectd-4
Florian Forster [Mon, 5 Feb 2007 11:30:10 +0000 (12:30 +0100)]
tape plugin: Converted to the new plugin interface.
Florian Forster [Mon, 5 Feb 2007 11:20:12 +0000 (12:20 +0100)]
serial plugin: Converted to the new plugin interface.
Florian Forster [Mon, 5 Feb 2007 11:06:04 +0000 (12:06 +0100)]
multimeter plugin: Converted to the new plugin interface.
Florian Forster [Mon, 5 Feb 2007 10:12:29 +0000 (11:12 +0100)]
hddtemp plugin: Converted to the new plugin interface.
Florian Forster [Mon, 5 Feb 2007 10:11:37 +0000 (11:11 +0100)]
mbmon plugin: Correct the `type's being passed to the dispatch function.
Florian Forster [Mon, 5 Feb 2007 09:51:03 +0000 (10:51 +0100)]
mbmon plugin: Converted to the new plugin interface.
Florian Forster [Sun, 4 Feb 2007 09:50:17 +0000 (10:50 +0100)]
mysql plugin: Converted to the new plugin interface.
Florian Forster [Sun, 4 Feb 2007 09:18:18 +0000 (10:18 +0100)]
{apcups,battery} plugin: Changes the voltage DS as for the sensors plugin.
Florian Forster [Sun, 4 Feb 2007 09:15:10 +0000 (10:15 +0100)]
sensors plugin: Change the DS of `voltage' to be named `value' as for other physical data-sets.
Florian Forster [Sun, 4 Feb 2007 09:14:35 +0000 (10:14 +0100)]
plugin interface: If an init-function fails, write an error to syslog and remove the read function.
Florian Forster [Sun, 4 Feb 2007 09:13:05 +0000 (10:13 +0100)]
wireless plugin: Converted to the new plugin interface.
Florian Forster [Fri, 2 Feb 2007 20:38:02 +0000 (21:38 +0100)]
dns plugin: Converted to the new plugin interface.
Florian Forster [Wed, 31 Jan 2007 15:40:47 +0000 (16:40 +0100)]
swap plugin: Converted to the new plugin interface.
Florian Forster [Wed, 31 Jan 2007 15:22:37 +0000 (16:22 +0100)]
ntpd plugin: Converted to the new plugin interface.
Florian Forster [Wed, 31 Jan 2007 14:38:36 +0000 (15:38 +0100)]
unixsock plugin: Finally fixed the `pthread_t'-initialization to be platform independant.
Florian Forster [Wed, 31 Jan 2007 13:40:01 +0000 (14:40 +0100)]
unixsock plugin: Fix the initialization of the pthread variable under Mac OS X.
Florian Forster [Wed, 31 Jan 2007 13:38:33 +0000 (14:38 +0100)]
processes plugin: Converted to the new plugin interface.
A first version anyways.
Florian Forster [Wed, 31 Jan 2007 12:48:21 +0000 (13:48 +0100)]
Merge branch 'pull/collectd-4'
Florian Forster [Wed, 31 Jan 2007 12:48:08 +0000 (13:48 +0100)]
cpu plugin: Remove newline from syslog message.
Florian Forster [Wed, 31 Jan 2007 11:17:37 +0000 (12:17 +0100)]
src/plugin.c: Implemented delaying of read-functions that fail.
The usual quadratic increase of delay-intervals is being used to disable the
function for up to 24 hours.
Florian Forster [Wed, 31 Jan 2007 08:27:25 +0000 (09:27 +0100)]
cpufreq plugin: Converted to the new plugin interface.
Florian Forster [Mon, 29 Jan 2007 14:08:52 +0000 (15:08 +0100)]
src/plugin.[ch]: Provide unregister-functions for plugins to remove certain functions.
Florian Forster [Mon, 29 Jan 2007 13:54:10 +0000 (14:54 +0100)]
disk plugin: Converted to the new plugin interface.
Florian Forster [Mon, 29 Jan 2007 12:14:49 +0000 (13:14 +0100)]
battery plugin: Converted to the new plugin interface.
Florian Forster [Mon, 29 Jan 2007 10:20:09 +0000 (11:20 +0100)]
df plugin: Converted to the new plugin interface.
Florian Forster [Mon, 29 Jan 2007 10:02:41 +0000 (11:02 +0100)]
unixsock plugin: Make created threads to be `detached'.
Florian Forster [Sun, 28 Jan 2007 19:15:33 +0000 (20:15 +0100)]
cpu plugin: Write each CPU-counter in a seperate RRD-file.
This has proven to be a lot more flexible. And if we're to add `interrupt' and
`soft interrupt' counters anyway, we might as well change it to this superior
layout.
Florian Forster [Sun, 28 Jan 2007 19:00:28 +0000 (20:00 +0100)]
unixsock plugin, collectd-nagios: Use the hostname, too, to identify values.
This is, of course, necessary, because many hosts may submit their values.
Florian Forster [Sun, 28 Jan 2007 17:52:45 +0000 (18:52 +0100)]
collectd-nagios: Added an option to select certain DSes and updated the usage.
Florian Forster [Sun, 28 Jan 2007 17:14:39 +0000 (18:14 +0100)]
collectd-nagios: Added a small program to perform Nagios-compatible checks on values.
Florian Forster [Sun, 28 Jan 2007 17:14:07 +0000 (18:14 +0100)]
unixsock plugin: Transmit the DS name so clients can chose which values they need.
Florian Forster [Sun, 28 Jan 2007 11:24:21 +0000 (12:24 +0100)]
Merge branch 'collectd-4' into ff/unixsock
Florian Forster [Sun, 28 Jan 2007 11:22:47 +0000 (12:22 +0100)]
cpu plugin: Fix a bug in the data-set description.
Florian Forster [Sun, 28 Jan 2007 11:22:17 +0000 (12:22 +0100)]
unixsock plugin: Added a first version of a UNIX-socket output plugin.
The goal is to build a nagios-interface on top of this.
Florian Forster [Mon, 22 Jan 2007 21:55:50 +0000 (22:55 +0100)]
Merge branch 'pull/collectd-4'
Florian Forster [Mon, 22 Jan 2007 21:55:37 +0000 (22:55 +0100)]
apple_sensors plugin: Converted to the new plugin interface.
Florian Forster [Mon, 22 Jan 2007 21:54:42 +0000 (22:54 +0100)]
cpu plugin: Improved some syslog messages.
Also updated the copyright notice.
Florian Forster [Mon, 22 Jan 2007 21:53:25 +0000 (22:53 +0100)]
nfs plugin: Fixes to work under !Linux.
Florian Forster [Mon, 22 Jan 2007 21:52:49 +0000 (22:52 +0100)]
traffic plugin: Fix the plugin to work under Mac OS X.
Florian Forster [Mon, 22 Jan 2007 21:52:14 +0000 (22:52 +0100)]
csv plugin: Fixed the initialization of `struct flock' to be portable.
It didn't work on Mac OS X for example.
Florian Forster [Mon, 22 Jan 2007 21:36:40 +0000 (22:36 +0100)]
Merge branch 'ff/entropy' into collectd-4
Florian Forster [Mon, 22 Jan 2007 21:36:14 +0000 (22:36 +0100)]
traffic plugin: Updated copyright notice.
Florian Forster [Mon, 22 Jan 2007 21:35:55 +0000 (22:35 +0100)]
sensors plugin: Fixed some syntactic errors.
Florian Forster [Mon, 22 Jan 2007 09:57:46 +0000 (10:57 +0100)]
sensors plugin: Improved the data sources, changed the license and updated the copyright notice.
Florian Forster [Mon, 22 Jan 2007 09:56:33 +0000 (10:56 +0100)]
apcups plugin: Converted to the new plugin interface.
Florian Forster [Mon, 22 Jan 2007 09:56:10 +0000 (10:56 +0100)]
src/collectd.h: Include `math.h' and try to force it to define `NAN'.
Florian Forster [Mon, 22 Jan 2007 08:59:47 +0000 (09:59 +0100)]
entropy plugin: Added a plugin to collect available entropy.
Only works on Linux systems right now..
Florian Forster [Mon, 22 Jan 2007 08:31:39 +0000 (09:31 +0100)]
ping plugin: Converted to the new plugin interface.
Florian Forster [Wed, 17 Jan 2007 11:36:51 +0000 (12:36 +0100)]
memory plugin: Converted to the new plugin interface.
Florian Forster [Tue, 16 Jan 2007 14:51:50 +0000 (15:51 +0100)]
network plugin: Use a global buffer and fill it as much as possible.
This should lessen network load, hopefully.
Florian Forster [Tue, 16 Jan 2007 08:50:43 +0000 (09:50 +0100)]
src/common.c: Removed `log_update_file' and `log_create_file'.
Also changed the license to GPLv2-only and updated the copyright date.
Florian Forster [Tue, 16 Jan 2007 08:42:35 +0000 (09:42 +0100)]
csv plugin: Added this plugin which writes to CSV files.
This is basically the old `logfile' functionality.
Iain Lea [Tue, 16 Jan 2007 06:59:50 +0000 (07:59 +0100)]
collectd.spec: Updated for version 3.11
Never received any feedback from you and every release still contains a spec
file that is out of date... here is the spec file updated to build ok on fedora
core 3-6.
Florian Forster [Mon, 15 Jan 2007 22:02:58 +0000 (23:02 +0100)]
cpu plugin: Converted to the new plugin interface.
Florian Forster [Mon, 15 Jan 2007 18:34:43 +0000 (19:34 +0100)]
src/collectd.conf.in: Added the rrdtool plugin and configuration examples.
Florian Forster [Mon, 15 Jan 2007 18:33:15 +0000 (19:33 +0100)]
load, traffic plugins: Changed license to GPLv2 only.
Florian Forster [Mon, 15 Jan 2007 18:32:39 +0000 (19:32 +0100)]
apache plugin: Converted to the new plugin interface.
Florian Forster [Mon, 15 Jan 2007 17:36:26 +0000 (18:36 +0100)]
Merge branch 'master' into collectd-4
Conflicts:
src/sensors.c
Florian Forster [Mon, 15 Jan 2007 17:30:36 +0000 (18:30 +0100)]
Merge branch 'ff/plugins-ng' of octo@verplant.org:/var/lib/git/collectd into ff/plugins-ng
Florian Forster [Mon, 15 Jan 2007 13:56:53 +0000 (14:56 +0100)]
sensors plugin: Converted to the new plugin interface.
Florian Forster [Mon, 15 Jan 2007 13:00:10 +0000 (14:00 +0100)]
src/plugin.[ch]: Store the hostname in a global variable to minimize calls to `gethostname'.
Florian Forster [Mon, 15 Jan 2007 12:49:15 +0000 (13:49 +0100)]
src/plugin.h: Added `VALUE_LIST_INIT', a static initializer for value_list_t.
Florian Forster [Mon, 15 Jan 2007 10:40:25 +0000 (11:40 +0100)]
nfs plugin: Ported to the new plugin structure.
Florian Forster [Sun, 14 Jan 2007 20:12:15 +0000 (21:12 +0100)]
network plugin: Don't case an int to a void*, because some systems don't like it..
Florian Forster [Sun, 14 Jan 2007 17:55:07 +0000 (18:55 +0100)]
collectd.conf(5): Documented the option of the rrdtool-plugin.
Florian Forster [Sun, 14 Jan 2007 14:06:07 +0000 (15:06 +0100)]
rrdtool plugin: Implemented caching of values to minimize IO operations.
Use the `CacheTimeout' option to enable this feature.
Florian Forster [Sun, 14 Jan 2007 13:36:17 +0000 (14:36 +0100)]
src/utils_llist.[ch]: Implemented `llist_remove'.