Code

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

18 years agoMerged revisions 460 and 462 from `trunk' to `tags-collectd-3.7.1':
octo [Sat, 4 Feb 2006 09:46:56 +0000 (09:46 +0000)]
Merged revisions 460 and 462 from `trunk' to `tags-collectd-3.7.1':
- Fix in `network.c' to compile with glibc prior to version 2.3.3
- Fix in `libping/ping.c' by Tommie Gennert: Set sequence number of outgoing packets..

18 years agoBumped version to 3.7.1
octo [Sat, 4 Feb 2006 09:43:58 +0000 (09:43 +0000)]
Bumped version to 3.7.1

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'

18 years agoImproved `collectd.conf(5)'
octo [Tue, 17 Jan 2006 09:52:41 +0000 (09:52 +0000)]
Improved `collectd.conf(5)'

18 years agoChanged `DataDir' to be a valid option for mode `Server' too, since it's the working...
octo [Mon, 16 Jan 2006 21:23:24 +0000 (21:23 +0000)]
Changed `DataDir' to be a valid option for mode `Server' too, since it's the working directory..
Wrote a part of collectd.conf(5) (file `collectd.conf.pod')

18 years agoRenamed `cf_get_mode_option' to `cf_get_option'. Added the `default' argument..
octo [Mon, 16 Jan 2006 20:49:10 +0000 (20:49 +0000)]
Renamed `cf_get_mode_option' to `cf_get_option'. Added the `default' argument..
Added config option `LogFile'
Removed the config options `Client', `Server' and `Local'

18 years agoFixed a but in the mysql module, so it builds as write-only module, too.
octo [Sun, 15 Jan 2006 12:20:33 +0000 (12:20 +0000)]
Fixed a but in the mysql module, so it builds as write-only module, too.
Shorted the command line options to `help' and `dont fork' only.
Brought `getopt' back: `libconfig' doesn't do what I want: Command line options are evaluated after config files. So I don't know what mode the daemon will be in when parsing the file. That's why I moved everything into the config file.
Removed `cf_callback_usage' again.
Changed `cf_read' to not need `argc' and `argv' anymore..

18 years agoMinor changes since I was a little bored ;)
octo [Tue, 10 Jan 2006 21:58:22 +0000 (21:58 +0000)]
Minor changes since I was a little bored ;)
- Corrected ChangeLog
- Added comments and TODOs to `configfile.c'
- ``corrected'' indentation in `common.c'

18 years agoMoved `exit_usage' from `collectd.c' to `configfile.c' and renamed it to `cf_callback...
octo [Sun, 8 Jan 2006 08:22:46 +0000 (08:22 +0000)]
Moved `exit_usage' from `collectd.c' to `configfile.c' and renamed it to `cf_callback_usage'.
Removed the `getopt' code. Argument parsing is now done by `libconfig' as well.
Fixed a typo in `collectd.c' which prevented collectd from catching a SIGINT..

18 years agoAdded mysql_{commands,handler} to `collection.cgi'
octo [Sat, 24 Dec 2005 14:42:17 +0000 (14:42 +0000)]
Added mysql_{commands,handler} to `collection.cgi'

18 years agoAdded `Handler_*' support to the `mysql' plugin
octo [Fri, 23 Dec 2005 15:22:06 +0000 (15:22 +0000)]
Added `Handler_*' support to the `mysql' plugin
The `mysql' plugin now ignores all counter that are set to zero..

18 years agoChanged the `cpu' graph to display percentages
octo [Fri, 23 Dec 2005 06:37:36 +0000 (06:37 +0000)]
Changed the `cpu' graph to display percentages

18 years agoSince a second is not always 100 jiffies remove the upper bound of `100' for cpu...
octo [Thu, 22 Dec 2005 21:46:15 +0000 (21:46 +0000)]
Since a second is not always 100 jiffies remove the upper bound of `100' for cpu-*.rrd files.

18 years agoFixed documentation in `configfile.h': s/Module/Plugin/
octo [Thu, 22 Dec 2005 17:09:20 +0000 (17:09 +0000)]
Fixed documentation in `configfile.h': s/Module/Plugin/
Moved an error message in `common.c'..
Moved the call to `check_create_dir' so it's run less frequently.

18 years agoChanged mysql plugin to create one RRD file for each command
octo [Thu, 22 Dec 2005 11:58:25 +0000 (11:58 +0000)]
Changed mysql plugin to create one RRD file for each command

18 years agoAdded the functions `strjoin' and `escape_slashes' to `common.c'.
octo [Wed, 21 Dec 2005 09:57:13 +0000 (09:57 +0000)]
Added the functions `strjoin' and `escape_slashes' to `common.c'.
Changed `check_create_dir' so it can recursively create directories.
Documented `strsplit', `strjoin' and `escape_slashes' in `common.h'.

18 years agoFixed a problem with the `disk' plugin: Added a counter to check how often the values...
octo [Tue, 20 Dec 2005 09:34:09 +0000 (09:34 +0000)]
Fixed a problem with the `disk' plugin: Added a counter to check how often the values were queried, so that no huge peeks appear in the RRD files.

18 years agotypo
niki [Tue, 20 Dec 2005 08:44:31 +0000 (08:44 +0000)]
typo

18 years agoChanged `plugin_set_dir' to take a `const' argument.
octo [Tue, 20 Dec 2005 08:03:34 +0000 (08:03 +0000)]
Changed `plugin_set_dir' to take a `const' argument.
Reorganized the `configfile.c' file. Changed callback names, their order and added comments.
Added `cf_callback_mode_plugindir' to allow the config file to change the plugin directory.

18 years agoAdded to src/configfile.c:
octo [Mon, 19 Dec 2005 22:09:12 +0000 (22:09 +0000)]
Added to src/configfile.c:
  `cf_callback_options_mode': Callback for <Mode> options
  `cf_get_mode_option':       Function to query above options

18 years agoremoved )
niki [Mon, 19 Dec 2005 21:33:31 +0000 (21:33 +0000)]
removed )

18 years agoUpdated ChangeLog for 3.5.1
octo [Sun, 18 Dec 2005 22:10:42 +0000 (22:10 +0000)]
Updated ChangeLog for 3.5.1
Updated specfile and debian changelog

18 years agoUpdated changelog
octo [Sun, 18 Dec 2005 12:17:20 +0000 (12:17 +0000)]
Updated changelog

18 years agoMoved the signal handler initialization so it gets run in the child, not the parent..
octo [Sun, 18 Dec 2005 12:16:05 +0000 (12:16 +0000)]
Moved the signal handler initialization so it gets run in the child, not the parent..

18 years agoFinished up `df' plugin
octo [Sun, 18 Dec 2005 12:13:13 +0000 (12:13 +0000)]
Finished up `df' plugin

18 years agoAdded first version of a `df' module
octo [Sun, 18 Dec 2005 11:59:35 +0000 (11:59 +0000)]
Added first version of a `df' module

18 years agoAdded contribution for Tommie Gannert's PID-file patch to `AUTHORS'
octo [Sun, 18 Dec 2005 10:36:31 +0000 (10:36 +0000)]
Added contribution for Tommie Gannert's PID-file patch to `AUTHORS'

18 years agoAdded `mysql' status line to configure.in
octo [Sun, 18 Dec 2005 01:48:11 +0000 (01:48 +0000)]
Added `mysql' status line to configure.in
Corrected dependencies in src/libconfig/Makefile.am
Removed dependency to `mysql.h' (since it doesn't exist)

18 years agoChanged default `host' for `mysql' to `localhost'
octo [Sat, 17 Dec 2005 19:08:31 +0000 (19:08 +0000)]
Changed default `host' for `mysql' to `localhost'
Added SIGTERM handler
Updated `ChangeLog'

18 years agoAdded check for `libmysqlclient' to `configure.in'
octo [Sat, 17 Dec 2005 18:42:09 +0000 (18:42 +0000)]
Added check for `libmysqlclient' to `configure.in'
Added `AC_COLLECTD' for `mysql' plugin
Added `mysql' plugin
Added a warning (notice, actually) message to inform users of `write-only' plugins

18 years agoMoved the *_HAVE_READ defines: *_submit may only be included when *_read is included...
octo [Sat, 17 Dec 2005 12:11:54 +0000 (12:11 +0000)]
Moved the *_HAVE_READ defines: *_submit may only be included when *_read is included too. Otherwise the compiler will complain.

18 years agoCleaned up all the modules, unified define order and the like..
octo [Sat, 17 Dec 2005 11:45:44 +0000 (11:45 +0000)]
Cleaned up all the modules, unified define order and the like..

18 years agoChanged plugins `serial' through `users' to be able to build in read-only mode
octo [Sat, 17 Dec 2005 11:26:00 +0000 (11:26 +0000)]
Changed plugins `serial' through `users' to be able to build in read-only mode

18 years agoChanged modules `cpu' through `sensors' to compile in `read-only' mode if dependencie...
octo [Sat, 17 Dec 2005 10:56:39 +0000 (10:56 +0000)]
Changed modules `cpu' through `sensors' to compile in `read-only' mode if dependencies are not fullfiled..

18 years agoChanged the cpu plugin to not use its headerfile anymore.
octo [Sat, 17 Dec 2005 09:39:18 +0000 (09:39 +0000)]
Changed the cpu plugin to not use its headerfile anymore.
Fixed a small bug in configfile.c: `==' -> `='

18 years agoMerged branch configfile to trunk
octo [Sat, 17 Dec 2005 09:23:52 +0000 (09:23 +0000)]
Merged branch configfile to trunk

18 years agoTook a closer `look' at last nights changes..
octo [Sat, 17 Dec 2005 08:49:23 +0000 (08:49 +0000)]
Took a closer `look' at last nights changes..

18 years agomain() prototype causes trouble when configure is using int main(void)...
niki [Sat, 17 Dec 2005 04:58:38 +0000 (04:58 +0000)]
main() prototype causes trouble when configure is using int main(void)...

18 years agospace -> tab
niki [Sat, 17 Dec 2005 03:44:52 +0000 (03:44 +0000)]
space -> tab

18 years ago#ifdef -> #if
niki [Sat, 17 Dec 2005 03:37:50 +0000 (03:37 +0000)]
#ifdef -> #if

18 years agocleanup, pidfile_remove bugfix, options (configdir?)
niki [Sat, 17 Dec 2005 03:27:30 +0000 (03:27 +0000)]
cleanup, pidfile_remove bugfix, options (configdir?)

18 years agocleanup configure headers
niki [Sat, 17 Dec 2005 03:09:11 +0000 (03:09 +0000)]
cleanup configure headers

18 years agooptions, static, #if's and debugging
niki [Sat, 17 Dec 2005 02:41:20 +0000 (02:41 +0000)]
options, static, #if's and debugging

18 years agoadded conditions and implemented AC_COLLECTD() macro.
niki [Sat, 17 Dec 2005 02:38:31 +0000 (02:38 +0000)]
added conditions and implemented AC_COLLECTD() macro.
only disk module, debug and daemon feature are using it for now.

18 years agofixed static filename bug, cleanup of --disable-debug mode
niki [Sat, 17 Dec 2005 02:35:20 +0000 (02:35 +0000)]
fixed static filename bug, cleanup of --disable-debug mode

18 years agocleanup on users module
niki [Fri, 16 Dec 2005 17:37:31 +0000 (17:37 +0000)]
cleanup on users module

18 years agocleanup on sensors
niki [Fri, 16 Dec 2005 17:14:09 +0000 (17:14 +0000)]
cleanup on sensors

18 years agoclenaup on libstatgrab
niki [Fri, 16 Dec 2005 17:07:42 +0000 (17:07 +0000)]
clenaup on libstatgrab

18 years agocleanup on libstatgrab
niki [Fri, 16 Dec 2005 17:05:57 +0000 (17:05 +0000)]
cleanup on libstatgrab

18 years agocleanup
niki [Fri, 16 Dec 2005 17:03:48 +0000 (17:03 +0000)]
cleanup

18 years agochanged unportable
niki [Fri, 16 Dec 2005 16:56:14 +0000 (16:56 +0000)]
changed unportable
test X -a  Y
to
test X && test Y

18 years agomake configure a bit more informative
niki [Fri, 16 Dec 2005 16:53:44 +0000 (16:53 +0000)]
make configure a bit more informative