Code

collectd.git
18 years agoAdded `package' and `errors' counter for libkstat to the `traffic' plugin.
octo [Wed, 26 Apr 2006 09:37:47 +0000 (09:37 +0000)]
Added `package' and `errors' counter for libkstat to the `traffic' plugin.

18 years agoChanged the fixed heartbeat of `25' with the string `HEARTBEAT' in trunk/src/collectd.pod
octo [Wed, 26 Apr 2006 08:48:35 +0000 (08:48 +0000)]
Changed the fixed heartbeat of `25' with the string `HEARTBEAT' in trunk/src/collectd.pod

18 years agoRenamed the new RRD files: Move the files in a subdirectory when a new major version...
octo [Wed, 26 Apr 2006 08:44:00 +0000 (08:44 +0000)]
Renamed the new RRD files: Move the files in a subdirectory when a new major version is about to be released. For now, don't do it to be more consistent..

18 years agoAdded the RRD files `if_packets' and `if_errors' to `collectd(1)'.
octo [Wed, 26 Apr 2006 08:42:56 +0000 (08:42 +0000)]
Added the RRD files `if_packets' and `if_errors' to `collectd(1)'.

18 years agoAdded the RRD files of the `wireless' plugin to `collectd(1)'
octo [Wed, 26 Apr 2006 08:38:54 +0000 (08:38 +0000)]
Added the RRD files of the `wireless' plugin to `collectd(1)'

18 years agoAdded RRD file of the `cpufreq' plugin to `collectd(1)'
octo [Wed, 26 Apr 2006 08:35:56 +0000 (08:35 +0000)]
Added RRD file of the `cpufreq' plugin to `collectd(1)'

18 years agoAdded the RRD files of the `apple_sensors' plugin to `collectd(1)'
octo [Wed, 26 Apr 2006 08:34:05 +0000 (08:34 +0000)]
Added the RRD files of the `apple_sensors' plugin to `collectd(1)'

18 years agoAdded RRD files of the `apache' plugin to `collectd(1)'
octo [Wed, 26 Apr 2006 08:31:38 +0000 (08:31 +0000)]
Added RRD files of the `apache' plugin to `collectd(1)'

18 years agoChanged the `traffic' plugin to generate `packets' and `errors' statistics, too.
octo [Wed, 26 Apr 2006 08:09:55 +0000 (08:09 +0000)]
Changed the `traffic' plugin to generate `packets' and `errors' statistics, too.

18 years agoAdded information about the new `cacert' option in the `apache' plugin to `collectd...
octo [Tue, 25 Apr 2006 12:46:47 +0000 (12:46 +0000)]
Added information about the new `cacert' option in the `apache' plugin to `collectd.conf(5)'.

18 years agoAdded the config option `cacert' to the `apache' plugin. This allows to specify a...
octo [Tue, 25 Apr 2006 12:35:22 +0000 (12:35 +0000)]
Added the config option `cacert' to the `apache' plugin. This allows to specify a file holding the CA Certificate. This is needed for connecting to SSL hosts that use self-signed certificates.

18 years agoAdded `contrib/README'
octo [Sat, 22 Apr 2006 10:11:01 +0000 (10:11 +0000)]
Added `contrib/README'

18 years agoAdded `contrib/add_rra.sh' which allows to add an very detailed RRA to old RRD files.
octo [Sat, 22 Apr 2006 09:38:55 +0000 (09:38 +0000)]
Added `contrib/add_rra.sh' which allows to add an very detailed RRA to old RRD files.

18 years agoLink liboping with `libsocket' if it's needed for `socket' to work.
octo [Fri, 21 Apr 2006 15:27:54 +0000 (15:27 +0000)]
Link liboping with `libsocket' if it's needed for `socket' to work.

18 years agoFix this (need to cast void-pointer to function-pointer to make Sun-cc happy):
octo [Fri, 21 Apr 2006 14:50:35 +0000 (14:50 +0000)]
Fix this (need to cast void-pointer to function-pointer to make Sun-cc happy):
  "plugin.c", line 132: warning: assignment type mismatch:
    pointer to function(void) returning void "=" pointer to void

18 years agoFix this (a pointer was compared with an integer):
octo [Fri, 21 Apr 2006 14:41:15 +0000 (14:41 +0000)]
Fix this (a pointer was compared with an integer):
  "common.c", line 525: warning: improper pointer/integer combination: op ">"

18 years agoCorrected inclusion of `sys/swap.h'.
octo [Fri, 21 Apr 2006 14:40:18 +0000 (14:40 +0000)]
Corrected inclusion of `sys/swap.h'.
Define `HAVE_LIBKSTAT' again if it's present..

18 years agoOnly link against libraries that are needed. E.g., don't link evey plugin to `libksta...
octo [Fri, 21 Apr 2006 14:28:23 +0000 (14:28 +0000)]
Only link against libraries that are needed. E.g., don't link evey plugin to `libkstat' but only those who actually use it.

18 years agoCast pointer arithmetics to make weird gcc versions happy.
octo [Fri, 21 Apr 2006 07:37:45 +0000 (07:37 +0000)]
Cast pointer arithmetics to make weird gcc versions happy.

18 years agoFix this:
octo [Fri, 21 Apr 2006 07:35:19 +0000 (07:35 +0000)]
Fix this:
  hddtemp.c: In function `hddtemp_init':
  hddtemp.c:349: warning: unsigned int format, different type arg (arg 3)

18 years agoCheck for `nanosleep'. If not found, look for `librt'. Abort if `nanosleep' is missing.
octo [Fri, 21 Apr 2006 07:33:37 +0000 (07:33 +0000)]
Check for `nanosleep'. If not found, look for `librt'. Abort if `nanosleep' is missing.
This is needed on Solaris, apparently..

18 years agoFix for this:
octo [Fri, 21 Apr 2006 07:20:53 +0000 (07:20 +0000)]
Fix for this:
  collectd.c: In function `pidfile_create':
  collectd.c:259: warning: int format, pid_t arg (arg 3)

18 years agoDisabled all `kstat' code in the nfs plugin. This failed builds on Solaris..
octo [Fri, 21 Apr 2006 07:19:06 +0000 (07:19 +0000)]
Disabled all `kstat' code in the nfs plugin. This failed builds on Solaris..

18 years agoCorrected the define's in the apache plugin so it'll build without libcurl.
octo [Fri, 21 Apr 2006 07:12:47 +0000 (07:12 +0000)]
Corrected the define's in the apache plugin so it'll build without libcurl.

18 years agoSimple fix for the swap plugin. This needs to go into 3.9.1
octo [Fri, 21 Apr 2006 06:47:17 +0000 (06:47 +0000)]
Simple fix for the swap plugin. This needs to go into 3.9.1

18 years agoOnly include `dict_get_double' when using IOKit or CoreFoundation. This caused a...
octo [Fri, 21 Apr 2006 06:46:49 +0000 (06:46 +0000)]
Only include `dict_get_double' when using IOKit or CoreFoundation. This caused a build on Linux to fail before..

18 years agoSet object options to the default values, when creating the object. This may have...
octo [Wed, 19 Apr 2006 12:40:06 +0000 (12:40 +0000)]
Set object options to the default values, when creating the object. This may have failed the `ping' plugins initialization..

18 years agoMerged addition to ChangeLog back from tags/collectd-3.9.0
octo [Tue, 18 Apr 2006 07:12:36 +0000 (07:12 +0000)]
Merged addition to ChangeLog back from tags/collectd-3.9.0

18 years agoMoved error-message reporting closer to the system-calls in `ping_host_add'.
octo [Mon, 17 Apr 2006 09:19:22 +0000 (09:19 +0000)]
Moved error-message reporting closer to the system-calls in `ping_host_add'.
Small fix to give the correct socktype arg to `socket'.

18 years agoThe `ping' plugin now reports which error occured. The string is not neccessarily...
octo [Mon, 17 Apr 2006 08:51:44 +0000 (08:51 +0000)]
The `ping' plugin now reports which error occured. The string is not neccessarily useful, we just use what `liboping' gives us..

18 years agoAdded reporting of errors:
octo [Mon, 17 Apr 2006 08:51:03 +0000 (08:51 +0000)]
Added reporting of errors:
- ping_set_error
- ping_get_error

18 years agoMoved the actual struct-definition from the header file to the .c-file. This way...
octo [Mon, 17 Apr 2006 08:18:53 +0000 (08:18 +0000)]
Moved the actual struct-definition from the header file to the .c-file. This way the definition is not visible to the user and he cannot access the fields..

18 years agoAdded notes of ports of the `disk' and `battery' plugins to Darwin to the ChangeLog.
octo [Sun, 16 Apr 2006 16:23:35 +0000 (16:23 +0000)]
Added notes of ports of the `disk' and `battery' plugins to Darwin to the ChangeLog.

18 years agoFix for subdirectories in host directories..
octo [Sun, 16 Apr 2006 16:18:07 +0000 (16:18 +0000)]
Fix for subdirectories in host directories..

18 years agoAdded `temperature' and `fanspeed' to `collection.cgi'. This is needed for the
octo [Sun, 16 Apr 2006 13:59:41 +0000 (13:59 +0000)]
Added `temperature' and `fanspeed' to `collection.cgi'. This is needed for the
`apple_sensors' plugin.

18 years agoBattery charge, current and voltage work now with my PB.
octo [Sun, 16 Apr 2006 13:57:14 +0000 (13:57 +0000)]
Battery charge, current and voltage work now with my PB.

18 years agoRemoved useless crap that I forgot to delete..
octo [Sun, 16 Apr 2006 11:42:54 +0000 (11:42 +0000)]
Removed useless crap that I forgot to delete..

18 years agoFirst version of a (hopefully) working battery plugin for darwin.
octo [Sun, 16 Apr 2006 11:38:16 +0000 (11:38 +0000)]
First version of a (hopefully) working battery plugin for darwin.

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