Code

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

18 years agoPatch for libping (icmp identifier) by Tommie Gannert
octo [Sat, 4 Feb 2006 09:40:33 +0000 (09:40 +0000)]
Patch for libping (icmp identifier) by Tommie Gannert

18 years agoAdded the first version of an own ping library..
octo [Sat, 4 Feb 2006 00:45:20 +0000 (00:45 +0000)]
Added the first version of an own ping library..

18 years agoMake `AI_ADDRCONFIG' and `AI_PASSIVE' conditional (use them only if they exist..)
octo [Thu, 2 Feb 2006 07:17:32 +0000 (07:17 +0000)]
Make `AI_ADDRCONFIG' and `AI_PASSIVE' conditional (use them only if they exist..)

18 years agoAdded `wireless' plugin
octo [Wed, 1 Feb 2006 15:32:13 +0000 (15:32 +0000)]
Added `wireless' plugin

18 years agoAdded battery stuff to `collection.cgi'
octo [Tue, 31 Jan 2006 12:15:31 +0000 (12:15 +0000)]
Added battery stuff to `collection.cgi'

18 years agoChanged `configure.in' and `src/Makefile.am' so the plugins are NOT linked against... collectd-3.7.0
octo [Mon, 30 Jan 2006 21:59:13 +0000 (21:59 +0000)]
Changed `configure.in' and `src/Makefile.am' so the plugins are NOT linked against `librrd', `libresolv' and/or `libsoket'

18 years agoFixed the TTL option. Changed it's name to `TimeToLive' and made it apply to unicast...
octo [Mon, 30 Jan 2006 21:23:11 +0000 (21:23 +0000)]
Fixed the TTL option. Changed it's name to `TimeToLive' and made it apply to unicast packets as well.

18 years agoCleaned up `configfile.c'
octo [Mon, 30 Jan 2006 20:42:35 +0000 (20:42 +0000)]
Cleaned up `configfile.c'

18 years agoBumped version to 3.7.0, updated Specfile and Debian changelog
octo [Mon, 30 Jan 2006 20:26:56 +0000 (20:26 +0000)]
Bumped version to 3.7.0, updated Specfile and Debian changelog
Updated `collectd.conf(5)': Added `MulticastTTL' option
Added note about new network code to `ChangeLog'

18 years agoAdded the `MulticastTTL' option so users can set a TTL different to `1'.
octo [Mon, 30 Jan 2006 17:15:39 +0000 (17:15 +0000)]
Added the `MulticastTTL' option so users can set a TTL different to `1'.

18 years agoInitialize `addrlen' before using. This might be the reason for `getnameinfo' failing..
octo [Mon, 30 Jan 2006 08:38:11 +0000 (08:38 +0000)]
Initialize `addrlen' before using. This might be the reason for `getnameinfo' failing..

18 years agoRemoved `gethostbyname' and replaced with protocol independend `getaddrinfo'
octo [Mon, 30 Jan 2006 08:37:36 +0000 (08:37 +0000)]
Removed `gethostbyname' and replaced with protocol independend `getaddrinfo'

18 years ago`df.c' now includes `sys/statv?fs.h'..
octo [Sun, 29 Jan 2006 22:14:59 +0000 (22:14 +0000)]
`df.c' now includes `sys/statv?fs.h'..

18 years agoFixed problems in src/Makefile.am - did not build without libsensors
octo [Sun, 29 Jan 2006 22:06:43 +0000 (22:06 +0000)]
Fixed problems in src/Makefile.am - did not build without libsensors

18 years agoChanged `df.c' to prefer `statvfs' over `statfs', since apparently the latter is...
octo [Sun, 29 Jan 2006 22:04:58 +0000 (22:04 +0000)]
Changed `df.c' to prefer `statvfs' over `statfs', since apparently the latter is deprecated..

18 years agoUpdated `configure.in'
octo [Sun, 29 Jan 2006 21:59:07 +0000 (21:59 +0000)]
Updated `configure.in'

18 years agoDeleted `multicast.c' and `multicast.h'
octo [Sun, 29 Jan 2006 20:44:42 +0000 (20:44 +0000)]
Deleted `multicast.c' and `multicast.h'

18 years agoUpdated the manpages. Changed the bits about operating modes and network stuff..
octo [Sun, 29 Jan 2006 20:43:56 +0000 (20:43 +0000)]
Updated the manpages. Changed the bits about operating modes and network stuff..

18 years agoFixed problems with the new `network.c' code:
octo [Sun, 29 Jan 2006 16:40:25 +0000 (16:40 +0000)]
Fixed problems with the new `network.c' code:
- The client only uses one `addrinfo' address, so messages are not send twice.. The default IPv6 multicast address is prefered over the default IPv4 multicast address.
- `network_receive' is now interruptible by signals. It returns without error (and without data).
- Removed the (old) `Server' and `Port' options from `configfile.c' in favor of the (new) `cf_callback_socket'.

18 years agoFirst version of `network.c' running..
octo [Sun, 29 Jan 2006 14:53:57 +0000 (14:53 +0000)]
First version of `network.c' running..

18 years agoAdded `network.c' and `network.h' to the sourced for the `collectd' binary
octo [Sun, 29 Jan 2006 12:33:00 +0000 (12:33 +0000)]
Added `network.c' and `network.h' to the sourced for the `collectd' binary
Fixed bugs in `network.c'. It compiles now.

18 years agoCompleted the new network code. Let the bugfixing begin ;)
octo [Sun, 29 Jan 2006 12:24:43 +0000 (12:24 +0000)]
Completed the new network code. Let the bugfixing begin ;)

18 years agoAdded `network.c' which will replace `multicast.c' at some point..
octo [Sun, 29 Jan 2006 02:03:28 +0000 (02:03 +0000)]
Added `network.c' which will replace `multicast.c' at some point..

18 years agoAdded `--sysconfdir=/etc' to `debian/rules'..
octo [Sat, 28 Jan 2006 10:52:33 +0000 (10:52 +0000)]
Added `--sysconfdir=/etc' to `debian/rules'..

18 years agoThe ACPI code in the `battery' plugin now ignores `dirent's that begin with a dot...
octo [Sat, 28 Jan 2006 10:46:11 +0000 (10:46 +0000)]
The ACPI code in the `battery' plugin now ignores `dirent's that begin with a dot `.'.

18 years agoDocumented changed to the `hddtemp' plugin
octo [Sat, 28 Jan 2006 10:44:35 +0000 (10:44 +0000)]
Documented changed to the `hddtemp' plugin

18 years agoAdded config options `host' and `port' to the `hddtemp' plugin.
octo [Sat, 28 Jan 2006 10:21:31 +0000 (10:21 +0000)]
Added config options `host' and `port' to the `hddtemp' plugin.

18 years agoChanged `cpuinfo' -> `scaling' in the manpage and another place in the plugin I had...
octo [Sat, 28 Jan 2006 08:33:32 +0000 (08:33 +0000)]
Changed `cpuinfo' -> `scaling' in the manpage and another place in the plugin I had missed..

18 years agoAdded RRD layout (RRAs) of `mysql_qcache.rrd' and `mysql_threads.rrd' to the manpage
octo [Sat, 28 Jan 2006 08:31:16 +0000 (08:31 +0000)]
Added RRD layout (RRAs) of `mysql_qcache.rrd' and `mysql_threads.rrd' to the manpage

18 years agoUpdated manpage (added information about the RRD files generated by the `battery...
octo [Sat, 28 Jan 2006 08:27:48 +0000 (08:27 +0000)]
Updated manpage (added information about the RRD files generated by the `battery' plugin)

18 years agoAdded information about the changes in `cpufreq'
octo [Sat, 28 Jan 2006 08:27:17 +0000 (08:27 +0000)]
Added information about the changes in `cpufreq'

18 years agoAdded information about the MySQL plugin changes
octo [Sat, 28 Jan 2006 08:12:13 +0000 (08:12 +0000)]
Added information about the MySQL plugin changes

18 years agoPut all the arrays in `ping.c' into one struct.
octo [Sat, 28 Jan 2006 08:11:39 +0000 (08:11 +0000)]
Put all the arrays in `ping.c' into one struct.

18 years agoAdded Header and Vertical legend to the graphs..
octo [Fri, 27 Jan 2006 21:16:54 +0000 (21:16 +0000)]
Added Header and Vertical legend to the graphs..

18 years agoAdded MySQL QCache and Threads graphs to `collection.cgi'
octo [Fri, 27 Jan 2006 21:12:51 +0000 (21:12 +0000)]
Added MySQL QCache and Threads graphs to `collection.cgi'

18 years agoRemoved `hddtemp' debian module
octo [Fri, 27 Jan 2006 21:12:28 +0000 (21:12 +0000)]
Removed `hddtemp' debian module

18 years agoAdded `lowmem_prunes' to MySQL QCache statistics
octo [Fri, 27 Jan 2006 21:12:14 +0000 (21:12 +0000)]
Added `lowmem_prunes' to MySQL QCache statistics

18 years agoAdded `qcache'-support to the MySQL plugin
octo [Fri, 27 Jan 2006 19:35:59 +0000 (19:35 +0000)]
Added `qcache'-support to the MySQL plugin

18 years agoChanged `cpuinfo_cur_freq' to `scaling_cur_freq'
octo [Fri, 27 Jan 2006 19:05:09 +0000 (19:05 +0000)]
Changed `cpuinfo_cur_freq' to `scaling_cur_freq'

18 years agoAdded `threads' to the MySQL plugin
octo [Fri, 27 Jan 2006 18:33:53 +0000 (18:33 +0000)]
Added `threads' to the MySQL plugin

18 years agoUpdated ChangeLog: Added part about `3.6.2'
octo [Tue, 24 Jan 2006 09:50:07 +0000 (09:50 +0000)]
Updated ChangeLog: Added part about `3.6.2'

18 years ago`DataDir' and `LogFile' were not valid in `Client' mode. This fixes it..
octo [Tue, 24 Jan 2006 09:35:43 +0000 (09:35 +0000)]
`DataDir' and `LogFile' were not valid in `Client' mode. This fixes it..

18 years agoAdded first version of ACPI support to the battery plugin
octo [Mon, 23 Jan 2006 15:53:30 +0000 (15:53 +0000)]
Added first version of ACPI support to the battery plugin

18 years agoFixes some bugs with the new battery module
octo [Mon, 23 Jan 2006 10:39:27 +0000 (10:39 +0000)]
Fixes some bugs with the new battery module

18 years agoAdded the `battery' plugin
octo [Mon, 23 Jan 2006 09:54:54 +0000 (09:54 +0000)]
Added the `battery' plugin

18 years agoUpdated to version 3.6.1, due to a bug in `configure.in'
octo [Fri, 20 Jan 2006 17:30:19 +0000 (17:30 +0000)]
Updated to version 3.6.1, due to a bug in `configure.in'

18 years agoAdded `debian/collectd.conffiles' to `trunk'
octo [Fri, 20 Jan 2006 10:13:07 +0000 (10:13 +0000)]
Added `debian/collectd.conffiles' to `trunk'

18 years agoChanged the ping-module so it doesn't give up on socket-errors.
octo [Fri, 20 Jan 2006 09:46:10 +0000 (09:46 +0000)]
Changed the ping-module so it doesn't give up on socket-errors.

18 years agoUpdated `collectd.spec', though not tested it..
octo [Fri, 20 Jan 2006 09:16:19 +0000 (09:16 +0000)]
Updated `collectd.spec', though not tested it..
Updated `contrib/init.d-rh7'
Applied bugfix to `debian/rules'

18 years agoRemoved `/etc/default/collectd' from the debian package
octo [Thu, 19 Jan 2006 22:36:26 +0000 (22:36 +0000)]
Removed `/etc/default/collectd' from the debian package
Updated `/etc/init.d/collectd' from the debian package
Updates `TODO'

18 years agoAdded sample collectd.conf
octo [Tue, 17 Jan 2006 12:13:53 +0000 (12:13 +0000)]
Added sample collectd.conf
Updates README

18 years agoChanged version to 3.6.0
octo [Tue, 17 Jan 2006 11:59:32 +0000 (11:59 +0000)]
Changed version to 3.6.0
Removed most plugin-packages.
Added mysql-package

18 years agoImproves `collectd.conf.pod' and `collectd.pod'
octo [Tue, 17 Jan 2006 10:08:33 +0000 (10:08 +0000)]
Improves `collectd.conf.pod' and `collectd.pod'