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
"plugin.c", line 132: warning: assignment type mismatch:
pointer to function(void) returning void "=" pointer to void
Fix this (a pointer was compared with an integer):
"common.c", line 525: warning: improper pointer/integer combination: op ">"
"common.c", line 525: warning: improper pointer/integer combination: op ">"
Corrected inclusion of `sys/swap.h'.
Define `HAVE_LIBKSTAT' again if it's present..
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...
Only link against libraries that are needed. E.g., don't link evey plugin to `libkstat' but only those who actually use it.
Cast pointer arithmetics to make weird gcc versions happy.
Fix this:
hddtemp.c: In function `hddtemp_init':
hddtemp.c:349: warning: unsigned int format, different type arg (arg 3)
hddtemp.c: In function `hddtemp_init':
hddtemp.c:349: warning: unsigned int format, different type arg (arg 3)
Check for `nanosleep'. If not found, look for `librt'. Abort if `nanosleep' is missing.
This is needed on Solaris, apparently..
This is needed on Solaris, apparently..
Fix for this:
collectd.c: In function `pidfile_create':
collectd.c:259: warning: int format, pid_t arg (arg 3)
collectd.c: In function `pidfile_create':
collectd.c:259: warning: int format, pid_t arg (arg 3)
Disabled all `kstat' code in the nfs plugin. This failed builds on Solaris..
Corrected the define's in the apache plugin so it'll build without libcurl.
Simple fix for the swap plugin. This needs to go into 3.9.1
Only include `dict_get_double' when using IOKit or CoreFoundation. This caused a build on Linux to fail before..
Set object options to the default values, when creating the object. This may have failed the `ping' plugins initialization..
Merged addition to ChangeLog back from tags/collectd-3.9.0
Moved error-message reporting closer to the system-calls in `ping_host_add'.
Small fix to give the correct socktype arg to `socket'.
Small fix to give the correct socktype arg to `socket'.
The `ping' plugin now reports which error occured. The string is not neccessarily useful, we just use what `liboping' gives us..
Added reporting of errors:
- ping_set_error
- ping_get_error
- ping_set_error
- ping_get_error
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..
Added notes of ports of the `disk' and `battery' plugins to Darwin to the ChangeLog.
Fix for subdirectories in host directories..
Added `temperature' and `fanspeed' to `collection.cgi'. This is needed for the
`apple_sensors' plugin.
`apple_sensors' plugin.
Battery charge, current and voltage work now with my PB.
Removed useless crap that I forgot to delete..
First version of a (hopefully) working battery plugin for darwin.
Fixed bugs in the Darwin code of the `disk' plugin. It mostly works now.
Link the `disk' plugin against `IOKitLib' when available..
18 years agoAdded code to find major/minor numbers of disks. Partition statistics are not availab...
Added code to find major/minor numbers of disks. Partition statistics are not available though :/
Ported the `disk' plugin to Darwin. It's not complete yet, search for `FIXME's.
The defines in the `disk' plugin have been brought to the `state of the art'.. ;)
Implemented step-back for the cpu-plugin, mach part when trying to read temperature..
Update of the specfile. It works with FC1
Updated the Debian changelog
Added missing modules to the manpage.
Added some more `IOHWSensor' types..
Changed all occurences of `verplant.org/collectd/' to `http://collectd.org/'
Changed version to `3.9.0'
Updated the information in the README
Completed listing of plugins in the README file
Fixing compile-errors/-warnings when building without librrd.
Fixing compile-warnings with braces in battery.c
Updated all copyright-entries in header files.
Added `ChangeLog' entry for Christophe's changes.
Merged `branches/log-mode' to `trunk'
Added Christophe Kalt to the `AUTHORS' file.
Substituting colons with commas, to get comma seperated value (CSV) files.
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..
Removed `#if HAVE_LIBRRD' around `plugin_write': The logmode works even without librrd.
Documented the `plugin_write' function.
Documented the `plugin_write' function.
Applied patch by Christophe Kalt which adds the log-mode.
Copied `tags/collectd-3.8.4' to `branches/log-mode'.
Updated the `TODO' file.
Updated the `ChangeLog': Added the work that was done for Darwin.
Read the CPU temperature if possible. This does not work with my 12" PowerBook, but it may work with older iBooks. I'll try..
Corrected some defines and the handling of `io_master_port'.
Link the battery plugin to `IOKit' if present.
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...
Removed an annoying debug message. I don't need to know the file descriptor a gazillion times..
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.
Added output wether or not `apache' plugin is built.
Renamed `iokit' to `apple_sensors' in the summary.
Removed the voltage readings from the `apple_sensors' plugin. They should be read in the `battery' plugin. Look for IOBatteryInfo
Renamed `iokit' to `apple_sensors'
Added useful error- and debug-messages.
18 years agoImproved the iokit plugin: Scalre the values by 65536, convert the instance to lowerc...
Improved the iokit plugin: Scalre the values by 65536, convert the instance to lowercase and so on.
A first version of the iokit-plugin. In need of a better name.
Fixed wrong define. Good think this is fixed in `trunk'
Copied changes on `ChangeLog' from tags/collectd-3.8.4 to trunk
Bumped version to 3.8.4
Updated ChangeLog
Updated ChangeLog
Merged revisions 581 and 583 from trunk to tags/collectd-3.8.4
Improved the patch sent by Vincent Strehle' a bit: Mostly indentation and removed reading of `/proc/partitions' for non-Linux systems.
Corrected `getfsstat' part of `utils_mount.c': The buffer size needs to be passed in bytes, not elements.
Applied patch by Vincent Stehlé to correct behavior with major/minor numbers..
Changed the check for `mach/host_error.h' to `mach/mach_error.h' which is far more correct ;)
Added `ps_submit' to the Mach-read-function. What a stupid mistake..
`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
Unify the define-handling in processes.c
Added checks for various more mach/* header files.
18 years agoSecond implementation of the `processes' plugin for Mac OS X - this time with process...
Second implementation of the `processes' plugin for Mac OS X - this time with processor sets, tasks lists, threads and everything. Mach rules :)
Fixed the configure script to include net/if.h and/or linux/if.h in the right order and other such annoying stuff..
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.
The configure-script needed quite some changes for this.
Forgot to insert name in the ChangeLog. This revision corrects this (in trunk)
Fixed/changes the memory graph in collection.cgi to work even if `page cache'
and/or `buffer cache' is undefined.
and/or `buffer cache' is undefined.
collection.cgi now displays hourly-graphs.
Changed configure.in to check for `mach/mach_host.h' and `mach/vm_statistics.h'
Fixed typo (vm_data vs. vm_stat), included mach/mach_host.h.
Added note where to free allocated memory.
Removed unneccesary and possibly confusing pointer.
Removed unneccesary and possibly confusing pointer.
Implemented reading of memory usage under Mach/Darwin
Removed syslog-entry if `cu_mount_getlist' fails, because it spams a lot ;)
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...
Adds Mach/Darwin support for the cpu plugin. Also adds correcponding checks to configure.in
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...
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..
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.
Changed the src/Makefile.am accordingly.
Updated the configure.in to check for `stdio.h'. This is needed to load libconfig correctly.
Merged ChangeLog from tags/collectd-3.8.3 back to trunk
svn merge -r555:556 trunk tags/collectd-3.8.3
Created tags/collectd-3.8.3
Bumped the version accordingly.
Added ChangeLog-entry
Bumped the version accordingly.
Added ChangeLog-entry
Applied patch for the processes plugin. It should kind of work under Mac OS X and possibly *BSDs now..
Applied patch by James Byers <jbyers@jbyers.com> to the MySQL plugin. It works now with MySQL >= 5.0.2, too.
Applied the TTL-patch for the ping plugin.
Bumped version to 3.9.0 (which is due soon)
Added note about the specfile to the `TODO' file
Added the `collectd-apache' package to the debian package files..
Added `apache' plugin to contrib/collectd.conf
Added the apache plugin to the manpages.
Corrected/completed information about the RRAs in collectd(1)
Corrected/completed information about the RRAs in collectd(1)