collectd.git
16 years agoMerge branch 'pull/collectd-4.1' into collectd-4.1 collectd-4.1
Florian Forster [Tue, 19 Feb 2008 13:00:37 +0000 (14:00 +0100)]
Merge branch 'pull/collectd-4.1' into collectd-4.1

16 years agoexec plugin: Use `setgroups' to set the list of supplementary group IDs.
Florian Forster [Tue, 19 Feb 2008 12:55:32 +0000 (13:55 +0100)]
exec plugin: Use `setgroups' to set the list of supplementary group IDs.

Thanks to Peter Holik for suggesting this.

16 years agomigrate-3-4.px: Do not translate the disk names used by hddtemp.
Sebastian Harl [Sun, 17 Feb 2008 19:23:46 +0000 (20:23 +0100)]
migrate-3-4.px: Do not translate the disk names used by hddtemp.

In version 4, hddtemp still uses major/minor device numbers to identify disks.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
16 years agorrdtool plugin: Sort the list of user defined `RRATimespan's.
Florian Forster [Mon, 18 Feb 2008 19:41:38 +0000 (20:41 +0100)]
rrdtool plugin: Sort the list of user defined `RRATimespan's.

This is required by the logic calculating the RRA sized.

16 years agocontrib/migrate-3-4.px: Handle `hddtemp' graphs correctly.
Florian Forster [Mon, 11 Feb 2008 10:18:58 +0000 (11:18 +0100)]
contrib/migrate-3-4.px: Handle `hddtemp' graphs correctly.

16 years agonetwork plugin: Have two different threads for handling incoming packets.
Florian Forster [Wed, 23 Jan 2008 19:30:06 +0000 (20:30 +0100)]
network plugin: Have two different threads for handling incoming packets.

One that only receives and enqueues packets and one which parses the packets
and dispatches them to the daemon. This should solve problems with (too) short
socket buffers and (very) heavy load.

16 years agocollectd-unixsock(5): Copied Sebastian's additions from collectd-exec(5).
Florian Forster [Wed, 23 Jan 2008 13:31:11 +0000 (14:31 +0100)]
collectd-unixsock(5): Copied Sebastian's additions from collectd-exec(5).

16 years agoMerge branch 'collectd-4.1' of octo@verplant.org:/var/lib/git/collectd into collectd-4.1
Florian Forster [Wed, 23 Jan 2008 12:57:29 +0000 (13:57 +0100)]
Merge branch 'collectd-4.1' of octo@verplant.org:/var/lib/git/collectd into collectd-4.1

16 years agosrc/common.h: Fixed many typos in the header file.
Florian Forster [Wed, 23 Jan 2008 12:53:08 +0000 (13:53 +0100)]
src/common.h: Fixed many typos in the header file.

16 years agoapache plugin: Improved some error messages and fixed-buffer string copying.
Florian Forster [Tue, 22 Jan 2008 10:06:15 +0000 (11:06 +0100)]
apache plugin: Improved some error messages and fixed-buffer string copying.

Return an error when initialization fails. This includes the case when no URL
is configured. The user is informed about this as clear as possible.

Also, `strncpy' and `snprintf' now are followed by a forced NULL-termination of
the strings to be on the save side. This also changes the plugin to look more
like the other plugins which mostly do this already.

16 years agoapache plugin: Do not initialize the plugin if no URL has been specified.
Sebastian Harl [Tue, 22 Jan 2008 08:34:03 +0000 (09:34 +0100)]
apache plugin: Do not initialize the plugin if no URL has been specified.

There is no need to initialize curl, if the plugin will not be used anyway.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
16 years agocollectd-exec(5): Improved description of the value-list identifier.
Sebastian Harl [Fri, 18 Jan 2008 11:29:19 +0000 (12:29 +0100)]
collectd-exec(5): Improved description of the value-list identifier.

A short note about valid values for the plugin and type names and the
respective instance names as well as a pointer to types.db has been added.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
16 years agonetwork plugin: Made network_receive() static. collectd-4.1.6
Sebastian Harl [Sun, 20 Jan 2008 22:11:53 +0000 (23:11 +0100)]
network plugin: Made network_receive() static.

This function is not exported to any other module.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
16 years agologfile plugin: Added Florian to the list of copyright holders.
Sebastian Harl [Sun, 20 Jan 2008 21:54:55 +0000 (22:54 +0100)]
logfile plugin: Added Florian to the list of copyright holders.

Most of the current version has been written by him.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
16 years agoChangeLog: Fixed the date of the 4.1.6 release.
Florian Forster [Mon, 21 Jan 2008 09:39:50 +0000 (10:39 +0100)]
ChangeLog: Fixed the date of the 4.1.6 release.

16 years agoBumped version to 4.1.6; Updated ChangeLog.
Florian Forster [Fri, 11 Jan 2008 10:24:19 +0000 (11:24 +0100)]
Bumped version to 4.1.6; Updated ChangeLog.

16 years agosrc/configfile.c: Updated the copyright notice for 2008.
Florian Forster [Thu, 10 Jan 2008 08:48:24 +0000 (09:48 +0100)]
src/configfile.c: Updated the copyright notice for 2008.

16 years agocollectd.conf(5): Added a note about the availability of the "debug" loglevel.
Sebastian Harl [Wed, 9 Jan 2008 07:29:36 +0000 (08:29 +0100)]
collectd.conf(5): Added a note about the availability of the "debug" loglevel.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
16 years agocollectd.conf(5): Documented the fact that the configuration is processes from top...
Florian Forster [Tue, 8 Jan 2008 10:08:41 +0000 (11:08 +0100)]
collectd.conf(5): Documented the fact that the configuration is processes from top to bottom.

16 years agocollectd.conf(5): Added a note about plugin loading order.
Luke Heberling [Thu, 13 Dec 2007 07:03:03 +0000 (08:03 +0100)]
collectd.conf(5): Added a note about plugin loading order.

16 years agosrc/configfile.c: Improve the "Plugin `%s' did not register a callback." warning.
Florian Forster [Tue, 8 Jan 2008 09:52:44 +0000 (10:52 +0100)]
src/configfile.c: Improve the "Plugin `%s' did not register a callback." warning.

16 years agounixsock plugin: Actually set the permissions for the socket.
Evgeny Chukreev [Sun, 6 Jan 2008 09:00:06 +0000 (10:00 +0100)]
unixsock plugin: Actually set the permissions for the socket.

Signed-off-by: Florian Forster <octo@huhu.verplant.org>
16 years agoBumped version to 4.1.5; Updated ChangeLog. collectd-4.1.5
Florian Forster [Thu, 27 Dec 2007 09:34:39 +0000 (10:34 +0100)]
Bumped version to 4.1.5; Updated ChangeLog.

16 years agosensors plugin: While I was at it I reorganized the code a little so it's easier...
Florian Forster [Wed, 26 Dec 2007 14:34:18 +0000 (15:34 +0100)]
sensors plugin: While I was at it I reorganized the code a little so it's easier to read.

For instance I moved the name to type conversion out of the main loop and into
a separate function, likewise the chip to string representation conversion. The
`submit' function is now very careful that all strings are null terminated and
that no buffer overflow may occur.

16 years agosensors plugin: Implemented support for libsensors3.
Florian Forster [Tue, 25 Dec 2007 17:11:47 +0000 (18:11 +0100)]
sensors plugin: Implemented support for libsensors3.

16 years agocollectd2html.pl: Cleaned up Eddy's patch.
Sebastian Harl [Mon, 12 Nov 2007 12:05:54 +0000 (13:05 +0100)]
collectd2html.pl: Cleaned up Eddy's patch.

 * Use Perl's undef to identify invalid values.
 * Renamed the "host-is" command line option to "host".

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
16 years agorrdtool plugin: Fix a memory leak..
Florian Forster [Wed, 14 Nov 2007 10:37:00 +0000 (11:37 +0100)]
rrdtool plugin: Fix a memory leak..

..in a VERY uncommon/rare case.

16 years agosrc/utils_avltree.[ch]: Rename all types and functions to use the prefix `c_avl_'.
Florian Forster [Fri, 12 Oct 2007 08:13:11 +0000 (10:13 +0200)]
src/utils_avltree.[ch]: Rename all types and functions to use the prefix `c_avl_'.

The prefix `avl_' clashed with an AVL implementation on Solaris 10..

16 years agoBumped version to 4.1.4; Updated ChangeLog collectd-4.1.4
Florian Forster [Thu, 8 Nov 2007 09:49:54 +0000 (10:49 +0100)]
Bumped version to 4.1.4; Updated ChangeLog

16 years agosnmp plugin: Don't try to free the request PDU - it segfaults for some reason.
Florian Forster [Tue, 6 Nov 2007 16:37:53 +0000 (16:37 +0000)]
snmp plugin: Don't try to free the request PDU - it segfaults for some reason.

According to other code I've seen this is never done by anyone else, so this
must mean that the snmp library takes care of this somehow. Man, I love well
documented libraries!

16 years agosnmp plugin: Be even more eager to free PDU structures.
Florian Forster [Tue, 6 Nov 2007 16:20:29 +0000 (16:20 +0000)]
snmp plugin: Be even more eager to free PDU structures.

16 years agosnmp plugin: (Hopefully) fix a memory leak.
Florian Forster [Tue, 6 Nov 2007 15:53:49 +0000 (15:53 +0000)]
snmp plugin: (Hopefully) fix a memory leak.

16 years agoexec plugin: Set PID of failed programs back to zero.
Florian Forster [Sun, 4 Nov 2007 13:20:43 +0000 (14:20 +0100)]
exec plugin: Set PID of failed programs back to zero.

Otherwise the program will not be executed ever again after it failed once.

16 years agocontrib/exec-munin.px: Added a simple Perl script which makes it possible to use...
Florian Forster [Sat, 3 Nov 2007 15:28:35 +0000 (16:28 +0100)]
contrib/exec-munin.px: Added a simple Perl script which makes it possible to use Munin plugins in collectd.

The script has an embedded POD documentation.

16 years agoMerge branch 'pull/collectd-4.1' into collectd-4.1
Florian Forster [Thu, 1 Nov 2007 09:07:03 +0000 (10:07 +0100)]
Merge branch 'pull/collectd-4.1' into collectd-4.1

16 years agotypes.db: Fix a typo: s/humitidy/humidity/
Florian Forster [Tue, 30 Oct 2007 16:17:43 +0000 (16:17 +0000)]
types.db: Fix a typo: s/humitidy/humidity/

16 years agotypes.db: Ordered the entries alphabetically and added `voltage_threshold'.
Florian Forster [Tue, 30 Oct 2007 08:50:01 +0000 (09:50 +0100)]
types.db: Ordered the entries alphabetically and added `voltage_threshold'.

16 years agorrdtool plugin: Wait for the ``queue thread'' to exit _after_ signaling it to exit..
Florian Forster [Fri, 12 Oct 2007 20:59:15 +0000 (22:59 +0200)]
rrdtool plugin: Wait for the ``queue thread'' to exit _after_ signaling it to exit..

16 years agocollectd-snmp(5): Fix typos.
Florian Forster [Mon, 29 Oct 2007 16:42:13 +0000 (17:42 +0100)]
collectd-snmp(5): Fix typos.

16 years agocollectd.h: Removed legacy definition of operation modes.
Sebastian Harl [Sun, 28 Oct 2007 08:58:18 +0000 (09:58 +0100)]
collectd.h: Removed legacy definition of operation modes.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
16 years agoplugin.h: Make DEBUG() a noop when compiling without debugging support.
Sebastian Harl [Sun, 28 Oct 2007 08:57:17 +0000 (09:57 +0100)]
plugin.h: Make DEBUG() a noop when compiling without debugging support.

This saves a couple of useless calls to plugin_log() which the compiler
does not detect and remove itself.

A couple of DEBUG()'s in the apcups, hddtemp, mbmon and ntpd plugins have
been upgraded to INFO()'s. All of them provide error messages of failed
system / libc calls which should be available to the user somehow.
Besides, they use a local string buffer which generates an "unused
variable" warning if DEBUG() expands to a noop.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
16 years agoREADME: Added section about configuring, building and installing collectd.
Sebastian Harl [Fri, 26 Oct 2007 13:07:50 +0000 (15:07 +0200)]
README: Added section about configuring, building and installing collectd.

This section contains basic information about the "--enabled-<plugin>"
configuration option as well as adopting the installation target.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
16 years agosrc/common.c: Serialize access to `strerror' if `strerror_r' doesn't exist.
Florian Forster [Fri, 26 Oct 2007 08:50:43 +0000 (10:50 +0200)]
src/common.c: Serialize access to `strerror' if `strerror_r' doesn't exist.

Apparently this is a problem under Solaris 9..

16 years agoBuild system: Fixed a bug in the detection of the snmp library.
Ronan Cadet [Fri, 26 Oct 2007 08:28:37 +0000 (10:28 +0200)]
Build system: Fixed a bug in the detection of the snmp library.

Hello,

During the creation of a rpm on Mandriva 2007.1 from tar.bz2 sources, and by
activate almost all options, I found something that seems a bug to me in the
configure file, line 33251 (concerning the snmp plugin)

16 years agoBuild system: Set the appropriate CPPFLAGS and LDFLAGS when checking for librrd and...
Florian Forster [Thu, 25 Oct 2007 21:13:27 +0000 (23:13 +0200)]
Build system: Set the appropriate CPPFLAGS and LDFLAGS when checking for librrd and it's header.

16 years agorrdtool plugin: Include the `rrd.h' header file in `rrdtool.c', not `collectd.h'.
Florian Forster [Thu, 25 Oct 2007 21:11:54 +0000 (23:11 +0200)]
rrdtool plugin: Include the `rrd.h' header file in `rrdtool.c', not `collectd.h'.

This caused an error when --with-rrdtool was used to have the header file in a
non-standard directory, because the appropriate CFLAGS were not passed to all
plugins.

16 years agotypes.db: Raise the maximum value of `ps_cputime' from 1s/1s to 16s/1s..
Florian Forster [Thu, 25 Oct 2007 18:05:08 +0000 (20:05 +0200)]
types.db: Raise the maximum value of `ps_cputime' from 1s/1s to 16s/1s..

This should work with machines with up to 16 processors..

16 years agoBumped version to 4.1.3; Updated ChangeLog. collectd-4.1.3
Florian Forster [Wed, 24 Oct 2007 18:51:51 +0000 (20:51 +0200)]
Bumped version to 4.1.3; Updated ChangeLog.

16 years agocontrib/PerlLib/Collectd.pm: Bumped version to 4.1.3.
Florian Forster [Wed, 24 Oct 2007 18:49:33 +0000 (20:49 +0200)]
contrib/PerlLib/Collectd.pm: Bumped version to 4.1.3.

16 years agoconfigure.in: Added "rrdtool" to the module summary.
Sebastian Harl [Mon, 22 Oct 2007 22:05:17 +0000 (00:05 +0200)]
configure.in: Added "rrdtool" to the module summary.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
16 years agoBeautifying some more debug messages..
Florian Forster [Fri, 12 Oct 2007 16:35:10 +0000 (18:35 +0200)]
Beautifying some more debug messages..

16 years agoMerge branch 'collectd-4.0' into collectd-4.1
Florian Forster [Fri, 12 Oct 2007 16:33:59 +0000 (18:33 +0200)]
Merge branch 'collectd-4.0' into collectd-4.1

Conflicts:

src/rrdtool.c

16 years agoBeautifying many debug messages.. collectd-4.0
Florian Forster [Fri, 12 Oct 2007 16:32:53 +0000 (18:32 +0200)]
Beautifying many debug messages..

16 years agorrdtool plugin: Wait for the `queue thread' to exit..
Florian Forster [Fri, 12 Oct 2007 16:22:51 +0000 (18:22 +0200)]
rrdtool plugin: Wait for the `queue thread' to exit..

..before returning from the shutdown function.

16 years agonetwork plugin: Flush the buffer in the `shutdown' function..
Florian Forster [Fri, 12 Oct 2007 16:20:25 +0000 (18:20 +0200)]
network plugin: Flush the buffer in the `shutdown' function..

16 years agoxmms plugin: Return `-1' when values could be read but are weird.
Florian Forster [Fri, 12 Oct 2007 16:09:29 +0000 (18:09 +0200)]
xmms plugin: Return `-1' when values could be read but are weird.

16 years agoREADME: Improved formatting.
Sebastian Harl [Sun, 7 Oct 2007 13:02:36 +0000 (15:02 +0200)]
README: Improved formatting.

Indent all paragraphs by two spaces and break lines after 79 characters.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
16 years agoREADME: Added a note about collectd and chkrootkit.
Sebastian Harl [Sun, 7 Oct 2007 13:01:50 +0000 (15:01 +0200)]
README: Added a note about collectd and chkrootkit.

chkrootkit reports collectd as a packet sniffer, which most probably is a
false positive if using the "dns" plugin.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
16 years agoChangeLog: Added the change to the rrdtool build stuff..
Florian Forster [Tue, 9 Oct 2007 16:00:35 +0000 (18:00 +0200)]
ChangeLog: Added the change to the rrdtool build stuff..

16 years agocollectd.conf.in: Removed advanced and possibly harmfull settings..
Florian Forster [Sat, 6 Oct 2007 09:10:19 +0000 (11:10 +0200)]
collectd.conf.in: Removed advanced and possibly harmfull settings..

Users were simply un-commenting everything without knowing what the settings
did, so removing possibly harmful settings seems reasonable.

16 years agosnmp plugin: Improve the timing method, so that hosts are queried more steadily.
Florian Forster [Thu, 4 Oct 2007 13:34:57 +0000 (15:34 +0200)]
snmp plugin: Improve the timing method, so that hosts are queried more steadily.

16 years agorrdtool plugin: Use the right variables when calling `rrd_update'..
Florian Forster [Thu, 4 Oct 2007 13:12:50 +0000 (15:12 +0200)]
rrdtool plugin: Use the right variables when calling `rrd_update'..

*argl*

16 years agorrdtool plugin: Removed unused variables.
Florian Forster [Thu, 4 Oct 2007 13:09:24 +0000 (15:09 +0200)]
rrdtool plugin: Removed unused variables.

16 years agorrdtool plugin: Use the thread-safe `librrd_th' if available.
Florian Forster [Thu, 4 Oct 2007 10:26:26 +0000 (12:26 +0200)]
rrdtool plugin: Use the thread-safe `librrd_th' if available.

16 years agocollectd-snmp(5): Added a note about the interpreted environment variables.
Florian Forster [Thu, 4 Oct 2007 08:31:00 +0000 (10:31 +0200)]
collectd-snmp(5): Added a note about the interpreted environment variables.

16 years agosnmp plugin: Print a warning if querying a host takes longer than the confiured interval.
Florian Forster [Thu, 4 Oct 2007 06:44:41 +0000 (08:44 +0200)]
snmp plugin: Print a warning if querying a host takes longer than the confiured interval.

16 years agocollectd.conf(5): Fix some typos and mis-formulations.
Matt Peterson [Sat, 29 Sep 2007 08:01:34 +0000 (10:01 +0200)]
collectd.conf(5): Fix some typos and mis-formulations.

16 years agoMerge branch 'pull/collectd-4.1' into collectd-4.1
Florian Forster [Fri, 28 Sep 2007 14:42:20 +0000 (16:42 +0200)]
Merge branch 'pull/collectd-4.1' into collectd-4.1

16 years agoMerge branch 'pull/collectd-4.0' into collectd-4.0
Florian Forster [Fri, 28 Sep 2007 14:42:13 +0000 (16:42 +0200)]
Merge branch 'pull/collectd-4.0' into collectd-4.0

16 years agoBumped version to 4.1.2; Updated ChangeLog. collectd-4.1.2
Florian Forster [Fri, 28 Sep 2007 13:55:44 +0000 (15:55 +0200)]
Bumped version to 4.1.2; Updated ChangeLog.

16 years agoMerge branch 'collectd-4.0' into collectd-4.1
Florian Forster [Fri, 28 Sep 2007 13:46:46 +0000 (15:46 +0200)]
Merge branch 'collectd-4.0' into collectd-4.1

Conflicts:

ChangeLog
configure.in
contrib/PerlLib/Collectd.pm

16 years agoBumped version to 4.0.9; Updated ChangeLog. collectd-4.0.9
Florian Forster [Fri, 28 Sep 2007 13:43:41 +0000 (15:43 +0200)]
Bumped version to 4.0.9; Updated ChangeLog.

16 years agoMerge branch 'collectd-3.11' into collectd-4.0
Florian Forster [Fri, 28 Sep 2007 11:45:39 +0000 (13:45 +0200)]
Merge branch 'collectd-3.11' into collectd-4.0

Conflicts:

ChangeLog
configure.in
src/wireless.c

16 years agoBumped version to 3.11.7; Updated ChangeLog. collectd-3.11 collectd-3.11.7
Florian Forster [Fri, 28 Sep 2007 11:00:23 +0000 (13:00 +0200)]
Bumped version to 3.11.7; Updated ChangeLog.

16 years agoMerge branch 'ff/collection' into collectd-4.0
Florian Forster [Fri, 28 Sep 2007 10:41:21 +0000 (12:41 +0200)]
Merge branch 'ff/collection' into collectd-4.0

16 years agocontrib/collection.cgi: Add a vertical legend to `meta_graph_memory'.
Florian Forster [Fri, 28 Sep 2007 10:41:17 +0000 (12:41 +0200)]
contrib/collection.cgi: Add a vertical legend to `meta_graph_memory'.

16 years agocontrib/collection.cgi: Fix the `charge' and `current' graphs.
Florian Forster [Fri, 28 Sep 2007 10:32:28 +0000 (10:32 +0000)]
contrib/collection.cgi: Fix the `charge' and `current' graphs.

16 years agoMerge branch 'pull/collectd-4.1' into collectd-4.1
Florian Forster [Fri, 28 Sep 2007 10:19:19 +0000 (12:19 +0200)]
Merge branch 'pull/collectd-4.1' into collectd-4.1

16 years agocollectd.conf(5): Make it more clear that rrdtool's `StepSize' and `HeartBeat' should...
Florian Forster [Fri, 28 Sep 2007 08:26:49 +0000 (10:26 +0200)]
collectd.conf(5): Make it more clear that rrdtool's `StepSize' and `HeartBeat' should not be set.

This has caused some problems with users of the snmp plugin.

16 years agoAdded myplugin.c to contrib/examples/.
Sebastian Harl [Thu, 27 Sep 2007 16:25:25 +0000 (18:25 +0200)]
Added myplugin.c to contrib/examples/.

This is a sample/template C plugin.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
16 years agoAdded MyPlugin.pm to contrib/examples/.
Sebastian Harl [Thu, 27 Sep 2007 16:24:40 +0000 (18:24 +0200)]
Added MyPlugin.pm to contrib/examples/.

This is a sample/template Perl plugin.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
16 years agosnmp plugin: Improved the error messages in the init code.
Florian Forster [Thu, 27 Sep 2007 16:12:44 +0000 (16:12 +0000)]
snmp plugin: Improved the error messages in the init code.

16 years agosnmp plugin: Fix a segfault when a host times out but more data should be queried.
Florian Forster [Thu, 27 Sep 2007 15:58:41 +0000 (15:58 +0000)]
snmp plugin: Fix a segfault when a host times out but more data should be queried.

16 years agosnmp plugin: Handle `ASN_TIMETICKS' as `counter' if it's known by the SNMP library.
Florian Forster [Thu, 27 Sep 2007 14:13:02 +0000 (16:13 +0200)]
snmp plugin: Handle `ASN_TIMETICKS' as `counter' if it's known by the SNMP library.

16 years agoMerge branch 'collectd-4.0' into collectd-4.1
Florian Forster [Thu, 27 Sep 2007 13:34:00 +0000 (15:34 +0200)]
Merge branch 'collectd-4.0' into collectd-4.1

16 years agoperl plugin: Fixed a possible buffer overflow in get_module_name().
Sebastian Harl [Thu, 27 Sep 2007 10:25:14 +0000 (12:25 +0200)]
perl plugin: Fixed a possible buffer overflow in get_module_name().

A '\0' might have been written above the buffer array bounds.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
16 years agoMerge branch 'pull/collectd-4.1' into collectd-4.1
Florian Forster [Wed, 26 Sep 2007 15:18:31 +0000 (17:18 +0200)]
Merge branch 'pull/collectd-4.1' into collectd-4.1

16 years agobuild system: Fix detection of libraries when giving a directory.
Florian Forster [Wed, 26 Sep 2007 15:18:13 +0000 (17:18 +0200)]
build system: Fix detection of libraries when giving a directory.

16 years agoMerge branch 'pull/collectd-4.1' into collectd-4.1
Florian Forster [Sun, 23 Sep 2007 13:14:36 +0000 (15:14 +0200)]
Merge branch 'pull/collectd-4.1' into collectd-4.1

16 years agobuild system: Fixed the improved detection of the Net-SNMP library.
Florian Forster [Tue, 18 Sep 2007 18:51:38 +0000 (20:51 +0200)]
build system: Fixed the improved detection of the Net-SNMP library.

16 years agobuild system: Improve the detection of the Net-SNMP library.
Florian Forster [Tue, 18 Sep 2007 11:45:36 +0000 (13:45 +0200)]
build system: Improve the detection of the Net-SNMP library.

16 years agonetlink plugin: Don't fail if `IFLA_STATS' doesn't exist for an interface.
Florian Forster [Sat, 15 Sep 2007 10:30:15 +0000 (12:30 +0200)]
netlink plugin: Don't fail if `IFLA_STATS' doesn't exist for an interface.

Hopefully this fixes problems on my WRT ;)

16 years agowireless plugin: Correct the handling of cards returning signal and noise quality...
Florian Forster [Sat, 15 Sep 2007 09:58:52 +0000 (11:58 +0200)]
wireless plugin: Correct the handling of cards returning signal and noise quality as percentage.

16 years agoMerge branch 'collectd-4.0' into collectd-4.1
Florian Forster [Sat, 15 Sep 2007 09:01:40 +0000 (11:01 +0200)]
Merge branch 'collectd-4.0' into collectd-4.1

16 years agoMerge branch 'collectd-3.11' into collectd-4.0
Florian Forster [Sat, 15 Sep 2007 09:01:19 +0000 (11:01 +0200)]
Merge branch 'collectd-3.11' into collectd-4.0

Conflicts:

src/apcups.c

nothing added to commit but untracked files present (use "git add" to track)

16 years agoapcups plugin: Warn about the irritating name `apcups_charge_pct'.
Florian Forster [Sat, 15 Sep 2007 08:58:53 +0000 (10:58 +0200)]
apcups plugin: Warn about the irritating name `apcups_charge_pct'.

16 years agonetlink plugin: Fix build issues under Debian Sarge
Florian Forster [Sat, 15 Sep 2007 08:48:25 +0000 (10:48 +0200)]
netlink plugin: Fix build issues under Debian Sarge

or generally older Linux versions.

16 years agoMerge branch 'ff/apcups' into collectd-4.0
Florian Forster [Fri, 14 Sep 2007 07:15:06 +0000 (09:15 +0200)]
Merge branch 'ff/apcups' into collectd-4.0

16 years agoBumped the version to 4.1.1
Florian Forster [Fri, 14 Sep 2007 07:11:04 +0000 (09:11 +0200)]
Bumped the version to 4.1.1

16 years agobuild system: Fix yet another issue with the detection of libupsclient.
Florian Forster [Fri, 14 Sep 2007 06:32:37 +0000 (08:32 +0200)]
build system: Fix yet another issue with the detection of libupsclient.