collectd.git
17 years agounixsock plugin: Make created threads to be `detached'.
Florian Forster [Mon, 29 Jan 2007 10:02:41 +0000 (11:02 +0100)]
unixsock plugin: Make created threads to be `detached'.

17 years agocpu plugin: Write each CPU-counter in a seperate RRD-file.
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.

17 years agounixsock plugin, collectd-nagios: Use the hostname, too, to identify values.
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.

17 years agocollectd-nagios: Added an option to select certain DSes and updated the usage.
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.

17 years agocollectd-nagios: Added a small program to perform Nagios-compatible checks on values.
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.

17 years agounixsock plugin: Transmit the DS name so clients can chose which values they need.
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.

17 years agoMerge branch 'collectd-4' into ff/unixsock
Florian Forster [Sun, 28 Jan 2007 11:24:21 +0000 (12:24 +0100)]
Merge branch 'collectd-4' into ff/unixsock

17 years agocpu plugin: Fix a bug in the data-set description.
Florian Forster [Sun, 28 Jan 2007 11:22:47 +0000 (12:22 +0100)]
cpu plugin: Fix a bug in the data-set description.

17 years agounixsock plugin: Added a first version of a UNIX-socket output plugin.
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.

17 years agoMerge branch 'pull/collectd-4'
Florian Forster [Mon, 22 Jan 2007 21:55:50 +0000 (22:55 +0100)]
Merge branch 'pull/collectd-4'

17 years agoapple_sensors plugin: Converted to the new plugin interface.
Florian Forster [Mon, 22 Jan 2007 21:55:37 +0000 (22:55 +0100)]
apple_sensors plugin: Converted to the new plugin interface.

17 years agocpu plugin: Improved some syslog messages.
Florian Forster [Mon, 22 Jan 2007 21:54:42 +0000 (22:54 +0100)]
cpu plugin: Improved some syslog messages.

Also updated the copyright notice.

17 years agonfs plugin: Fixes to work under !Linux.
Florian Forster [Mon, 22 Jan 2007 21:53:25 +0000 (22:53 +0100)]
nfs plugin: Fixes to work under !Linux.

17 years agotraffic plugin: Fix the plugin to work under Mac OS X.
Florian Forster [Mon, 22 Jan 2007 21:52:49 +0000 (22:52 +0100)]
traffic plugin: Fix the plugin to work under Mac OS X.

17 years agocsv plugin: Fixed the initialization of `struct flock' to be portable.
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.

17 years agoMerge branch 'ff/entropy' into collectd-4
Florian Forster [Mon, 22 Jan 2007 21:36:40 +0000 (22:36 +0100)]
Merge branch 'ff/entropy' into collectd-4

17 years agotraffic plugin: Updated copyright notice.
Florian Forster [Mon, 22 Jan 2007 21:36:14 +0000 (22:36 +0100)]
traffic plugin: Updated copyright notice.

17 years agosensors plugin: Fixed some syntactic errors.
Florian Forster [Mon, 22 Jan 2007 21:35:55 +0000 (22:35 +0100)]
sensors plugin: Fixed some syntactic errors.

17 years agosensors plugin: Improved the data sources, changed the license and updated the copyri...
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.

17 years agoapcups plugin: Converted to the new plugin interface.
Florian Forster [Mon, 22 Jan 2007 09:56:33 +0000 (10:56 +0100)]
apcups plugin: Converted to the new plugin interface.

17 years agosrc/collectd.h: Include `math.h' and try to force it to define `NAN'.
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'.

17 years agoentropy plugin: Added a plugin to collect available entropy.
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..

17 years agoping plugin: Converted to the new plugin interface.
Florian Forster [Mon, 22 Jan 2007 08:31:39 +0000 (09:31 +0100)]
ping plugin: Converted to the new plugin interface.

17 years agomemory 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.

17 years agonetwork plugin: Use a global buffer and fill it as much as possible.
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.

17 years agosrc/common.c: Removed `log_update_file' and `log_create_file'.
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.

17 years agocsv plugin: Added this plugin which writes to CSV files.
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.

17 years agocpu plugin: Converted to the new plugin interface.
Florian Forster [Mon, 15 Jan 2007 22:02:58 +0000 (23:02 +0100)]
cpu plugin: Converted to the new plugin interface.

17 years agosrc/collectd.conf.in: Added the rrdtool plugin and configuration examples.
Florian Forster [Mon, 15 Jan 2007 18:34:43 +0000 (19:34 +0100)]
src/collectd.conf.in: Added the rrdtool plugin and configuration examples.

17 years agoload, traffic plugins: Changed license to GPLv2 only.
Florian Forster [Mon, 15 Jan 2007 18:33:15 +0000 (19:33 +0100)]
load, traffic plugins: Changed license to GPLv2 only.

17 years agoapache plugin: Converted to the new plugin interface.
Florian Forster [Mon, 15 Jan 2007 18:32:39 +0000 (19:32 +0100)]
apache plugin: Converted to the new plugin interface.

17 years agoMerge branch 'master' into collectd-4
Florian Forster [Mon, 15 Jan 2007 17:36:26 +0000 (18:36 +0100)]
Merge branch 'master' into collectd-4

Conflicts:

src/sensors.c

17 years agoMerge branch 'ff/plugins-ng' of octo@verplant.org:/var/lib/git/collectd into ff/plugi...
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

17 years agosensors plugin: Converted to the new plugin interface.
Florian Forster [Mon, 15 Jan 2007 13:56:53 +0000 (14:56 +0100)]
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...
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'.

17 years agosrc/plugin.h: Added `VALUE_LIST_INIT', a static initializer for value_list_t.
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.

17 years agonfs plugin: Ported to the new plugin structure.
Florian Forster [Mon, 15 Jan 2007 10:40:25 +0000 (11:40 +0100)]
nfs plugin: Ported to the new plugin structure.

17 years agonetwork plugin: Don't case an int to a void*, because some systems don't like it..
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..

17 years agocollectd.conf(5): Documented the option of the rrdtool-plugin.
Florian Forster [Sun, 14 Jan 2007 17:55:07 +0000 (18:55 +0100)]
collectd.conf(5): Documented the option of the rrdtool-plugin.

17 years agorrdtool plugin: Implemented caching of values to minimize IO operations.
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.

17 years agosrc/utils_llist.[ch]: Implemented `llist_remove'.
Florian Forster [Sun, 14 Jan 2007 13:36:17 +0000 (14:36 +0100)]
src/utils_llist.[ch]: Implemented `llist_remove'.

17 years agotraffic plugin: Converted the plugin to the new plugin ifrastructure.
Florian Forster [Sat, 13 Jan 2007 18:12:34 +0000 (19:12 +0100)]
traffic plugin: Converted the plugin to the new plugin ifrastructure.

17 years agonetwork plugin: Fix many bugs, especially `hton*' and `ntoh*' related.
Florian Forster [Sat, 13 Jan 2007 17:23:51 +0000 (18:23 +0100)]
network plugin: Fix many bugs, especially `hton*' and `ntoh*' related.

17 years agoload plugin: Set the hostname to something meaningfull, not `localhost'.
Florian Forster [Sat, 13 Jan 2007 17:23:15 +0000 (18:23 +0100)]
load plugin: Set the hostname to something meaningfull, not `localhost'.

17 years agorrdtool plugin: Use the time supplied by the value list, not `N'.
Florian Forster [Sat, 13 Jan 2007 17:22:49 +0000 (18:22 +0100)]
rrdtool plugin: Use the time supplied by the value list, not `N'.

17 years agosrc/plugin.[ch]: Include the time in the value list.
Florian Forster [Sat, 13 Jan 2007 17:21:22 +0000 (18:21 +0100)]
src/plugin.[ch]: Include the time in the value list.

This is necessary when we will implement caching in the future.

17 years agosrc/Makefile.am: Link the network plugin against pthread.
Florian Forster [Sat, 13 Jan 2007 17:20:19 +0000 (18:20 +0100)]
src/Makefile.am: Link the network plugin against pthread.

17 years agoMerge branch 'master' into ff/plugins-ng
Florian Forster [Sat, 13 Jan 2007 15:47:15 +0000 (16:47 +0100)]
Merge branch 'master' into ff/plugins-ng

Conflicts:

src/collectd.c
src/network.c

17 years agosrc/{dns,ntpd}.c: Use <poll.h> rather than <sys/poll.h>.
Florian Forster [Sat, 13 Jan 2007 15:44:19 +0000 (16:44 +0100)]
src/{dns,ntpd}.c: Use <poll.h> rather than <sys/poll.h>.

17 years agosrc/{collectd,plugin}.[ch]: Changed license to GPLv2 only.
Florian Forster [Sat, 13 Jan 2007 15:43:44 +0000 (16:43 +0100)]
src/{collectd,plugin}.[ch]: Changed license to GPLv2 only.

17 years agosrc/configfile.c: Removed `cf_callback_socket'
Florian Forster [Sat, 13 Jan 2007 15:42:04 +0000 (16:42 +0100)]
src/configfile.c: Removed `cf_callback_socket'

.. since the network stuff is now implemented as a plugin.

17 years agonetwork plugin: Changed the old network code to work as a plugin.
Florian Forster [Sat, 13 Jan 2007 15:41:16 +0000 (16:41 +0100)]
network plugin: Changed the old network code to work as a plugin.

It's mostly untested, but basic sending appears to work fine.

17 years agorrdtool plugin: Fixed misc. bugs and changed license to GPLv2 only.
Florian Forster [Sat, 13 Jan 2007 15:39:44 +0000 (16:39 +0100)]
rrdtool plugin: Fixed misc. bugs and changed license to GPLv2 only.

17 years agocommon.c: Implemented `ntohll' and `htonll'.
Florian Forster [Sat, 13 Jan 2007 11:21:16 +0000 (12:21 +0100)]
common.c: Implemented `ntohll' and `htonll'.

17 years agoemail plugin: Ignore size if it less than or equal to zero. collectd-3.11.0
Sebastian Harl [Sun, 24 Dec 2006 13:22:49 +0000 (14:22 +0100)]
email plugin: Ignore size if it less than or equal to zero.

Some daemons (e.g. postgrey) don't provide any size information.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
17 years agosensors plugin: Avoid assertion in ignorelist_match () when not configured.
Sebastian Harl [Sat, 23 Dec 2006 13:01:14 +0000 (14:01 +0100)]
sensors plugin: Avoid assertion in ignorelist_match () when not configured.

If the sensors plugin is not configured (i.e. default settings are used) the
ignorelist (sensors_list) is never created causing the assertion in
ignorelist_match () to fail. This fixes it.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
17 years agoBumped version to 3.11.0; Updated ChangeLog.
Florian Forster [Fri, 22 Dec 2006 14:15:38 +0000 (15:15 +0100)]
Bumped version to 3.11.0; Updated ChangeLog.

17 years agosrc/collectd.h: Don't mess with the syslog-stuff if it's present.
Michael Shigorin [Fri, 22 Dec 2006 14:06:42 +0000 (15:06 +0100)]
src/collectd.h: Don't mess with the syslog-stuff if it's present.

No idea where it came from, but it's not necessary, thus remove it. This even
resolves a conflice with some newer glibc version.

17 years agoAUTHORS: Converted to UTF-8 and added Lubos' efforts.
Florian Forster [Fri, 22 Dec 2006 13:59:04 +0000 (14:59 +0100)]
AUTHORS: Converted to UTF-8 and added Lubos' efforts.

17 years agoAdded the `mbmon' plugin to the ChangeLog for 3.11.0
Florian Forster [Fri, 22 Dec 2006 09:44:13 +0000 (10:44 +0100)]
Added the `mbmon' plugin to the ChangeLog for 3.11.0

.. and Flavio Stanchina to the list of contributors.

17 years agoMerge branch 'fs/mbmon'
Florian Forster [Fri, 22 Dec 2006 09:39:18 +0000 (10:39 +0100)]
Merge branch 'fs/mbmon'

17 years agoMerge branch 'ls/sensors'
Florian Forster [Fri, 22 Dec 2006 09:38:07 +0000 (10:38 +0100)]
Merge branch 'ls/sensors'

17 years agombmon plugin: Change the definition of the RRD files.
Florian Forster [Thu, 21 Dec 2006 21:49:22 +0000 (22:49 +0100)]
mbmon plugin: Change the definition of the RRD files.

Change the RRD files to be of the same format as the `apple_sensors' or the
`sensors extended' formats.

17 years agoMerge branch 'sh/email'
Florian Forster [Thu, 21 Dec 2006 20:12:24 +0000 (21:12 +0100)]
Merge branch 'sh/email'

17 years agoemail plugin: Unlock mutexes before submitting the data.
Sebastian Harl [Tue, 19 Dec 2006 09:19:56 +0000 (10:19 +0100)]
email plugin: Unlock mutexes before submitting the data.

All values are copied to local data structures in email_read () before they
are submitted. Thus the mutex can be unlocked before data is sent to the rrd
files or the network.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
17 years agoMerge branch 'collectd-3.10'
Florian Forster [Thu, 21 Dec 2006 19:40:49 +0000 (20:40 +0100)]
Merge branch 'collectd-3.10'

Conflicts:

ChangeLog

17 years agoBumped version to 3.10.4; Updated ChangeLog. collectd-3.10.4
Florian Forster [Thu, 21 Dec 2006 19:37:02 +0000 (20:37 +0100)]
Bumped version to 3.10.4; Updated ChangeLog.

17 years agoBug#404018: Close the file descriptor when binding to a socket fails.
Florian Forster [Thu, 21 Dec 2006 12:38:52 +0000 (13:38 +0100)]
Bug#404018: Close the file descriptor when binding to a socket fails.

This closes the second part of the bug reported by Max Kellermann.

17 years agoBug#404018: Break out of the `while (loop)'-loop when no socket can be opened.
Florian Forster [Thu, 21 Dec 2006 12:27:56 +0000 (13:27 +0100)]
Bug#404018: Break out of the `while (loop)'-loop when no socket can be opened.

This fixes the first part of the bug reported by Max Kellermann.

17 years agoNew plugin "mbmon" to collect motherboard status information:
Flavio Stanchina [Wed, 20 Dec 2006 14:45:58 +0000 (15:45 +0100)]
New plugin "mbmon" to collect motherboard status information:
temperatures, voltages and cooling fan speeds.

Signed-off-by: Flavio Stanchina <flavio@stanchina.net>
17 years agoemail plugin: Made read_{char,line} functions static.
Sebastian Harl [Mon, 18 Dec 2006 14:18:35 +0000 (15:18 +0100)]
email plugin: Made read_{char,line} functions static.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
17 years agoemail plugin: Write "0" values as well to distinguish from NaN's.
Sebastian Harl [Mon, 18 Dec 2006 14:17:48 +0000 (15:17 +0100)]
email plugin: Write "0" values as well to distinguish from NaN's.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
17 years agocollectd{,.conf}.pod: Extended and clarified documentation of the email plugin.
Sebastian Harl [Wed, 13 Dec 2006 12:37:58 +0000 (13:37 +0100)]
collectd{,.conf}.pod: Extended and clarified documentation of the email plugin.

* Added a description of the protocol and the DS's to the manpage.
* Make clear that the group of the UNIX socket is always changed when running
  as root.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
17 years agosensors plugin: Simplify the reload machanism.
Florian Forster [Wed, 13 Dec 2006 08:00:08 +0000 (09:00 +0100)]
sensors plugin: Simplify the reload machanism.

Instead of calling `stat' in the `read' function and then, eventually, calling
the reload stuff, just call the reload function every time and have it return
without doing anything if the config didn't change. This way the reload logic
is not in the read function.

17 years agoMerge branches 'sh/email' and 'ls/processes'
Florian Forster [Wed, 13 Dec 2006 07:05:27 +0000 (08:05 +0100)]
Merge branches 'sh/email' and 'ls/processes'

17 years agosensors plugin: Reload lm_sensors' configuration when changed
Lubos Stanek [Mon, 11 Dec 2006 22:35:16 +0000 (23:35 +0100)]
sensors plugin: Reload lm_sensors' configuration when changed

Signed-off-by: Stanek Lubos <kolektor@atlas.cz>
17 years agosensors plugin: Made sensors.conf path configurable
Lubos Stanek [Mon, 11 Dec 2006 22:34:30 +0000 (23:34 +0100)]
sensors plugin: Made sensors.conf path configurable

Signed-off-by: Stanek Lubos <kolektor@atlas.cz>
17 years agosensors plugin: syslog() and DBG() calls unification
Lubos Stanek [Mon, 11 Dec 2006 22:33:55 +0000 (23:33 +0100)]
sensors plugin: syslog() and DBG() calls unification

Signed-off-by: Stanek Lubos <kolektor@atlas.cz>
17 years agoprocesses plugin: Do not complain of a disappeared task's proc dir
Lubos Stanek [Mon, 11 Dec 2006 15:03:00 +0000 (16:03 +0100)]
processes plugin: Do not complain of a disappeared task's proc dir

Signed-off-by: Stanek Lubos <kolektor@atlas.cz>
17 years agoemail plugin: Prepend the module name to any syslog messages
Sebastian Harl [Tue, 12 Dec 2006 10:11:49 +0000 (11:11 +0100)]
email plugin: Prepend the module name to any syslog messages

Signed-off-by: Sebastian Harl <sh@tokkee.org>
17 years agoemail plugin: Kill threads before closing the associated socket
Sebastian Harl [Tue, 12 Dec 2006 09:50:12 +0000 (10:50 +0100)]
email plugin: Kill threads before closing the associated socket

If the socket is closed before the thread is terminated it might cause some
confusing error messages if the thread wants to read from the socket.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
17 years agoSA plugin: Documentation updates
Alexander Wirt [Sat, 9 Dec 2006 18:44:25 +0000 (19:44 +0100)]
SA plugin: Documentation updates

Signed-off-by: Alexander Wirt <formorer@formorer.de>
17 years agoSA plugin: Added reconnect support (collectd_retries), code cleanup
Alexander Wirt [Sat, 9 Dec 2006 18:43:25 +0000 (19:43 +0100)]
SA plugin: Added reconnect support (collectd_retries), code cleanup

The plugin now tries to reconnect if connection isn't possible
(default is 3 tries), this can adjusted with the collectd_retries
config parameter.

Signed-off-by: Alexander Wirt <formorer@formorer.de>
17 years agosrc/Makefile.am: Added utils_dns.h to dns_la_SOURCES.
Sebastian Harl [Fri, 8 Dec 2006 15:55:28 +0000 (16:55 +0100)]
src/Makefile.am: Added utils_dns.h to dns_la_SOURCES.

Without this change the .tar.{bz2,gz} does not contain utils_dns.h.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
17 years agocontrib/collection.cgi: Added support for the email plugin.
Sebastian Harl [Fri, 8 Dec 2006 15:10:38 +0000 (16:10 +0100)]
contrib/collection.cgi: Added support for the email plugin.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
17 years agoemail plugin: Do not allocate memory for the return value in read_line ().
Sebastian Harl [Fri, 8 Dec 2006 14:13:26 +0000 (15:13 +0100)]
email plugin: Do not allocate memory for the return value in read_line ().

The read_line () function now uses the provided buffer to save the return
value to. In case no complete line could be read, read_line () is called
recursively until '\n' has been found or end-of-file has been reached.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
17 years agoemail plugin: Use a thread pool.
Sebastian Harl [Fri, 8 Dec 2006 14:12:42 +0000 (15:12 +0100)]
email plugin: Use a thread pool.

Up to now the email plugin created a thread for each connection. This thread
was destroyed after the connection has been closed. Now, a pool containing
MaxConns threads is created and a new connection is assigned to a free thread.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
17 years agoemail plugin: Prevent a segfault in read_line ().
Sebastian Harl [Fri, 8 Dec 2006 14:12:00 +0000 (15:12 +0100)]
email plugin: Prevent a segfault in read_line ().

Signed-off-by: Sebastian Harl <sh@tokkee.org>
17 years agoSpamAssassin plugin: Reclicense again und remove debugging die
Alexander Wirt [Thu, 7 Dec 2006 10:36:35 +0000 (11:36 +0100)]
SpamAssassin plugin: Reclicense again und remove debugging die

Due to some misunderstanding Artistic was not the right license so
I should GPL now instead of Artistic.
Additionally I removed a debugging "die" that should never have been checked
in into my svn repo (Thanks tokkee).

Signed-off-by: Alexander Wirt <formorer@formorer.de>
17 years agoSpamAssassin plugin: Update license foo and add timout
Alexander Wirt [Thu, 7 Dec 2006 10:15:28 +0000 (11:15 +0100)]
SpamAssassin plugin: Update license foo and add timout

Also updated example.cf to reflect the new timeout option
(default is 2 sec.). The whole thing is now dual licensed
(Artistic and Apache License).

Signed-off-by: Alexander Wirt <formorer@formorer.de>
17 years agoload plugin: Made the data source variable `static'.
Florian Forster [Wed, 6 Dec 2006 20:50:21 +0000 (21:50 +0100)]
load plugin: Made the data source variable `static'.

Also removed the `filename' member from `data_set_t' because it's not used.

17 years agoload plugin: Converted to the new plugin structure.
Florian Forster [Wed, 6 Dec 2006 20:46:47 +0000 (21:46 +0100)]
load plugin: Converted to the new plugin structure.

17 years agorrdtool plugin: First implementation of an rrdtool write plugin.
Florian Forster [Wed, 6 Dec 2006 20:24:56 +0000 (21:24 +0100)]
rrdtool plugin: First implementation of an rrdtool write plugin.

Many functions have been moved from `common.c' to a new file `rrdtool.c'. The
new plugin compiles, but has not yet been testet.

17 years agoplugins: Implement a first version of the new plugin mechanismn.
Florian Forster [Wed, 6 Dec 2006 17:43:56 +0000 (18:43 +0100)]
plugins: Implement a first version of the new plugin mechanismn.

Instead of the impractical `plugin_register' function, provide a variety of
different register functions, so plugin can `hook in' at various stages of the
daemon.

The most important new hook is likely the `write' hook which will allow for
generic `output plugins' to be plugged in.

17 years agosrc/utils_llist.[ch]: Added a generic linked list implementation.
Florian Forster [Wed, 6 Dec 2006 17:38:10 +0000 (18:38 +0100)]
src/utils_llist.[ch]: Added a generic linked list implementation.

17 years agoemail plugin: Added some information about this plugin and it's config options to...
Florian Forster [Wed, 6 Dec 2006 12:33:35 +0000 (13:33 +0100)]
email plugin: Added some information about this plugin and it's config options to the manpages.

Also updated the README file, fixed a little indentation in `src/collectd.h'
and force the base of the `SocketPerms' to be eight (i. e. assume octal numbers
when setting the permission).

17 years agoMerge branch 'master' of octo@verplant.org:/var/lib/git/collectd
Florian Forster [Wed, 6 Dec 2006 08:59:20 +0000 (09:59 +0100)]
Merge branch 'master' of octo@verplant.org:/var/lib/git/collectd

17 years agodns plugin: Documented plugin in the README file and the manpages.
Florian Forster [Wed, 6 Dec 2006 08:14:55 +0000 (09:14 +0100)]
dns plugin: Documented plugin in the README file and the manpages.

17 years agocontrib/collection.cgi: Added graphs for `opcode' RRD-files (from the dns plugin)
Florian Forster [Wed, 6 Dec 2006 07:55:09 +0000 (08:55 +0100)]
contrib/collection.cgi: Added graphs for `opcode' RRD-files (from the dns plugin)

17 years agosrc/utils_dns.c: Implemented a handler for `DLT_LINUX_SLL'.
Florian Forster [Tue, 5 Dec 2006 20:42:16 +0000 (21:42 +0100)]
src/utils_dns.c: Implemented a handler for `DLT_LINUX_SLL'.

This is the ``Linux cooked capture encapsulation'', which is at least returned
when capturing the `any' device under Linux. This patch will strip off the
header and pass the packet to the IPv4 or IPv6 handler, whichever one is
ppropriate.