Code

collectd.git
18 years agoFixed bugs in the Darwin code of the `disk' plugin. It mostly works now.
octo [Sun, 16 Apr 2006 00:25:42 +0000 (00:25 +0000)]
Fixed bugs in the Darwin code of the `disk' plugin. It mostly works now.

18 years agoLink the `disk' plugin against `IOKitLib' when available..
octo [Sat, 15 Apr 2006 17:34:36 +0000 (17:34 +0000)]
Link the `disk' plugin against `IOKitLib' when available..

18 years agoAdded code to find major/minor numbers of disks. Partition statistics are not availab...
octo [Sat, 15 Apr 2006 17:17:43 +0000 (17:17 +0000)]
Added code to find major/minor numbers of disks. Partition statistics are not available though :/

18 years agoPorted the `disk' plugin to Darwin. It's not complete yet, search for `FIXME's.
octo [Sat, 15 Apr 2006 11:47:56 +0000 (11:47 +0000)]
Ported the `disk' plugin to Darwin. It's not complete yet, search for `FIXME's.

18 years agoThe defines in the `disk' plugin have been brought to the `state of the art'.. ;)
octo [Sat, 15 Apr 2006 10:04:50 +0000 (10:04 +0000)]
The defines in the `disk' plugin have been brought to the `state of the art'.. ;)

18 years agoImplemented step-back for the cpu-plugin, mach part when trying to read temperature..
octo [Sat, 15 Apr 2006 09:42:49 +0000 (09:42 +0000)]
Implemented step-back for the cpu-plugin, mach part when trying to read temperature..

18 years agoUpdate of the specfile. It works with FC1
octo [Fri, 14 Apr 2006 18:11:57 +0000 (18:11 +0000)]
Update of the specfile. It works with FC1

18 years agoUpdated the Debian changelog
octo [Fri, 14 Apr 2006 17:32:45 +0000 (17:32 +0000)]
Updated the Debian changelog

18 years agoAdded missing modules to the manpage.
octo [Fri, 14 Apr 2006 17:29:54 +0000 (17:29 +0000)]
Added missing modules to the manpage.

18 years agoAdded some more `IOHWSensor' types..
octo [Fri, 14 Apr 2006 17:00:44 +0000 (17:00 +0000)]
Added some more `IOHWSensor' types..

18 years agoChanged all occurences of `http://verplant.org/collectd/' to `http://collectd.org/'
octo [Fri, 14 Apr 2006 15:58:09 +0000 (15:58 +0000)]
Changed all occurences of `verplant.org/collectd/' to `http://collectd.org/'

18 years agoChanged version to `3.9.0'
octo [Fri, 14 Apr 2006 15:57:12 +0000 (15:57 +0000)]
Changed version to `3.9.0'

18 years agoUpdated the information in the README
octo [Fri, 14 Apr 2006 15:54:28 +0000 (15:54 +0000)]
Updated the information in the README

18 years agoCompleted listing of plugins in the README file
octo [Fri, 14 Apr 2006 15:41:48 +0000 (15:41 +0000)]
Completed listing of plugins in the README file

18 years agoFixing compile-errors/-warnings when building without librrd.
octo [Fri, 14 Apr 2006 15:27:31 +0000 (15:27 +0000)]
Fixing compile-errors/-warnings when building without librrd.

18 years agoFixing compile-warnings with braces in battery.c
octo [Fri, 14 Apr 2006 15:27:11 +0000 (15:27 +0000)]
Fixing compile-warnings with braces in battery.c

18 years agoUpdated all copyright-entries in header files.
octo [Fri, 14 Apr 2006 11:07:54 +0000 (11:07 +0000)]
Updated all copyright-entries in header files.

18 years agoAdded `ChangeLog' entry for Christophe's changes.
octo [Fri, 14 Apr 2006 10:55:33 +0000 (10:55 +0000)]
Added `ChangeLog' entry for Christophe's changes.

18 years agoMerged `branches/log-mode' to `trunk'
octo [Fri, 14 Apr 2006 10:53:44 +0000 (10:53 +0000)]
Merged `branches/log-mode' to `trunk'

18 years agoAdded Christophe Kalt to the `AUTHORS' file.
octo [Fri, 14 Apr 2006 07:42:34 +0000 (07:42 +0000)]
Added Christophe Kalt to the `AUTHORS' file.

18 years agoSubstituting colons with commas, to get comma seperated value (CSV) files.
octo [Fri, 14 Apr 2006 07:41:40 +0000 (07:41 +0000)]
Substituting colons with commas, to get comma seperated value (CSV) files.

18 years agoCorrected many defines, moved log-mode functionality out of the `rrd_*' functions...
octo [Fri, 14 Apr 2006 07:15:17 +0000 (07:15 +0000)]
Corrected many defines, moved log-mode functionality out of the `rrd_*' functions, reverted the debug-messaged in `configfile.c' and so on.. All in all minimized the patch and corrected it where neccessary..

18 years agoRemoved `#if HAVE_LIBRRD' around `plugin_write': The logmode works even without librrd.
octo [Fri, 14 Apr 2006 06:27:51 +0000 (06:27 +0000)]
Removed `#if HAVE_LIBRRD' around `plugin_write': The logmode works even without librrd.
Documented the `plugin_write' function.

18 years agoApplied patch by Christophe Kalt which adds the log-mode.
octo [Thu, 13 Apr 2006 21:35:20 +0000 (21:35 +0000)]
Applied patch by Christophe Kalt which adds the log-mode.

18 years agoCopied `tags/collectd-3.8.4' to `branches/log-mode'.
octo [Thu, 13 Apr 2006 20:54:13 +0000 (20:54 +0000)]
Copied `tags/collectd-3.8.4' to `branches/log-mode'.

18 years agoUpdated the `TODO' file.
octo [Wed, 12 Apr 2006 21:13:53 +0000 (21:13 +0000)]
Updated the `TODO' file.

18 years agoUpdated the `ChangeLog': Added the work that was done for Darwin.
octo [Wed, 12 Apr 2006 21:13:30 +0000 (21:13 +0000)]
Updated the `ChangeLog': Added the work that was done for Darwin.

18 years agoRead the CPU temperature if possible. This does not work with my 12" PowerBook, but...
octo [Tue, 11 Apr 2006 22:26:19 +0000 (22:26 +0000)]
Read the CPU temperature if possible. This does not work with my 12" PowerBook, but it may work with older iBooks. I'll try..

18 years agoCorrected some defines and the handling of `io_master_port'.
octo [Tue, 11 Apr 2006 22:24:37 +0000 (22:24 +0000)]
Corrected some defines and the handling of `io_master_port'.

18 years agoLink the battery plugin to `IOKit' if present.
octo [Tue, 11 Apr 2006 22:24:09 +0000 (22:24 +0000)]
Link the battery plugin to `IOKit' if present.

18 years agoFirst version of a battery plugin for Mac OS X. It compiles, but doesn't work. Yet.
octo [Tue, 11 Apr 2006 22:23:27 +0000 (22:23 +0000)]
First version of a battery plugin for Mac OS X. It compiles, but doesn't work. Yet.

18 years agoRemoved an annoying debug message. I don't need to know the file descriptor a gazilli...
octo [Tue, 11 Apr 2006 22:22:55 +0000 (22:22 +0000)]
Removed an annoying debug message. I don't need to know the file descriptor a gazillion times..

18 years agoAdded checks for `IOKit/ps/IOPowerSources.h' and `IOKit/ps/IOPSKeys.h'
octo [Tue, 11 Apr 2006 22:22:12 +0000 (22:22 +0000)]
Added checks for `IOKit/ps/IOPowerSources.h' and `IOKit/ps/IOPSKeys.h'
Added output wether or not `apache' plugin is built.
Renamed `iokit' to `apple_sensors' in the summary.

18 years agoRemoved the voltage readings from the `apple_sensors' plugin. They should be read...
octo [Tue, 11 Apr 2006 19:26:22 +0000 (19:26 +0000)]
Removed the voltage readings from the `apple_sensors' plugin. They should be read in the `battery' plugin. Look for IOBatteryInfo

18 years agoRenamed `iokit' to `apple_sensors'
octo [Tue, 11 Apr 2006 19:03:13 +0000 (19:03 +0000)]
Renamed `iokit' to `apple_sensors'

18 years agoAdded useful error- and debug-messages.
octo [Tue, 11 Apr 2006 18:41:30 +0000 (18:41 +0000)]
Added useful error- and debug-messages.

18 years agoImproved the iokit plugin: Scalre the values by 65536, convert the instance to lowerc...
octo [Tue, 11 Apr 2006 18:41:06 +0000 (18:41 +0000)]
Improved the iokit plugin: Scalre the values by 65536, convert the instance to lowercase and so on.

18 years agoA first version of the iokit-plugin. In need of a better name.
octo [Tue, 11 Apr 2006 17:22:25 +0000 (17:22 +0000)]
A first version of the iokit-plugin. In need of a better name.

18 years agoFixed wrong define. Good think this is fixed in `trunk' collectd-3.8.4
octo [Sun, 9 Apr 2006 14:06:29 +0000 (14:06 +0000)]
Fixed wrong define. Good think this is fixed in `trunk'

18 years agoCopied changes on `ChangeLog' from tags/collectd-3.8.4 to trunk
octo [Sun, 9 Apr 2006 14:02:16 +0000 (14:02 +0000)]
Copied changes on `ChangeLog' from tags/collectd-3.8.4 to trunk

18 years agoBumped version to 3.8.4
octo [Sun, 9 Apr 2006 14:01:33 +0000 (14:01 +0000)]
Bumped version to 3.8.4
Updated ChangeLog

18 years agoMerged revisions 581 and 583 from trunk to tags/collectd-3.8.4
octo [Sun, 9 Apr 2006 13:58:03 +0000 (13:58 +0000)]
Merged revisions 581 and 583 from trunk to tags/collectd-3.8.4

18 years agoImproved the patch sent by Vincent Strehle' a bit: Mostly indentation and removed...
octo [Sun, 9 Apr 2006 13:51:31 +0000 (13:51 +0000)]
Improved the patch sent by Vincent Strehle' a bit: Mostly indentation and removed reading of `/proc/partitions' for non-Linux systems.

18 years agoCorrected `getfsstat' part of `utils_mount.c': The buffer size needs to be passed...
octo [Sun, 9 Apr 2006 12:48:14 +0000 (12:48 +0000)]
Corrected `getfsstat' part of `utils_mount.c': The buffer size needs to be passed in bytes, not elements.

18 years agoApplied patch by Vincent Stehlé to correct behavior with major/minor numbers..
octo [Sat, 8 Apr 2006 23:42:11 +0000 (23:42 +0000)]
Applied patch by Vincent StehlĂ© to correct behavior with major/minor numbers..

18 years agoChanged the check for `mach/host_error.h' to `mach/mach_error.h' which is far more...
octo [Sat, 8 Apr 2006 23:40:52 +0000 (23:40 +0000)]
Changed the check for `mach/host_error.h' to `mach/mach_error.h' which is far more correct ;)

18 years agoAdded `ps_submit' to the Mach-read-function. What a stupid mistake..
octo [Sat, 8 Apr 2006 23:40:14 +0000 (23:40 +0000)]
Added `ps_submit' to the Mach-read-function. What a stupid mistake..

18 years ago`KERNEL_LINUX' and `KERNEL_SOLARIS' is now defined to `1' instead of <nothing>, so...
octo [Sat, 8 Apr 2006 16:54:34 +0000 (16:54 +0000)]
`KERNEL_LINUX' and `KERNEL_SOLARIS' is now defined to `1' instead of <nothing>, so it can be used as `#if KERNEL_LINUX'
Unify the define-handling in processes.c

18 years agoAdded checks for various more mach/* header files.
octo [Sat, 8 Apr 2006 16:35:16 +0000 (16:35 +0000)]
Added checks for various more mach/* header files.

18 years agoSecond implementation of the `processes' plugin for Mac OS X - this time with process...
octo [Sat, 8 Apr 2006 16:30:42 +0000 (16:30 +0000)]
Second implementation of the `processes' plugin for Mac OS X - this time with processor sets, tasks lists, threads and everything. Mach rules :)

18 years agoFixed the configure script to include net/if.h and/or linux/if.h in the right order...
octo [Fri, 7 Apr 2006 17:41:25 +0000 (17:41 +0000)]
Fixed the configure script to include net/if.h and/or linux/if.h in the right order and other such annoying stuff..

18 years agoThe traffic plugin has been extended to use `getifaddrs' which seems to be available...
octo [Fri, 7 Apr 2006 14:02:47 +0000 (14:02 +0000)]
The traffic plugin has been extended to use `getifaddrs' which seems to be available on *BSD as well as under the glibc..
The configure-script needed quite some changes for this.

18 years agoForgot to insert name in the ChangeLog. This revision corrects this (in trunk)
octo [Thu, 6 Apr 2006 06:09:36 +0000 (06:09 +0000)]
Forgot to insert name in the ChangeLog. This revision corrects this (in trunk)

18 years agoFixed/changes the memory graph in collection.cgi to work even if `page cache'
octo [Thu, 6 Apr 2006 06:03:30 +0000 (06:03 +0000)]
Fixed/changes the memory graph in collection.cgi to work even if `page cache'
and/or `buffer cache' is undefined.

18 years agocollection.cgi now displays hourly-graphs.
octo [Thu, 6 Apr 2006 05:56:20 +0000 (05:56 +0000)]
collection.cgi now displays hourly-graphs.

18 years agoChanged configure.in to check for `mach/mach_host.h' and `mach/vm_statistics.h'
octo [Thu, 6 Apr 2006 05:32:50 +0000 (05:32 +0000)]
Changed configure.in to check for `mach/mach_host.h' and `mach/vm_statistics.h'

18 years agoFixed typo (vm_data vs. vm_stat), included mach/mach_host.h.
octo [Wed, 5 Apr 2006 22:01:31 +0000 (22:01 +0000)]
Fixed typo (vm_data vs. vm_stat), included mach/mach_host.h.

18 years agoAdded note where to free allocated memory.
octo [Wed, 5 Apr 2006 10:59:21 +0000 (10:59 +0000)]
Added note where to free allocated memory.
Removed unneccesary and possibly confusing pointer.

18 years agoImplemented reading of memory usage under Mach/Darwin
octo [Wed, 5 Apr 2006 08:16:42 +0000 (08:16 +0000)]
Implemented reading of memory usage under Mach/Darwin

18 years agoRemoved syslog-entry if `cu_mount_getlist' fails, because it spams a lot ;)
octo [Wed, 5 Apr 2006 06:04:25 +0000 (06:04 +0000)]
Removed syslog-entry if `cu_mount_getlist' fails, because it spams a lot ;)

18 years agoFixes so the cpu plugin compiles under Mac OS X
octo [Tue, 4 Apr 2006 21:37:11 +0000 (21:37 +0000)]
Fixes so the cpu plugin compiles under Mac OS X

18 years agoAdds Mach/Darwin support for the cpu plugin. Also adds correcponding checks to config...
octo [Tue, 4 Apr 2006 21:27:26 +0000 (21:27 +0000)]
Adds Mach/Darwin support for the cpu plugin. Also adds correcponding checks to configure.in

18 years agoRemoved the dependency on `cpu.h' since it has been deleted.
octo [Tue, 4 Apr 2006 21:26:41 +0000 (21:26 +0000)]
Removed the dependency on `cpu.h' since it has been deleted.

18 years agoChanged the DS of the apache-plugin to contain upper limits. Since logrotate restarts...
octo [Tue, 4 Apr 2006 07:30:37 +0000 (07:30 +0000)]
Changed the DS of the apache-plugin to contain upper limits. Since logrotate restarts the webserver regularly the counter seems to `overflow' often, causing ugly peaks..

18 years agoRemoved all header-files of plugins, since they're not needed.
octo [Sun, 2 Apr 2006 19:48:54 +0000 (19:48 +0000)]
Removed all header-files of plugins, since they're not needed.
Changed the src/Makefile.am accordingly.
Updated the configure.in to check for `stdio.h'. This is needed to load libconfig correctly.

18 years agoMerged ChangeLog from tags/collectd-3.8.3 back to trunk
octo [Sun, 2 Apr 2006 08:42:17 +0000 (08:42 +0000)]
Merged ChangeLog from tags/collectd-3.8.3 back to trunk

18 years agosvn merge -r555:556 trunk tags/collectd-3.8.3 collectd-3.8.3
octo [Sun, 2 Apr 2006 08:33:42 +0000 (08:33 +0000)]
svn merge -r555:556 trunk tags/collectd-3.8.3

18 years agoCreated tags/collectd-3.8.3
octo [Sun, 2 Apr 2006 08:32:24 +0000 (08:32 +0000)]
Created tags/collectd-3.8.3
Bumped the version accordingly.
Added ChangeLog-entry

18 years agoApplied patch for the processes plugin. It should kind of work under Mac OS X and...
octo [Sun, 2 Apr 2006 07:40:38 +0000 (07:40 +0000)]
Applied patch for the processes plugin. It should kind of work under Mac OS X and possibly *BSDs now..

18 years agoApplied patch by James Byers <jbyers@jbyers.com> to the MySQL plugin. It works now...
octo [Sun, 2 Apr 2006 06:44:52 +0000 (06:44 +0000)]
Applied patch by James Byers <jbyers@jbyers.com> to the MySQL plugin. It works now with MySQL >= 5.0.2, too.

18 years agoApplied the TTL-patch for the ping plugin.
octo [Sat, 1 Apr 2006 20:42:55 +0000 (20:42 +0000)]
Applied the TTL-patch for the ping plugin.

18 years agoBumped version to 3.9.0 (which is due soon)
octo [Tue, 21 Mar 2006 21:56:22 +0000 (21:56 +0000)]
Bumped version to 3.9.0 (which is due soon)

18 years agoAdded note about the specfile to the `TODO' file
octo [Tue, 21 Mar 2006 21:54:55 +0000 (21:54 +0000)]
Added note about the specfile to the `TODO' file

18 years agoAdded the `collectd-apache' package to the debian package files..
octo [Tue, 21 Mar 2006 21:03:52 +0000 (21:03 +0000)]
Added the `collectd-apache' package to the debian package files..

18 years agoAdded `apache' plugin to contrib/collectd.conf
octo [Tue, 21 Mar 2006 20:55:20 +0000 (20:55 +0000)]
Added `apache' plugin to contrib/collectd.conf

18 years agoAdded the apache plugin to the manpages.
octo [Tue, 21 Mar 2006 18:09:35 +0000 (18:09 +0000)]
Added the apache plugin to the manpages.
Corrected/completed information about the RRAs in collectd(1)

18 years agoImplemented the dynamic heartbeat for the apache plugin (it was added after the branc...
octo [Tue, 21 Mar 2006 13:30:12 +0000 (13:30 +0000)]
Implemented the dynamic heartbeat for the apache plugin (it was added after the branch was created..)

18 years agosvn merge -r523:547 branches/config-step trunk
octo [Tue, 21 Mar 2006 13:26:41 +0000 (13:26 +0000)]
svn merge -r523:547 branches/config-step trunk

18 years agoRe-implemented `curtime' again. The last revision removed it accidentally..
octo [Tue, 21 Mar 2006 13:08:22 +0000 (13:08 +0000)]
Re-implemented `curtime' again. The last revision removed it accidentally..

18 years agoImplemented better loop-timing using `nanosleep(2)'.
octo [Tue, 21 Mar 2006 12:43:40 +0000 (12:43 +0000)]
Implemented better loop-timing using `nanosleep(2)'.

18 years agoImplemented function to subtract two `struct timeval' and get the difference in a...
octo [Tue, 21 Mar 2006 12:42:48 +0000 (12:42 +0000)]
Implemented function to subtract two `struct timeval' and get the difference in a `struct timespec'

18 years agoRemoved newlines from syslog-messages in cf_dispatch
octo [Tue, 21 Mar 2006 11:55:32 +0000 (11:55 +0000)]
Removed newlines from syslog-messages in  cf_dispatch
Added debug message (of return value) to cf_dispatch

18 years agoImproved the graphs generated for the apache-RRDs.
octo [Tue, 21 Mar 2006 09:15:00 +0000 (09:15 +0000)]
Improved the graphs generated for the apache-RRDs.
Added a multi-RRD-handler for apache_scoreboard

18 years agoAdded graphs for apache_bytes and apache_requests to collection.cgi
octo [Tue, 21 Mar 2006 07:21:38 +0000 (07:21 +0000)]
Added graphs for apache_bytes and apache_requests to collection.cgi

18 years agoCorrected reading the libraries to link to from `curl-config'..
octo [Tue, 21 Mar 2006 07:10:11 +0000 (07:10 +0000)]
Corrected reading the libraries to link to from `curl-config'..
(Changed: src/Makefile.am, configure.in)

18 years agoFixed dumb typos in src/apache.c: Passed reference to argument to config_set instead...
octo [Mon, 20 Mar 2006 23:16:16 +0000 (23:16 +0000)]
Fixed dumb typos in src/apache.c: Passed reference to argument to config_set instead &url. Also, mistyped `url' often as `uri'.

18 years agoChanged src/wireless.c back to writing `dbm' values, rather than `watt'..
octo [Mon, 20 Mar 2006 17:08:24 +0000 (17:08 +0000)]
Changed src/wireless.c back to writing `dbm' values, rather than `watt'..

18 years agoAdded apache.c/libcurl to configure.in and src/Makefile.am
octo [Mon, 20 Mar 2006 17:06:42 +0000 (17:06 +0000)]
Added apache.c/libcurl to configure.in and src/Makefile.am

18 years agoFixes syntax and compile errors in src/apache.c
octo [Mon, 20 Mar 2006 17:06:18 +0000 (17:06 +0000)]
Fixes syntax and compile errors in src/apache.c

18 years agoAdded first version of an `apache' plugin.
octo [Mon, 20 Mar 2006 16:49:59 +0000 (16:49 +0000)]
Added first version of an `apache' plugin.

18 years agoIf `ping_add_host' failes, `ping_config' no longer returns an error condition. This...
octo [Sun, 19 Mar 2006 10:42:44 +0000 (10:42 +0000)]
If `ping_add_host' failes, `ping_config' no longer returns an error condition. This way the startup of collectd doesn't fail if a host was unknown or the user may not open RAW sockets.

18 years agoSet $(AM_CFLAGS) to `-Wall -Werror' in src/liboping/Makefile.am
octo [Sun, 19 Mar 2006 10:29:13 +0000 (10:29 +0000)]
Set $(AM_CFLAGS) to `-Wall -Werror' in src/liboping/Makefile.am

18 years agoImplemented the following options in `liboping':
octo [Sun, 19 Mar 2006 10:28:34 +0000 (10:28 +0000)]
Implemented the following options in `liboping':
- PING_OPT_TTL
  Setting the TTL of opened sockets

- TIMEOUT
  Setting the (global) timeout

- ADDRFAMILY
  Address family of opened sockets.

18 years agoRenamed vserver-<xid>/threads.rrd to vserver-<xid>/vs_threads.rrd.
tokkee [Fri, 17 Mar 2006 19:20:14 +0000 (19:20 +0000)]
Renamed vserver-<xid>/threads.rrd to vserver-<xid>/vs_threads.rrd.

18 years agoconfig-step/src/collectd.h:
octo [Wed, 15 Mar 2006 22:50:16 +0000 (22:50 +0000)]
config-step/src/collectd.h:
  - Added define for COLLECTD_ROWS
  - Added define for COLLECTD_XFF
config-step/src/common.c:
  - Added `rra_get' which dynamically computes strings for RRAs.
    This function is called, but not yet actually used..

18 years agoAdded check for `math.h'
octo [Wed, 15 Mar 2006 22:46:17 +0000 (22:46 +0000)]
Added check for `math.h'

18 years agoUpdated manpage: Added information about additional RRAs. (soon to be obsolete)
octo [Wed, 15 Mar 2006 22:46:00 +0000 (22:46 +0000)]
Updated manpage: Added information about additional RRAs. (soon to be obsolete)

18 years agoAdded a new RRA with one PDP per CDP. The RRA exists in the flavors `AVERAGE', `MIN...
octo [Wed, 15 Mar 2006 12:09:05 +0000 (12:09 +0000)]
Added a new RRA with one PDP per CDP. The RRA exists in the flavors `AVERAGE', `MIN' and `MAX' though that shouldn't make much difference..

18 years agoReplaced the static 10 with `COLLECTD_STEP' in src/{collectd,common}.c
octo [Wed, 15 Mar 2006 11:43:33 +0000 (11:43 +0000)]
Replaced the static 10 with `COLLECTD_STEP' in src/{collectd,common}.c

18 years agoChanged `COLLECTD_STEP' to be a string..
octo [Wed, 15 Mar 2006 11:42:53 +0000 (11:42 +0000)]
Changed `COLLECTD_STEP' to be a string..