Code

collectd.git
16 years agoBumped version to 4.0.5; Updated ChangeLog. collectd-4.0.5
Florian Forster [Thu, 5 Jul 2007 20:02:48 +0000 (22:02 +0200)]
Bumped version to 4.0.5; Updated ChangeLog.

16 years agocollectd-nagios(1): Fix typo.
Florian Forster [Mon, 2 Jul 2007 09:59:46 +0000 (11:59 +0200)]
collectd-nagios(1): Fix typo.

16 years agodns plugin: Added support for the old bind-interface.
Florian Forster [Sun, 1 Jul 2007 07:50:43 +0000 (09:50 +0200)]
dns plugin: Added support for the old bind-interface.

Apparently it is still in use, even in new distributions:
-- 8< --
 bsbuild>uname -a
 OpenBSD bsbuild 4.1 GENERIC#1435 i386
 bsbuild>/usr/sbin/named -v
 BIND 9.3.4
-- >8 --

16 years agosrc/common.c: Allow the `pwbufp' argument to `getpwnam_r' to be NULL.
Florian Forster [Sun, 1 Jul 2007 06:53:18 +0000 (08:53 +0200)]
src/common.c: Allow the `pwbufp' argument to `getpwnam_r' to be NULL.

16 years agoImpelemt an own version of `getpwnam_r'.
Florian Forster [Sat, 30 Jun 2007 21:22:41 +0000 (23:22 +0200)]
Impelemt an own version of `getpwnam_r'.

Since OpenBSD doesn't provide a threadsafe version itself, we need to provide
it in this case.. :/

16 years ago{hddtemp,mbmon,ntpd} plugins: Only use the `AI_ADDRCONFIG' if it's defined.
Florian Forster [Sat, 30 Jun 2007 15:01:04 +0000 (17:01 +0200)]
{hddtemp,mbmon,ntpd} plugins: Only use the `AI_ADDRCONFIG' if it's defined.

16 years agoconfigure.in: Include `sys/types.h' and `sys/param.h' before other `sys/*.h' includes.
Florian Forster [Sat, 30 Jun 2007 14:04:26 +0000 (16:04 +0200)]
configure.in: Include `sys/types.h' and `sys/param.h' before other `sys/*.h' includes.

This fixes build problems under OpenBSD.

16 years agoBumped version to 4.0.4; Updated ChangeLog. collectd-4.0.4
Florian Forster [Sun, 24 Jun 2007 20:41:17 +0000 (22:41 +0200)]
Bumped version to 4.0.4; Updated ChangeLog.

16 years agosrc/collectd-nagios.c: Copy the NAN-defines from `collectd.h'.
Florian Forster [Sun, 24 Jun 2007 20:40:36 +0000 (22:40 +0200)]
src/collectd-nagios.c: Copy the NAN-defines from `collectd.h'.

This should fix the bug reported by Daniel Leite.

16 years agodns plugin: Check for `net/ppp_defs.h' and include it before `net/if_ppp.h' if it...
Florian Forster [Sat, 23 Jun 2007 07:02:13 +0000 (09:02 +0200)]
dns plugin: Check for `net/ppp_defs.h' and include it before `net/if_ppp.h' if it exists.

This hopefully solves build problems under OpenBSD.

16 years agomemory plugin: Fix a typo in the Solaris code.
Daniel Leite [Thu, 21 Jun 2007 08:45:18 +0000 (10:45 +0200)]
memory plugin: Fix a typo in the Solaris code.

16 years agoliboconfig: Added `%option noyywrap' to the scanner.
Florian Forster [Thu, 21 Jun 2007 08:40:49 +0000 (10:40 +0200)]
liboconfig: Added `%option noyywrap' to the scanner.

This should solve the link issues when collectd is built without flex being
installed.

16 years agoload plugin: Fix the Linux code that reads `/proc/loadavg'.
Florian Forster [Thu, 21 Jun 2007 08:39:39 +0000 (10:39 +0200)]
load plugin: Fix the Linux code that reads `/proc/loadavg'.

16 years agocpu, interface plugin: Fix compilation issues under Solaris.
Daniel Leite [Thu, 21 Jun 2007 08:38:24 +0000 (10:38 +0200)]
cpu, interface plugin: Fix compilation issues under Solaris.

16 years agoBumped version to 4.0.3. collectd-4.0.3
Florian Forster [Tue, 19 Jun 2007 19:31:07 +0000 (21:31 +0200)]
Bumped version to 4.0.3.

16 years agoChangeLog, README: Documented the `--with-nan-emulation' option.
Florian Forster [Tue, 19 Jun 2007 19:29:25 +0000 (21:29 +0200)]
ChangeLog, README: Documented the `--with-nan-emulation' option.

16 years agoconfigure: Implemented `--with-nan-emulation' for crosscompiling.
Florian Forster [Tue, 19 Jun 2007 18:48:15 +0000 (20:48 +0200)]
configure: Implemented `--with-nan-emulation' for crosscompiling.

When crosscompiling you cannot do the runtime checks for the (0.0 / 0.0) hack.
With this option you can force this implementation if neccessary.

16 years agosrc/Makefile.am: When building outside the source tree, install will fail
Ezra Peisach [Tue, 19 Jun 2007 06:10:10 +0000 (08:10 +0200)]
src/Makefile.am: When building outside the source tree, install will fail

Signed-off-by: Ezra Peisach <epeisach@med-xtal.bu.edu>
16 years agocsv, rrdtool plugin: Initialize a buffer correctly.
Ezra Peisach [Tue, 19 Jun 2007 06:05:47 +0000 (08:05 +0200)]
csv, rrdtool plugin: Initialize a buffer correctly.

While reading the source code, I found the following:

In csv.c (line 44) and rrdtool.c (line 363) (value_list_to_string) the
following syntax exists:

  memset (buffer, '\0', sizeof (buffer_len));

The sizeof should be removed - assuming that the desire is to zero the buffer
and not the first four (sizeof(int)) bytes.

Based on the code paths - I do not see an information leak - or any security
implications...

16 years agoChangeLog: Added changes for 4.0.3.
Florian Forster [Mon, 18 Jun 2007 16:42:42 +0000 (18:42 +0200)]
ChangeLog: Added changes for 4.0.3.

16 years agoping plugin: Actually check the uid, not the address of `getuid'.
Florian Forster [Mon, 18 Jun 2007 14:56:00 +0000 (16:56 +0200)]
ping plugin: Actually check the uid, not the address of `getuid'.

16 years agocpu plugin: Submit the right values in the Darwin code.
Florian Forster [Wed, 13 Jun 2007 21:21:38 +0000 (23:21 +0200)]
cpu plugin: Submit the right values in the Darwin code.

16 years agoBumped version to 4.0.2; Updated ChangeLog. collectd-4.0.2
Florian Forster [Tue, 12 Jun 2007 06:01:58 +0000 (08:01 +0200)]
Bumped version to 4.0.2; Updated ChangeLog.

16 years agohddtemp, ntpd plugin: Allow numeric `Port' arguments.
Florian Forster [Mon, 11 Jun 2007 10:08:57 +0000 (12:08 +0200)]
hddtemp, ntpd plugin: Allow numeric `Port' arguments.

16 years agoBumped version to 4.0.1; Updated ChangeLog. collectd-4.0.1
Florian Forster [Thu, 7 Jun 2007 08:21:57 +0000 (10:21 +0200)]
Bumped version to 4.0.1; Updated ChangeLog.

16 years agocontrib/collection.cgi: Added graphs for gauge, if_errors, ipt_bytes and ipt_packets.
Florian Forster [Thu, 7 Jun 2007 07:41:01 +0000 (09:41 +0200)]
contrib/collection.cgi: Added graphs for gauge, if_errors, ipt_bytes and ipt_packets.

16 years agoREADME, collectd.conf(5): its/it's in documentation
Evan Miller [Thu, 7 Jun 2007 07:22:44 +0000 (09:22 +0200)]
README, collectd.conf(5): its/it's in documentation

A grammatical pet peeve of mine...

Cheers,

Evan

16 years agocollectd.conf.pod: Fixed a typo.
Sebastian Harl [Tue, 5 Jun 2007 10:57:06 +0000 (12:57 +0200)]
collectd.conf.pod: Fixed a typo.

The rrdtool plugin does not create CSV-files ;-)

Signed-off-by: Sebastian Harl <sh@tokkee.org>
16 years agoiptables plugin: Fix a segfault when a comment is passed in the configuration.
Florian Forster [Wed, 6 Jun 2007 15:35:46 +0000 (17:35 +0200)]
iptables plugin: Fix a segfault when a comment is passed in the configuration.

16 years agoBumped version to 4.0.0; Updated ChangeLog. collectd-4.0.0
Florian Forster [Sun, 3 Jun 2007 17:55:51 +0000 (19:55 +0200)]
Bumped version to 4.0.0; Updated ChangeLog.

16 years agoMarked the perl plugin to be experimental.
Sebastian Harl [Sun, 3 Jun 2007 13:33:27 +0000 (15:33 +0200)]
Marked the perl plugin to be experimental.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
16 years agoAdded Perl module "Collectd" to contrib.
Sebastian Harl [Sun, 3 Jun 2007 13:32:55 +0000 (15:32 +0200)]
Added Perl module "Collectd" to contrib.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
16 years agoMerge branch 'pull/master'
Florian Forster [Sat, 2 Jun 2007 07:25:42 +0000 (09:25 +0200)]
Merge branch 'pull/master'

16 years agocollectd-unixsock(5): Corrected the information about the PUTVAL format.
Florian Forster [Sat, 2 Jun 2007 07:25:31 +0000 (09:25 +0200)]
collectd-unixsock(5): Corrected the information about the PUTVAL format.

16 years agocollectd-exec(5): Documented the recent changes.
Florian Forster [Thu, 31 May 2007 21:34:29 +0000 (23:34 +0200)]
collectd-exec(5): Documented the recent changes.

16 years agoexec plugin: Change the input format so it's identical to the one used in unixsock.
Florian Forster [Thu, 31 May 2007 21:16:41 +0000 (23:16 +0200)]
exec plugin: Change the input format so it's identical to the one used in unixsock.

16 years agounixsock plugin: Moved the `parse_identifier' code to `common.c'
Florian Forster [Thu, 31 May 2007 21:16:06 +0000 (23:16 +0200)]
unixsock plugin: Moved the `parse_identifier' code to `common.c'

The new function `parse_values' in `common.c' can be used to parse
`time:value0:value1:...', as used by RRDTool, the unixsock plugin and, in the
very near future, the exec plugin.

16 years agontpd plugin: Replace `syslog (LOG_ERR, ...)' with `ERROR (...)'.
Florian Forster [Wed, 30 May 2007 06:08:04 +0000 (08:08 +0200)]
ntpd plugin: Replace `syslog (LOG_ERR, ...)' with `ERROR (...)'.

16 years agoMerge branch 'collectd-3.11'
Florian Forster [Wed, 30 May 2007 06:06:48 +0000 (08:06 +0200)]
Merge branch 'collectd-3.11'

Conflicts:

ChangeLog
configure.in

16 years agoBumped version to 3.11.5; Updated ChangeLog. collectd-3.11.5
Florian Forster [Tue, 29 May 2007 20:51:49 +0000 (22:51 +0200)]
Bumped version to 3.11.5; Updated ChangeLog.

16 years agontpd plugin: Fix a possible buffer overflow.
Florian Forster [Tue, 29 May 2007 19:40:07 +0000 (21:40 +0200)]
ntpd plugin: Fix a possible buffer overflow.

16 years agoMerge branch 'pull/master'
Florian Forster [Fri, 25 May 2007 17:51:59 +0000 (19:51 +0200)]
Merge branch 'pull/master'

16 years agonetwork plugin: Prepend the plugin's name to debug messages.
Florian Forster [Fri, 25 May 2007 17:49:24 +0000 (19:49 +0200)]
network plugin: Prepend the plugin's name to debug messages.

16 years agoexec plugin: Print a warning when the returned string is incorrect.
Florian Forster [Fri, 25 May 2007 17:48:56 +0000 (19:48 +0200)]
exec plugin: Print a warning when the returned string is incorrect.

Also the debug messages have been beautified.

16 years agocontrib/migrate-3-4.px: Added usage information.
Florian Forster [Fri, 25 May 2007 17:47:04 +0000 (19:47 +0200)]
contrib/migrate-3-4.px: Added usage information.

16 years agocollectd.c: Added '-t' command line option.
Sebastian Harl [Wed, 23 May 2007 12:21:19 +0000 (14:21 +0200)]
collectd.c: Added '-t' command line option.

This option allows to test the configuration only. The program immediately
exits after parsing the config file. A return code not equal to zero indicates
an error.

Some typos have been fixed as well.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
16 years agomemory plugin: Fix unused variable warning under FreeBSD.
Florian Forster [Wed, 23 May 2007 15:52:00 +0000 (17:52 +0200)]
memory plugin: Fix unused variable warning under FreeBSD.

16 years agoMerge branch 'collectd-3.11'
Florian Forster [Tue, 22 May 2007 15:54:54 +0000 (17:54 +0200)]
Merge branch 'collectd-3.11'

Conflicts:

src/processes.c

16 years agoprocesses plugin: ps_read_tasks will fail under Linux 2.4.
Florian Forster [Tue, 22 May 2007 15:53:23 +0000 (17:53 +0200)]
processes plugin: ps_read_tasks will fail under Linux 2.4.

Take this into account and don't report all processes without tasks as zombies.

16 years agosensors plugin: Let the read-function fail if something isn't right..
Florian Forster [Tue, 22 May 2007 09:44:51 +0000 (11:44 +0200)]
sensors plugin: Let the read-function fail if something isn't right..

..so it gets suspended as it should be.

16 years agoplugin.c: Added a comment that explains why the order of the linked list and callback...
Florian Forster [Mon, 21 May 2007 05:21:28 +0000 (07:21 +0200)]
plugin.c: Added a comment that explains why the order of the linked list and callback are important.

16 years agoplugin.c: Advance the llentry_t pointer before calling the shutdown callback.
Sebastian Harl [Sun, 20 May 2007 20:59:21 +0000 (22:59 +0200)]
plugin.c: Advance the llentry_t pointer before calling the shutdown callback.

> Important note: Unregistering the shutdown callback during shutdown is
> somewhat tricky. Doing that frees the llist_t entry in plugin.c:list_shutdown.
> This might cause a segfault in plugin_shutdown_all () when it tries to access
> the next pointer of that entry. If plugin_unregister_shutdown () is the last
> statement before the return from the shutdown callback this should be save in
> about 99% of all cases. Still there should be some better way to handle this.

This is an imho nice way to fix it.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
16 years agoperl plugin: Unregister all callbacks from collectd when shutting down.
Sebastian Harl [Sun, 20 May 2007 20:58:03 +0000 (22:58 +0200)]
perl plugin: Unregister all callbacks from collectd when shutting down.

If we do not unregister the callbacks there is still an entry point into the
plugin after Perl has been shut down and its memory has been freed. This will
cause segmentation faults if collectd tries to call any of the registered
callbacks, e.g. by some plugin calling plugin_log () during shutdown.

Important note: Unregistering the shutdown callback during shutdown is
somewhat tricky. Doing that frees the llist_t entry in plugin.c:list_shutdown.
This might cause a segfault in plugin_shutdown_all () when it tries to access
the next pointer of that entry. If plugin_unregister_shutdown () is the last
statement before the return from the shutdown callback this should be save in
about 99% of all cases. Still there should be some better way to handle this.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
16 years agosrc/plugin.c: Remove slashed from host, {plugin,type}{,-instance} here.
Florian Forster [Sun, 20 May 2007 07:55:54 +0000 (09:55 +0200)]
src/plugin.c: Remove slashed from host, {plugin,type}{,-instance} here.

A fix in the disk plugin has been removed again.

16 years agoemail, users and vserver plugins: Changed license to GPL v2 only.
Sebastian Harl [Sat, 19 May 2007 21:38:12 +0000 (23:38 +0200)]
email, users and vserver plugins: Changed license to GPL v2 only.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
16 years agoREADME: Fixed a typo.
Sebastian Harl [Sat, 19 May 2007 21:37:27 +0000 (23:37 +0200)]
README: Fixed a typo.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
16 years agoconfigure.in: Bumped version to 4.0.0-rc10 collectd-4.0.0-rc10
Florian Forster [Sat, 19 May 2007 15:20:11 +0000 (17:20 +0200)]
configure.in: Bumped version to 4.0.0-rc10

16 years agocollectd-nagios(1) and collectd-unixsock(5): Reference one another.
Florian Forster [Sat, 19 May 2007 15:19:31 +0000 (17:19 +0200)]
collectd-nagios(1) and collectd-unixsock(5): Reference one another.

16 years agocollectd-unixsock(5): Added a note about Collectd::Unixsock.
Florian Forster [Sat, 19 May 2007 15:13:55 +0000 (17:13 +0200)]
collectd-unixsock(5): Added a note about Collectd::Unixsock.

16 years agoREADME: Cleaned up the description of plugins and added information about new plugins.
Florian Forster [Sat, 19 May 2007 15:09:18 +0000 (17:09 +0200)]
README: Cleaned up the description of plugins and added information about new plugins.

16 years agocollectd-perl(5): Moved information about the `perl plugin' into an own manpage.
Florian Forster [Sat, 19 May 2007 14:18:06 +0000 (16:18 +0200)]
collectd-perl(5): Moved information about the `perl plugin' into an own manpage.

16 years agocollectd-email(5): Moved information about the `email plugin' into an own manpage.
Florian Forster [Sat, 19 May 2007 13:58:14 +0000 (15:58 +0200)]
collectd-email(5): Moved information about the `email plugin' into an own manpage.

16 years agocollectd.conf(5): Moved information about ``special'' plugins from collectd(1) to...
Florian Forster [Sat, 19 May 2007 13:42:55 +0000 (15:42 +0200)]
collectd.conf(5): Moved information about ``special'' plugins from collectd(1) to here.

16 years agocollectd.conf(5): Documented `PluginDir' and `TypesDB'.
Florian Forster [Sat, 19 May 2007 13:21:10 +0000 (15:21 +0200)]
collectd.conf(5): Documented `PluginDir' and `TypesDB'.

16 years agounixsock plugin: Return a message in any case.
Florian Forster [Sat, 19 May 2007 12:57:01 +0000 (14:57 +0200)]
unixsock plugin: Return a message in any case.

This removes a fair amount of `FIXME's :)

16 years agoCollectd::Unixsock: Handle instance `0' and interpret a returned `NaN' correctly.
Florian Forster [Sat, 19 May 2007 11:59:10 +0000 (13:59 +0200)]
Collectd::Unixsock: Handle instance `0' and interpret a returned `NaN' correctly.

16 years agocollectd-exec(5): Corrected/added some information.
Florian Forster [Sat, 19 May 2007 11:57:52 +0000 (13:57 +0200)]
collectd-exec(5): Corrected/added some information.

16 years agocollectd-unixsock(5): Moved information about the `unixsock plugin' into an own manpage.
Florian Forster [Sat, 19 May 2007 11:57:02 +0000 (13:57 +0200)]
collectd-unixsock(5): Moved information about the `unixsock plugin' into an own manpage.

16 years agocollectd-exec(5): Moved information about the `exec plugin' into an own manpage.
Florian Forster [Sat, 19 May 2007 10:36:41 +0000 (12:36 +0200)]
collectd-exec(5): Moved information about the `exec plugin' into an own manpage.

16 years agocontrib/collection.cgi: Improved some more graphs.
Florian Forster [Sat, 19 May 2007 10:06:35 +0000 (12:06 +0200)]
contrib/collection.cgi: Improved some more graphs.

16 years agocontrib/collection.cgi: Include `back'-links and more vertical labels.
Florian Forster [Sat, 19 May 2007 09:49:12 +0000 (11:49 +0200)]
contrib/collection.cgi: Include `back'-links and more vertical labels.

16 years agocontrib/collection.cgi: Print proper HTML-header.
Florian Forster [Sat, 19 May 2007 08:57:55 +0000 (10:57 +0200)]
contrib/collection.cgi: Print proper HTML-header.

16 years agocontrib/collection.cgi: Included a completely new version with hardly any functionality.
Florian Forster [Sat, 19 May 2007 08:04:25 +0000 (10:04 +0200)]
contrib/collection.cgi: Included a completely new version with hardly any functionality.

16 years agocontrib/migrate-3-4.px: Create (sub)directories for the disk plugin.
Florian Forster [Sat, 19 May 2007 08:03:02 +0000 (10:03 +0200)]
contrib/migrate-3-4.px: Create (sub)directories for the disk plugin.

16 years agocontrib/{extractDS,migrate-3-4}.px: Don't use XML::Simple and don't check for the...
Florian Forster [Fri, 18 May 2007 17:34:43 +0000 (19:34 +0200)]
contrib/{extractDS,migrate-3-4}.px: Don't use XML::Simple and don't check for the output directory.

16 years agorrdtool plugin: Assure that values, that are older then the newest value in the cache...
Florian Forster [Fri, 18 May 2007 15:11:30 +0000 (17:11 +0200)]
rrdtool plugin: Assure that values, that are older then the newest value in the cache, are rejected.

Otherwise there might be gaps in the graphs.

16 years agodns plugin: Only submit dns-traffic if either counter is non-zero.
Florian Forster [Fri, 18 May 2007 15:10:35 +0000 (17:10 +0200)]
dns plugin: Only submit dns-traffic if either counter is non-zero.

16 years agoemail plugin: Only submit `spam_score' if any mails have been processed.
Florian Forster [Fri, 18 May 2007 15:08:19 +0000 (17:08 +0200)]
email plugin: Only submit `spam_score' if any mails have been processed.

16 years agodisk plugin: Remove slashed from disk-names.
Florian Forster [Thu, 17 May 2007 21:00:18 +0000 (23:00 +0200)]
disk plugin: Remove slashed from disk-names.

16 years agocontrib/extractDS.px: Create RRD file instead of writing to STDOUT.
Florian Forster [Thu, 17 May 2007 20:59:51 +0000 (22:59 +0200)]
contrib/extractDS.px: Create RRD file instead of writing to STDOUT.

This was changed in order to debug new code and then forgotten..

16 years agocontrib/migrate-3-4.px: Handle `disk' and `partition' files correctly.
Florian Forster [Thu, 17 May 2007 20:59:04 +0000 (22:59 +0200)]
contrib/migrate-3-4.px: Handle `disk' and `partition' files correctly.

16 years agocontrib/extractDS.px: Allow extration of multiple DSes into one file with multiple...
Florian Forster [Thu, 17 May 2007 13:11:17 +0000 (15:11 +0200)]
contrib/extractDS.px: Allow extration of multiple DSes into one file with multiple DSes.

This is needed to migrate the old disk-RRD-files.

16 years agocollectd(1): Changed plugin information for v4.
Florian Forster [Thu, 17 May 2007 12:08:43 +0000 (14:08 +0200)]
collectd(1): Changed plugin information for v4.

Also removed information about the `modes' and RRD-file definitions.

16 years agoInclude `config.h' from all files.
Florian Forster [Thu, 17 May 2007 11:09:08 +0000 (13:09 +0200)]
Include `config.h' from all files.

Either directly or indirectly via `collectd.h'.

16 years agoMerge branch 'pull/collectd-4' into collectd-4
Florian Forster [Thu, 17 May 2007 10:36:12 +0000 (12:36 +0200)]
Merge branch 'pull/collectd-4' into collectd-4

16 years agoMerge branch 'master' into collectd-4
Florian Forster [Tue, 15 May 2007 17:27:31 +0000 (19:27 +0200)]
Merge branch 'master' into collectd-4

Conflicts:

src/multimeter.c
src/network.c
src/utils_debug.c

16 years agoMerge branch 'collectd-3.11'
Florian Forster [Tue, 15 May 2007 17:22:25 +0000 (19:22 +0200)]
Merge branch 'collectd-3.11'

16 years agoInclude "config.h" rather than <config.h>.
Florian Forster [Tue, 15 May 2007 17:20:27 +0000 (19:20 +0200)]
Include "config.h" rather than <config.h>.

16 years ago[PATCH] Added large file support ("backported" to collectd-3).
Sebastian Harl [Mon, 14 May 2007 18:57:03 +0000 (20:57 +0200)]
[PATCH] Added large file support ("backported" to collectd-3).

This adds large file support to collectd by using the AC_SYS_LARGEFILE macro
in configure.in. In order to apply any necessary options to all parts of
collectd, we have to make sure config.h is included in all source files
(either directly or by including collectd.h) and before any other header files
are included.

This should fix http://bugs.debian.org/422212.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
16 years agosrc/plugin.c: assert (ds->ds_num == vl->values_len); when debug is enabled.
Florian Forster [Tue, 15 May 2007 13:30:42 +0000 (15:30 +0200)]
src/plugin.c: assert (ds->ds_num == vl->values_len); when debug is enabled.

16 years agoconfigure.in: Don't check for grp.h twice.
Florian Forster [Sun, 13 May 2007 16:20:57 +0000 (18:20 +0200)]
configure.in: Don't check for grp.h twice.

16 years agoperl plugin: Work around a redefinition of DEBUG in perl.h.
Sebastian Harl [Sat, 12 May 2007 11:47:19 +0000 (13:47 +0200)]
perl plugin: Work around a redefinition of DEBUG in perl.h.

Some versions of Perl define their own verion of DEBUG in perl.h overwriting
the definition found in plugin.h. This works around this issue.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
16 years agounixsock plugin: Don't assert that `ds->ds_num == vl->values_num' when not built...
Florian Forster [Sat, 12 May 2007 18:00:16 +0000 (20:00 +0200)]
unixsock plugin: Don't assert that `ds->ds_num == vl->values_num' when not built with debugging enabled.

16 years agodisk plugin: Correct the collection of {read,write}-time.
Florian Forster [Fri, 11 May 2007 19:16:14 +0000 (21:16 +0200)]
disk plugin: Correct the collection of {read,write}-time.

It's actually `average time an IO-operation needs'.

16 years agoMerge branch 'pull/collectd-4' into collectd-4
Florian Forster [Thu, 10 May 2007 07:51:04 +0000 (09:51 +0200)]
Merge branch 'pull/collectd-4' into collectd-4

16 years agounixsock plugin: Don't include <sys/poll.h> since it's not used.
Florian Forster [Thu, 10 May 2007 07:50:50 +0000 (09:50 +0200)]
unixsock plugin: Don't include <sys/poll.h> since it's not used.

16 years agoemail plugin: Include <sys/un.h> rather than <linux/un.h>.
Florian Forster [Thu, 10 May 2007 07:50:32 +0000 (09:50 +0200)]
email plugin: Include <sys/un.h> rather than <linux/un.h>.

16 years agoapple_sensors plugin: Fix the `module_register' function.
Florian Forster [Wed, 9 May 2007 06:45:33 +0000 (08:45 +0200)]
apple_sensors plugin: Fix the `module_register' function.

16 years agoconfigure.in: Bumped version to 4.0.0-rc9 collectd-4.0.0-rc9
Florian Forster [Tue, 8 May 2007 21:07:23 +0000 (23:07 +0200)]
configure.in: Bumped version to 4.0.0-rc9

16 years agounixsock plugin: Remove the socket-file after closing the socket.
Florian Forster [Tue, 8 May 2007 21:06:44 +0000 (23:06 +0200)]
unixsock plugin: Remove the socket-file after closing the socket.