Code

collectd.git
17 years agosyslog plugin: Added a `syslog' plugin which logs to syslog, using the new `log'...
Florian Forster [Wed, 14 Mar 2007 08:55:51 +0000 (09:55 +0100)]
syslog plugin: Added a `syslog' plugin which logs to syslog, using the new `log' interface.

17 years agosrc/plugin.[ch]: Add `log' callbacks.
Florian Forster [Wed, 14 Mar 2007 08:55:05 +0000 (09:55 +0100)]
src/plugin.[ch]: Add `log' callbacks.

17 years agocollectd-nagios, rrdtool plugin, unixsock plugin: Use `isnan' rather than `==' or...
Florian Forster [Mon, 12 Mar 2007 11:43:18 +0000 (12:43 +0100)]
collectd-nagios, rrdtool plugin, unixsock plugin: Use `isnan' rather than `==' or `!='.

17 years agosrc/collectd.h: Define a useable `NAN', based on `configure's findings.
Florian Forster [Mon, 12 Mar 2007 11:42:07 +0000 (12:42 +0100)]
src/collectd.h: Define a useable `NAN', based on `configure's findings.

17 years agoconfigure.in: Added checks that find out how to include/define `NAN'.
Florian Forster [Mon, 12 Mar 2007 11:34:16 +0000 (12:34 +0100)]
configure.in: Added checks that find out how to include/define `NAN'.

17 years agoemail plugin: Converted to the new plugin interface.
Florian Forster [Sat, 10 Mar 2007 12:08:55 +0000 (13:08 +0100)]
email plugin: Converted to the new plugin interface.

17 years agoMerge branch 'pull/collectd-4' into collectd-4
Florian Forster [Sat, 10 Mar 2007 09:52:02 +0000 (10:52 +0100)]
Merge branch 'pull/collectd-4' into collectd-4

17 years agounixsock plugin: Replace `getgrnam' with `getgrnam_r'.
Florian Forster [Sat, 10 Mar 2007 09:49:18 +0000 (10:49 +0100)]
unixsock plugin: Replace `getgrnam' with `getgrnam_r'.

17 years agoexec plugin: Replace `getpwnam' with `getpwnam_r'.
Florian Forster [Sat, 10 Mar 2007 09:38:05 +0000 (10:38 +0100)]
exec plugin: Replace `getpwnam' with `getpwnam_r'.

17 years agocsv plugin: Replace `localtime' with `localtime_r'.
Florian Forster [Sat, 10 Mar 2007 09:29:18 +0000 (10:29 +0100)]
csv plugin: Replace `localtime' with `localtime_r'.

17 years agoReplace all occurrences of `strtok' with `strtok_r'.
Florian Forster [Sat, 10 Mar 2007 08:48:54 +0000 (09:48 +0100)]
Replace all occurrences of `strtok' with `strtok_r'.

17 years agoirq plugin: Fix for non-Linux systems.
Florian Forster [Thu, 1 Mar 2007 18:59:26 +0000 (19:59 +0100)]
irq plugin: Fix for non-Linux systems.

17 years agosrc/common.c: Allow `check_create_dir' to create absolute directories.
Florian Forster [Thu, 1 Mar 2007 11:17:35 +0000 (12:17 +0100)]
src/common.c: Allow `check_create_dir' to create absolute directories.

Since the `DataDir' of the `csv' and `rrdtool' plugins are seperate from the
`BaseDir' setting, it makes sense to allow absolute directories here. The
(possibly more secure) alternative would be to disallow absolute directories
and force the user to create SymLinks instead.

17 years agosrc/collectd.conf.in: Added default entries for the `csv' and `rrdtool' plugins
Florian Forster [Thu, 1 Mar 2007 11:15:14 +0000 (12:15 +0100)]
src/collectd.conf.in: Added default entries for the `csv' and `rrdtool' plugins

.. and their options.

17 years agocsv plugin: Add a `DataDir' option.
Florian Forster [Thu, 1 Mar 2007 11:14:39 +0000 (12:14 +0100)]
csv plugin: Add a `DataDir' option.

Since the `rrdtool' and `csv' plugins may be loaded at the same time, one may
want to configure another path for this plugin, too.

17 years agoMerge branch 'ff/vserver' into collectd-4
Florian Forster [Wed, 28 Feb 2007 15:14:34 +0000 (16:14 +0100)]
Merge branch 'ff/vserver' into collectd-4

17 years agousers plugin: Remove old `DBG' statement.
Florian Forster [Wed, 28 Feb 2007 15:10:03 +0000 (16:10 +0100)]
users plugin: Remove old `DBG' statement.

17 years agoload plugin: Use `gauge_t' rather than `double'.
Florian Forster [Wed, 28 Feb 2007 15:09:39 +0000 (16:09 +0100)]
load plugin: Use `gauge_t' rather than `double'.

17 years agovserver plugin: Converted to the new plugin interface.
Florian Forster [Wed, 28 Feb 2007 15:06:03 +0000 (16:06 +0100)]
vserver plugin: Converted to the new plugin interface.

17 years agousers plugin: Converted to the new plugin interface.
Florian Forster [Wed, 28 Feb 2007 13:34:10 +0000 (14:34 +0100)]
users plugin: Converted to the new plugin interface.

17 years agorrdtool plugin: Implemented the settings `StepSize', `HeartBeat', `RRARows', and...
Florian Forster [Wed, 28 Feb 2007 10:43:37 +0000 (11:43 +0100)]
rrdtool plugin: Implemented the settings `StepSize', `HeartBeat', `RRARows', and `XFF'.

The documentation has been updated, too.

17 years agoIntroduce two global variables: `hostname_g' and `interval_g'.
Florian Forster [Wed, 28 Feb 2007 09:41:55 +0000 (10:41 +0100)]
Introduce two global variables: `hostname_g' and `interval_g'.

hostname_g: Hostname we're running on. May be set in the configfile with the
  `Hostname'-option. This replaces the global `hostname'-variable exported by
  `plugin.c'.
interval_g: Interval in which we query the read plugins. This replaces the
  `COLLECTD_STEP'-define and is configurable using the `Interval'-option.

17 years agoirq plugin: Converted to the new plugin interface.
Florian Forster [Wed, 28 Feb 2007 08:21:41 +0000 (09:21 +0100)]
irq plugin: Converted to the new plugin interface.

17 years agoMerge branch 'master' into merge/collectd-4
Florian Forster [Wed, 28 Feb 2007 08:08:19 +0000 (09:08 +0100)]
Merge branch 'master' into merge/collectd-4

Conflicts:

src/apache.c

17 years agoMerge branch 'ph/irq'
Florian Forster [Wed, 28 Feb 2007 07:54:36 +0000 (08:54 +0100)]
Merge branch 'ph/irq'

17 years agoirq plugin: Fixed some issues, renamed RRD-files.
Florian Forster [Wed, 28 Feb 2007 07:53:33 +0000 (08:53 +0100)]
irq plugin: Fixed some issues, renamed RRD-files.

I've looked into your plugin in more detail just now and fixed the
following issues:
- Moved the RRD-files into a subdirectory called `irq'. That's how it's
  going to be done in the next major version.
- Renamed the DS to `value' and set the maximum value to 65535. I'm not
  sure if this maximum value is big enough..?
- Don't use `LOG_EMERG' when config-problems are found. Rather, print to
  `STDERR' since it's still available during configuration.
- Use `strsplit' when parsing `/proc/interrupts'. This makes much of the
  pointer-arithmetic obsolete and the code much more readable.
- The device names are not used in the filename, though I'm not certain
  if that's the way to go here.. On my workstation there is a line like
  this:
    193:      28492   IO-APIC-level  uhci_hcd, uhci_hcd, uhci_hcd, ehci_hcd
  Apparently the interrupt is shared among several USB-controllers. My
  problem here is, that as soon as one device is deactivated or the
  order changes, so does the filename. Besides, a filename along the
  lines of `irq-193-uhci_hcd-ehci_hcd.rrd' would be nice.
  On another machine I have this line:
    217:   50173955          0   IO-APIC-level  3ware Storage Controller
  Where one device somehow manages to write a _description_ in there.
  This makes detection of such shared interrupts as above tricky.
  If anyone has a good idea how to use the last part of the lines for a
  filename, please let me know.

17 years agorrdtool plugin: Updated the documentation in `collectd.conf(5)'
Florian Forster [Tue, 27 Feb 2007 21:13:18 +0000 (22:13 +0100)]
rrdtool plugin: Updated the documentation in `collectd.conf(5)'

.. and the sample config file.

17 years agosrc/configfile.c: Actually set the `BaseDir' option.
Florian Forster [Tue, 27 Feb 2007 21:02:51 +0000 (22:02 +0100)]
src/configfile.c: Actually set the `BaseDir' option.

17 years agoirq plugin: Added plugin to collect interrupt counters.
Peter Holik [Tue, 27 Feb 2007 08:51:59 +0000 (09:51 +0100)]
irq plugin: Added plugin to collect interrupt counters.

-- 8< --
 Hi!

 This plugin collects interrupts from /proc/interrupts

 Usually all interrupts are collected but
 you can configure what interruptnumbers are collected or not.

 Example:

 collect only wanted irqs:

 <Plugin irq>
        Irq 0
        Irq 14
        IgnoreSelected false
 </Plugin>

 collect all but no these irqs:

 <Plugin irq>
         Irq 7
         Irq 8
         Irq 9
         IgnoreSelected true
 </Plugin>

 cu Peter
-- >8 --

17 years agoexec plugin: Implemented a first version.
Florian Forster [Sat, 17 Feb 2007 11:21:26 +0000 (12:21 +0100)]
exec plugin: Implemented a first version.

17 years agoliboconfig: Import version 0.1.1.
Florian Forster [Thu, 15 Feb 2007 21:08:57 +0000 (22:08 +0100)]
liboconfig: Import version 0.1.1.

17 years agorrdtool plugin: Fix another memory leak..
Florian Forster [Thu, 15 Feb 2007 21:03:45 +0000 (22:03 +0100)]
rrdtool plugin: Fix another memory leak..

..or, possibly, fixed the first one correctly. It's kind of hard to tell with
that caching code :/

17 years agorrdtool plugin: Fix a memory leak.
Florian Forster [Thu, 15 Feb 2007 18:43:07 +0000 (19:43 +0100)]
rrdtool plugin: Fix a memory leak.

17 years agorrdtool plugin: Use the AVL-tree to implement the cache.
Florian Forster [Thu, 15 Feb 2007 11:10:09 +0000 (12:10 +0100)]
rrdtool plugin: Use the AVL-tree to implement the cache.

17 years agosrc/utils_avltree.[ch]: Fix the iterator, since it's actually usefull with caches.
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.

17 years agosrc/utils_avltree.[ch]: Documented the interface of the AVL-tree.
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.

17 years agosrc/utils_avltree.c: Fix `avl_pick'.
Florian Forster [Wed, 14 Feb 2007 21:44:45 +0000 (22:44 +0100)]
src/utils_avltree.c: Fix `avl_pick'.

17 years agoMerge branch 'ff/avl-tree'
Florian Forster [Wed, 14 Feb 2007 21:32:48 +0000 (22:32 +0100)]
Merge branch 'ff/avl-tree'

17 years agosrc/utils_avltree.c: Added `avl_pick'.
Florian Forster [Wed, 14 Feb 2007 21:29:48 +0000 (22:29 +0100)]
src/utils_avltree.c: Added `avl_pick'.

17 years agosrc/utils_avltree.c: Removal works, too.
Florian Forster [Wed, 14 Feb 2007 17:45:10 +0000 (18:45 +0100)]
src/utils_avltree.c: Removal works, too.

17 years agosrc/utils_avltree.c: Insertion works correktly.
Florian Forster [Wed, 14 Feb 2007 16:42:00 +0000 (17:42 +0100)]
src/utils_avltree.c: Insertion works correktly.

17 years agoapache plugin: Support for lighttpd's `BusyServers' field was added.
Florent EppO Monbillard [Wed, 14 Feb 2007 11:25:22 +0000 (12:25 +0100)]
apache plugin: Support for lighttpd's `BusyServers' field was added.

17 years agosrc/collectd.conf.pod: Removed the part about the `ExtendedNaming' in the sensors...
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.

17 years agorrdtool plugin: Implemented a `DataDir' config option to be able to store the RRD...
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.

17 years agosrc/collectd.conf.{in,pod}: Update the sample config and the config's documentation.
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.

17 years agoRemoved `src/libconfig/*'.
Florian Forster [Mon, 12 Feb 2007 10:21:54 +0000 (11:21 +0100)]
Removed `src/libconfig/*'.

17 years agosrc/collectd.conf.in: Added the `network' plugin.
Florian Forster [Mon, 12 Feb 2007 10:18:30 +0000 (11:18 +0100)]
src/collectd.conf.in: Added the `network' plugin.

17 years agosrc/common.c: Removed the (extern) variable `operating_mode'.
Florian Forster [Mon, 12 Feb 2007 10:18:08 +0000 (11:18 +0100)]
src/common.c: Removed the (extern) variable `operating_mode'.

17 years agosrc/collectd.c: Removed `Mode' code and other old stuff.
Florian Forster [Mon, 12 Feb 2007 10:17:38 +0000 (11:17 +0100)]
src/collectd.c: Removed `Mode' code and other old stuff.

17 years agoChanged from the old `libconfig' to the new `liboconfig'.
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.. :/

17 years agoMerge branch 'collectd-3.11' into merge/master
Florian Forster [Sun, 11 Feb 2007 14:41:02 +0000 (15:41 +0100)]
Merge branch 'collectd-3.11' into merge/master

Conflicts:

contrib/fedora/collectd.spec

17 years agoMerge branch 'collectd-3.11' into merge/collectd-4
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

17 years agoBumped version to 3.11.2; Updated ChangeLog. collectd-3.11.2
Florian Forster [Sun, 11 Feb 2007 11:52:16 +0000 (12:52 +0100)]
Bumped version to 3.11.2; Updated ChangeLog.

17 years ago{email,multimeter,users} plugin: Don't pass NULL-pointers to `plugin_submit'.
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'.

17 years agoplugin.c: Catch NULL-pointers and fix it or ignore the values.
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.

17 years agoMerge branch 'collectd-3.11' into merge/collectd-4
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

17 years agoREADME: Updated the informatioin about plugins and prerequisites. collectd-3.11.1
Florian Forster [Sat, 10 Feb 2007 10:16:44 +0000 (11:16 +0100)]
README: Updated the informatioin about plugins and prerequisites.

17 years agodns plugin: Only include and build with `utils_dns.c' if it's actually used.
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.

17 years agoconfigure.in: Don't link all objects with `libkstat' and `libdevinfo'.
Florian Forster [Sat, 10 Feb 2007 09:39:50 +0000 (10:39 +0100)]
configure.in: Don't link all objects with `libkstat' and `libdevinfo'.

17 years agoconfigure.in: Bump to 3.11.1; Improve the detection of `netinet/udp.h'.
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'.

17 years agoChangeLog: Added changes for version 3.11.1.
Florian Forster [Sat, 10 Feb 2007 08:22:21 +0000 (09:22 +0100)]
ChangeLog: Added changes for version 3.11.1.

17 years agotraffic pluxin: Remove unnecessary `strcpy'.
Florian Forster [Fri, 9 Feb 2007 21:40:15 +0000 (22:40 +0100)]
traffic pluxin: Remove unnecessary `strcpy'.

17 years agoMerge branch 'pull/collectd-3.11' into collectd-3.11
Florian Forster [Fri, 9 Feb 2007 16:55:49 +0000 (17:55 +0100)]
Merge branch 'pull/collectd-3.11' into collectd-3.11

17 years agosrc/utils_mount.c: Fix defines so `cu_mount_getlist' works under Solaris.
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.

17 years agoMerge branch 'sh/freebsd'
Florian Forster [Wed, 7 Feb 2007 12:58:55 +0000 (13:58 +0100)]
Merge branch 'sh/freebsd'

17 years agosrc/utils_dns.c: Fix the handling of the `struct udphdr' under the GNU libc and other...
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.

17 years agoprocesses.c, utils_dns.c: Fix compile errors on GNU/kFreeBSD.
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>
17 years agocollection.cgi: Fix typos.
Florian Forster [Wed, 7 Feb 2007 12:12:31 +0000 (13:12 +0100)]
collection.cgi: Fix typos.

17 years agoMerge branch 'pull/uni' into collectd-4
Florian Forster [Mon, 5 Feb 2007 19:01:27 +0000 (20:01 +0100)]
Merge branch 'pull/uni' into collectd-4

17 years agotape plugin: Converted to the new plugin interface.
Florian Forster [Mon, 5 Feb 2007 11:30:10 +0000 (12:30 +0100)]
tape plugin: Converted to the new plugin interface.

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

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

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

17 years agombmon plugin: Correct the `type's being passed to the dispatch function.
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.

17 years agombmon plugin: Converted to the new plugin interface.
Florian Forster [Mon, 5 Feb 2007 09:51:03 +0000 (10:51 +0100)]
mbmon plugin: Converted to the new plugin interface.

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

17 years ago{apcups,battery} plugin: Changes the voltage DS as for the sensors plugin.
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.

17 years agosensors plugin: Change the DS of `voltage' to be named `value' as for other physical...
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.

17 years agoplugin interface: If an init-function fails, write an error to syslog and remove...
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.

17 years agowireless plugin: Converted to the new plugin interface.
Florian Forster [Sun, 4 Feb 2007 09:13:05 +0000 (10:13 +0100)]
wireless plugin: Converted to the new plugin interface.

17 years agocollection.cgi: Reload the images using JavaScript if enabled.
Florian Forster [Fri, 2 Feb 2007 20:42:36 +0000 (21:42 +0100)]
collection.cgi: Reload the images using JavaScript if enabled.

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

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

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

17 years agounixsock plugin: Finally fixed the `pthread_t'-initialization to be platform independant.
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.

17 years agounixsock plugin: Fix the initialization of the pthread variable under Mac OS X.
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.

17 years agoprocesses plugin: Converted to the new plugin interface.
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.

17 years agoMerge branch 'pull/collectd-4'
Florian Forster [Wed, 31 Jan 2007 12:48:21 +0000 (13:48 +0100)]
Merge branch 'pull/collectd-4'

17 years agocpu plugin: Remove newline from syslog message.
Florian Forster [Wed, 31 Jan 2007 12:48:08 +0000 (13:48 +0100)]
cpu plugin: Remove newline from syslog message.

17 years agosrc/plugin.c: Implemented delaying of read-functions that fail.
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.

17 years agocpufreq plugin: Converted to the new plugin interface.
Florian Forster [Wed, 31 Jan 2007 08:27:25 +0000 (09:27 +0100)]
cpufreq plugin: Converted to the new plugin interface.

17 years agosrc/plugin.[ch]: Provide unregister-functions for plugins to remove certain functions.
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.

17 years agodisk plugin: Converted to the new plugin interface.
Florian Forster [Mon, 29 Jan 2007 13:54:10 +0000 (14:54 +0100)]
disk plugin: Converted to the new plugin interface.

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

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

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.