src/configfile.c: Actually set the `BaseDir' option.
exec plugin: Implemented a first version.
liboconfig: Import version 0.1.1.
rrdtool plugin: Fix another memory leak..
..or, possibly, fixed the first one correctly. It's kind of hard to tell with
that caching code :/
..or, possibly, fixed the first one correctly. It's kind of hard to tell with
that caching code :/
rrdtool plugin: Fix a memory leak.
rrdtool plugin: Use the AVL-tree to implement the cache.
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.
The rrdtool-plugin will use the iterator to find outdated cache-entries and
flush only them, not the entire cache.
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.
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.
src/utils_avltree.c: Fix `avl_pick'.
Merge branch 'ff/avl-tree'
src/utils_avltree.c: Added `avl_pick'.
src/utils_avltree.c: Removal works, too.
src/utils_avltree.c: Insertion works correktly.
src/collectd.conf.pod: Removed the part about the `ExtendedNaming' in the sensors plugin.
rrdtool plugin: Implemented a `DataDir' config option to be able to store the RRD-files anywhere.
src/collectd.conf.{in,pod}: Update the sample config and the config's documentation.
Removed `src/libconfig/*'.
src/collectd.conf.in: Added the `network' plugin.
src/common.c: Removed the (extern) variable `operating_mode'.
src/collectd.c: Removed `Mode' code and other old stuff.
Changed from the old `libconfig' to the new `liboconfig'.
Much work lies in front of us.. :/
Much work lies in front of us.. :/
Merge branch 'collectd-3.11' into merge/collectd-4
Conflicts:
src/multimeter.c
src/plugin.c
Conflicts:
src/multimeter.c
src/plugin.c
Bumped version to 3.11.2; Updated ChangeLog.
{email,multimeter,users} plugin: Don't pass NULL-pointers to `plugin_submit'.
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.
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.
Merge branch 'collectd-3.11' into merge/collectd-4
Conflicts:
configure.in
src/processes.c
Conflicts:
configure.in
src/processes.c
README: Updated the informatioin about plugins and prerequisites.
dns plugin: Only include and build with `utils_dns.c' if it's actually used.
configure.in: Don't link all objects with `libkstat' and `libdevinfo'.
configure.in: Bump to 3.11.1; Improve the detection of `netinet/udp.h'.
ChangeLog: Added changes for version 3.11.1.
traffic pluxin: Remove unnecessary `strcpy'.
Merge branch 'pull/collectd-3.11' into collectd-3.11
src/utils_mount.c: Fix defines so `cu_mount_getlist' works under Solaris.
Merge branch 'sh/freebsd'
17 years agosrc/utils_dns.c: Fix the handling of the `struct udphdr' under the GNU libc and other...
src/utils_dns.c: Fix the handling of the `struct udphdr' under the GNU libc and other systems.
processes.c, utils_dns.c: Fix compile errors on GNU/kFreeBSD.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Merge branch 'pull/uni' into collectd-4
tape plugin: Converted to the new plugin interface.
serial plugin: Converted to the new plugin interface.
multimeter plugin: Converted to the new plugin interface.
hddtemp plugin: Converted to the new plugin interface.
mbmon plugin: Correct the `type's being passed to the dispatch function.
mbmon plugin: Converted to the new plugin interface.
mysql plugin: Converted to the new plugin interface.
{apcups,battery} plugin: Changes the voltage DS as for the sensors plugin.
sensors plugin: Change the DS of `voltage' to be named `value' as for other physical data-sets.
plugin interface: If an init-function fails, write an error to syslog and remove the read function.
wireless plugin: Converted to the new plugin interface.
dns plugin: Converted to the new plugin interface.
swap plugin: Converted to the new plugin interface.
ntpd plugin: Converted to the new plugin interface.
unixsock plugin: Finally fixed the `pthread_t'-initialization to be platform independant.
unixsock plugin: Fix the initialization of the pthread variable under Mac OS X.
processes plugin: Converted to the new plugin interface.
A first version anyways.
A first version anyways.
Merge branch 'pull/collectd-4'
cpu plugin: Remove newline from syslog message.
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.
The usual quadratic increase of delay-intervals is being used to disable the
function for up to 24 hours.
cpufreq plugin: Converted to the new plugin interface.
src/plugin.[ch]: Provide unregister-functions for plugins to remove certain functions.
disk plugin: Converted to the new plugin interface.
battery plugin: Converted to the new plugin interface.
df plugin: Converted to the new plugin interface.
unixsock plugin: Make created threads to be `detached'.
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.
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.
unixsock plugin, collectd-nagios: Use the hostname, too, to identify values.
This is, of course, necessary, because many hosts may submit their values.
This is, of course, necessary, because many hosts may submit their values.
collectd-nagios: Added an option to select certain DSes and updated the usage.
collectd-nagios: Added a small program to perform Nagios-compatible checks on values.
unixsock plugin: Transmit the DS name so clients can chose which values they need.
Merge branch 'collectd-4' into ff/unixsock
cpu plugin: Fix a bug in the data-set description.
unixsock plugin: Added a first version of a UNIX-socket output plugin.
The goal is to build a nagios-interface on top of this.
The goal is to build a nagios-interface on top of this.
Merge branch 'pull/collectd-4'
apple_sensors plugin: Converted to the new plugin interface.
cpu plugin: Improved some syslog messages.
Also updated the copyright notice.
Also updated the copyright notice.
nfs plugin: Fixes to work under !Linux.
traffic plugin: Fix the plugin to work under Mac OS X.
csv plugin: Fixed the initialization of `struct flock' to be portable.
It didn't work on Mac OS X for example.
It didn't work on Mac OS X for example.
Merge branch 'ff/entropy' into collectd-4
traffic plugin: Updated copyright notice.
sensors plugin: Fixed some syntactic errors.
17 years agosensors plugin: Improved the data sources, changed the license and updated the copyri...
sensors plugin: Improved the data sources, changed the license and updated the copyright notice.
apcups plugin: Converted to the new plugin interface.
src/collectd.h: Include `math.h' and try to force it to define `NAN'.
entropy plugin: Added a plugin to collect available entropy.
Only works on Linux systems right now..
Only works on Linux systems right now..
ping plugin: Converted to the new plugin interface.
memory plugin: Converted to the new plugin interface.
network plugin: Use a global buffer and fill it as much as possible.
This should lessen network load, hopefully.
This should lessen network load, hopefully.
src/common.c: Removed `log_update_file' and `log_create_file'.
Also changed the license to GPLv2-only and updated the copyright date.
Also changed the license to GPLv2-only and updated the copyright date.
csv plugin: Added this plugin which writes to CSV files.
This is basically the old `logfile' functionality.
This is basically the old `logfile' functionality.
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.
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.
cpu plugin: Converted to the new plugin interface.
src/collectd.conf.in: Added the rrdtool plugin and configuration examples.
load, traffic plugins: Changed license to GPLv2 only.
apache plugin: Converted to the new plugin interface.
Merge branch 'master' into collectd-4
Conflicts:
src/sensors.c
Conflicts:
src/sensors.c
17 years agoMerge branch 'ff/plugins-ng' of octo@verplant.org:/var/lib/git/collectd into ff/plugi...
Merge branch 'ff/plugins-ng' of octo@verplant.org:/var/lib/git/collectd into ff/plugins-ng
sensors plugin: Converted to the new plugin interface.
17 years agosrc/plugin.[ch]: Store the hostname in a global variable to minimize calls to `gethos...
src/plugin.[ch]: Store the hostname in a global variable to minimize calls to `gethostname'.
src/plugin.h: Added `VALUE_LIST_INIT', a static initializer for value_list_t.