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)
18 years agoImplemented the dynamic heartbeat for the apache plugin (it was added after the branc...
Implemented the dynamic heartbeat for the apache plugin (it was added after the branch was created..)
svn merge -r523:547 branches/config-step trunk
Re-implemented `curtime' again. The last revision removed it accidentally..
Implemented better loop-timing using `nanosleep(2)'.
Implemented function to subtract two `struct timeval' and get the difference in a `struct timespec'
Removed newlines from syslog-messages in cf_dispatch
Added debug message (of return value) to cf_dispatch
Added debug message (of return value) to cf_dispatch
Improved the graphs generated for the apache-RRDs.
Added a multi-RRD-handler for apache_scoreboard
Added a multi-RRD-handler for apache_scoreboard
Added graphs for apache_bytes and apache_requests to collection.cgi
Corrected reading the libraries to link to from `curl-config'..
(Changed: src/Makefile.am, configure.in)
(Changed: src/Makefile.am, configure.in)
Fixed dumb typos in src/apache.c: Passed reference to argument to config_set instead &url. Also, mistyped `url' often as `uri'.
Changed src/wireless.c back to writing `dbm' values, rather than `watt'..
Added apache.c/libcurl to configure.in and src/Makefile.am
Fixes syntax and compile errors in src/apache.c
Added first version of an `apache' plugin.
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.
Set $(AM_CFLAGS) to `-Wall -Werror' in src/liboping/Makefile.am
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.
- PING_OPT_TTL
Setting the TTL of opened sockets
- TIMEOUT
Setting the (global) timeout
- ADDRFAMILY
Address family of opened sockets.
Renamed vserver-<xid>/threads.rrd to vserver-<xid>/vs_threads.rrd.
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..
- 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..
Added check for `math.h'
Updated manpage: Added information about additional RRAs. (soon to be obsolete)
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..
Replaced the static 10 with `COLLECTD_STEP' in src/{collectd,common}.c
Changed `COLLECTD_STEP' to be a string..
Replaced all hardcoded heartbeat values (== 25 seconds) with `COLLECTD_HEARTBEAT'.
Added `COLLECTD_STEP' and `COLLECTD_HEARTBEAT' to `configure.in' and `src/collectd.h'
Copied `trunk' to `branches/config-step'.
Added vserver support to collection.cgi.
18 years agoCopied `trunk/src/liboping/Makefile.am' to `tags/collectd-3.8.{1,2}/src/liboping/' collectd-3.8.2
Copied `trunk/src/liboping/Makefile.am' to `tags/collectd-3.8.{1,2}/src/liboping/'
Merged 516:518 from `trunk' to `tags/collectd-3.8.2'
Bumped version to 3.8.2
18 years agoFixed wrong define in the `GNU libc' which caused `utils_mount.c' to read `/etc/fstab...
Fixed wrong define in the `GNU libc' which caused `utils_mount.c' to read `/etc/fstab' rather than `/etc/mtab'..
Merged 494:495 from `trunk' to `tags/collectd-3.8.1'
Merged revisions 495:504, 508:509 and 510:513 from `trunk' to `tags/collectd-3.8.1'
Bumped version to 3.8.1
Added revision 3.8.0-2 to debian/changelog
Added `librrds-perl' to the suggestions by the main package..
Removed vserver.h from Makefile as well.