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.
Copied changes on `ChangeLog' from tags/collectd-3.8.4 to trunk
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
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.
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'..
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.
Fixed typos in the manpage
Removed `vserver.h'. Moved defines into `vserver.c'
Added vserver to collectd.conf ;-)
Redesigned the VServer DS's to be more consistent with the rest of collectd.
First draft of a vserver plugin.
Check for sys/types.h when including netinet/ip6.h
Added Makefile.am for `liboping'.
Improved the init-Script: Prettier output and hopefully more portable code (no `&&' in tests, e.g.)
18 years agoAdded more headers to the netinet/*.h checks (stdint.h to be specific) because Solari...
Added more headers to the netinet/*.h checks (stdint.h to be specific) because Solaris needs this..
Added check `AC_HEADER_STDC'.
Include `config.h' and only include existing files..
Improved configure.in:
- Checks for
- netinet/in_systm.h
- netinet/in.h
- netinet/ip.h
- netinet/ip_icmp.h
- netinet/ip_var.h
- netinet/ip6.h
- netinet/icmp6.h
- Check for `getfsstat' (BSD and Mac OS X)
- Defines for various `getmntent' variants:
- HAVE_SUN_GETMNTENT
- HAVE_SEQ_GETMNTENT
- HAVE_GEN_GETMNTENT
- Checks for
- netinet/in_systm.h
- netinet/in.h
- netinet/ip.h
- netinet/ip_icmp.h
- netinet/ip_var.h
- netinet/ip6.h
- netinet/icmp6.h
- Check for `getfsstat' (BSD and Mac OS X)
- Defines for various `getmntent' variants:
- HAVE_SUN_GETMNTENT
- HAVE_SEQ_GETMNTENT
- HAVE_GEN_GETMNTENT
Assure that `sstrdup' works with NULL-pointers
Many changes so it compiles unter Linux, Solaris and Mac OS X
Assure that `IPV6_ADD_MEMBERSHIP' is defined.
Fix to build as read-only module (there were unused variables left..)
Replace GLIBC proprietary `struct icmphdr' with `struct icmp' which seems to be more generic..
Bumped version to 3.8.0
Added simple support to configure and run multiple instances of collectd to
the init script.
the init script.
In der collectd.conf(5) Manpage wundert mich aber der Satz, dass collectd im
Server-Mode nichts in das DataDir schreibt. Sollte das nicht eher beim Client
Mode so sein?
*fixed*
Server-Mode nichts in das DataDir schreibt. Sollte das nicht eher beim Client
Mode so sein?
*fixed*
Deleted liboping/Makefile because it gets generated.
Added debug line to the ping plugin
Added debug line to the ping plugin
Version was bumped to 3.7.2
Added `collectd2html.pl' by Vincent Stehlé
Cleaned up contrib/: Removed old scripts, museum, etc..
[12:51] [IRCnet] *firefox01* traffic.c: In function `traffic_init':
[12:51] [IRCnet] *firefox01* traffic.c:58: warning: unused variable `kn'
[12:51] [IRCnet] *firefox01* gmake[3]: *** [traffic.lo] Error 1
[12:51] [IRCnet] *firefox01* traffic.c:58: warning: unused variable `kn'
[12:51] [IRCnet] *firefox01* gmake[3]: *** [traffic.lo] Error 1
Missed one `strcmp'
Fixed the comparsion using `strcmp'
Updated ChangeLog
Fixing the `build without rrdtool' bug reported by Werner Heuser