collectd.git
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 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..

18 years agoReplaced all hardcoded heartbeat values (== 25 seconds) with `COLLECTD_HEARTBEAT'.
octo [Wed, 15 Mar 2006 11:17:50 +0000 (11:17 +0000)]
Replaced all hardcoded heartbeat values (== 25 seconds) with `COLLECTD_HEARTBEAT'.

18 years agoAdded `COLLECTD_STEP' and `COLLECTD_HEARTBEAT' to `configure.in' and `src/collectd.h'
octo [Wed, 15 Mar 2006 11:10:04 +0000 (11:10 +0000)]
Added `COLLECTD_STEP' and `COLLECTD_HEARTBEAT' to `configure.in' and `src/collectd.h'

18 years agoCopied `trunk' to `branches/config-step'.
octo [Wed, 15 Mar 2006 10:26:27 +0000 (10:26 +0000)]
Copied `trunk' to `branches/config-step'.

18 years agoAdded vserver support to collection.cgi.
tokkee [Tue, 14 Mar 2006 18:51:28 +0000 (18:51 +0000)]
Added vserver support to collection.cgi.

18 years agoBumped version to 3.8.2
octo [Tue, 14 Mar 2006 08:47:34 +0000 (08:47 +0000)]
Bumped version to 3.8.2

18 years agoFixed wrong define in the `GNU libc' which caused `utils_mount.c' to read `/etc/fstab...
octo [Tue, 14 Mar 2006 08:41:05 +0000 (08:41 +0000)]
Fixed wrong define in the `GNU libc' which caused `utils_mount.c' to read `/etc/fstab' rather than `/etc/mtab'..

18 years agoBumped version to 3.8.1
octo [Mon, 13 Mar 2006 20:10:08 +0000 (20:10 +0000)]
Bumped version to 3.8.1

18 years agoAdded revision 3.8.0-2 to debian/changelog
octo [Mon, 13 Mar 2006 19:47:51 +0000 (19:47 +0000)]
Added revision 3.8.0-2 to debian/changelog

18 years agoAdded `librrds-perl' to the suggestions by the main package..
octo [Mon, 13 Mar 2006 14:25:59 +0000 (14:25 +0000)]
Added `librrds-perl' to the suggestions by the main package..

18 years agoRemoved vserver.h from Makefile as well.
tokkee [Mon, 13 Mar 2006 14:04:21 +0000 (14:04 +0000)]
Removed vserver.h from Makefile as well.

18 years agoFixed typos in the manpage
octo [Mon, 13 Mar 2006 13:56:43 +0000 (13:56 +0000)]
Fixed typos in the manpage

18 years agoRemoved `vserver.h'. Moved defines into `vserver.c'
octo [Mon, 13 Mar 2006 11:44:02 +0000 (11:44 +0000)]
Removed `vserver.h'. Moved defines into `vserver.c'

18 years agoAdded vserver to collectd.conf ;-)
tokkee [Mon, 13 Mar 2006 11:02:55 +0000 (11:02 +0000)]
Added vserver to collectd.conf ;-)

18 years agoRedesigned the VServer DS's to be more consistent with the rest of collectd.
tokkee [Mon, 13 Mar 2006 11:00:53 +0000 (11:00 +0000)]
Redesigned the VServer DS's to be more consistent with the rest of collectd.

18 years agoFirst draft of a vserver plugin.
tokkee [Sun, 12 Mar 2006 23:53:59 +0000 (23:53 +0000)]
First draft of a vserver plugin.

18 years agoCheck for sys/types.h when including netinet/ip6.h
octo [Sun, 12 Mar 2006 21:44:08 +0000 (21:44 +0000)]
Check for sys/types.h when including netinet/ip6.h

18 years agoAdded Makefile.am for `liboping'.
octo [Sun, 12 Mar 2006 18:42:55 +0000 (18:42 +0000)]
Added Makefile.am for `liboping'.

18 years agoImproved the init-Script: Prettier output and hopefully more portable code (no `...
octo [Sat, 11 Mar 2006 15:05:18 +0000 (15:05 +0000)]
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...
octo [Fri, 10 Mar 2006 18:37:26 +0000 (18:37 +0000)]
Added more headers to the netinet/*.h checks (stdint.h to be specific) because Solaris needs this..

18 years agoAdded check `AC_HEADER_STDC'.
octo [Fri, 10 Mar 2006 18:06:52 +0000 (18:06 +0000)]
Added check `AC_HEADER_STDC'.

18 years agoInclude `config.h' and only include existing files..
octo [Fri, 10 Mar 2006 17:59:42 +0000 (17:59 +0000)]
Include `config.h' and only include existing files..

18 years agoImproved configure.in:
octo [Fri, 10 Mar 2006 17:24:20 +0000 (17:24 +0000)]
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

18 years agoAssure that `sstrdup' works with NULL-pointers
octo [Fri, 10 Mar 2006 11:16:21 +0000 (11:16 +0000)]
Assure that `sstrdup' works with NULL-pointers

18 years agoMany changes so it compiles unter Linux, Solaris and Mac OS X
octo [Fri, 10 Mar 2006 11:15:56 +0000 (11:15 +0000)]
Many changes so it compiles unter Linux, Solaris and Mac OS X

18 years agoAssure that `IPV6_ADD_MEMBERSHIP' is defined.
octo [Fri, 10 Mar 2006 11:15:18 +0000 (11:15 +0000)]
Assure that `IPV6_ADD_MEMBERSHIP' is defined.

18 years agoFix to build as read-only module (there were unused variables left..)
octo [Thu, 9 Mar 2006 21:40:17 +0000 (21:40 +0000)]
Fix to build as read-only module (there were unused variables left..)

18 years agoReplace GLIBC proprietary `struct icmphdr' with `struct icmp' which seems to be more...
octo [Thu, 9 Mar 2006 21:32:45 +0000 (21:32 +0000)]
Replace GLIBC proprietary `struct icmphdr' with `struct icmp' which seems to be more generic..

18 years agoBumped version to 3.8.0
octo [Thu, 9 Mar 2006 19:32:40 +0000 (19:32 +0000)]
Bumped version to 3.8.0

18 years agoAdded simple support to configure and run multiple instances of collectd to
tokkee [Mon, 6 Mar 2006 20:37:14 +0000 (20:37 +0000)]
Added simple support to configure and run multiple instances of collectd to
the init script.

18 years agoIn der collectd.conf(5) Manpage wundert mich aber der Satz, dass collectd im
octo [Mon, 6 Mar 2006 15:56:33 +0000 (15:56 +0000)]
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*

18 years agoDeleted liboping/Makefile because it gets generated.
octo [Sun, 5 Mar 2006 21:21:52 +0000 (21:21 +0000)]
Deleted liboping/Makefile because it gets generated.
Added debug line to the ping plugin

18 years agoVersion was bumped to 3.7.2
octo [Sun, 5 Mar 2006 19:53:26 +0000 (19:53 +0000)]
Version was bumped to 3.7.2

18 years agoAdded `collectd2html.pl' by Vincent Stehlé
octo [Sun, 5 Mar 2006 19:49:18 +0000 (19:49 +0000)]
Added `collectd2html.pl' by Vincent Stehlé

18 years agoCleaned up contrib/: Removed old scripts, museum, etc..
octo [Sat, 25 Feb 2006 16:45:21 +0000 (16:45 +0000)]
Cleaned up contrib/: Removed old scripts, museum, etc..

18 years ago[12:51] [IRCnet] *firefox01* traffic.c: In function `traffic_init':
octo [Tue, 21 Feb 2006 13:08:26 +0000 (13:08 +0000)]
[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

18 years agoMissed one `strcmp'
octo [Sun, 19 Feb 2006 09:37:28 +0000 (09:37 +0000)]
Missed one `strcmp'

18 years agoFixed the comparsion using `strcmp'
octo [Sun, 19 Feb 2006 09:33:58 +0000 (09:33 +0000)]
Fixed the comparsion using `strcmp'

18 years agoUpdated ChangeLog
octo [Sat, 18 Feb 2006 11:55:29 +0000 (11:55 +0000)]
Updated ChangeLog

18 years agoFixing the `build without rrdtool' bug reported by Werner Heuser
octo [Sat, 18 Feb 2006 11:53:28 +0000 (11:53 +0000)]
Fixing the `build without rrdtool' bug reported by Werner Heuser

18 years agoBumped version to 3.7.2
octo [Sat, 18 Feb 2006 11:38:45 +0000 (11:38 +0000)]
Bumped version to 3.7.2

18 years agoFixed ACPI part of battery plugin.
tokkee [Sat, 18 Feb 2006 10:22:39 +0000 (10:22 +0000)]
Fixed ACPI part of battery plugin.

18 years agoImproved `liboping' a little: Moved the calls to `gettimeofday' closer to `sendto...
octo [Sun, 5 Feb 2006 21:46:20 +0000 (21:46 +0000)]
Improved `liboping' a little: Moved the calls to `gettimeofday' closer to `sendto' and `recvfrom'..

18 years agoIntegrated `liboping' into collectd. This obsoletes the old `libping'
octo [Sun, 5 Feb 2006 11:49:25 +0000 (11:49 +0000)]
Integrated `liboping' into collectd. This obsoletes the old `libping'

18 years agoImplemented first version of `ping_setopt'
octo [Sat, 4 Feb 2006 17:07:30 +0000 (17:07 +0000)]
Implemented first version of `ping_setopt'
Many minor fixes and additions..

18 years agoFixed VERY dumb typo in `liboping'
octo [Sat, 4 Feb 2006 15:15:05 +0000 (15:15 +0000)]
Fixed VERY dumb typo in `liboping'

18 years agoUpdated `ChangeLog' for 3.7.1
octo [Sat, 4 Feb 2006 09:52:29 +0000 (09:52 +0000)]
Updated `ChangeLog' for 3.7.1