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
Bumped version to 3.7.2
Fixed ACPI part of battery plugin.
Improved `liboping' a little: Moved the calls to `gettimeofday' closer to `sendto' and `recvfrom'..
Integrated `liboping' into collectd. This obsoletes the old `libping'
Implemented first version of `ping_setopt'
Many minor fixes and additions..
Many minor fixes and additions..
Fixed VERY dumb typo in `liboping'
Updated `ChangeLog' for 3.7.1
Patch for libping (icmp identifier) by Tommie Gannert
Added the first version of an own ping library..
Make `AI_ADDRCONFIG' and `AI_PASSIVE' conditional (use them only if they exist..)
Added `wireless' plugin
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
Changed `configure.in' and `src/Makefile.am' so the plugins are NOT linked against `librrd', `libresolv' and/or `libsoket'
Fixed the TTL option. Changed it's name to `TimeToLive' and made it apply to unicast packets as well.
Cleaned up `configfile.c'
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'
Updated `collectd.conf(5)': Added `MulticastTTL' option
Added note about new network code to `ChangeLog'
Added the `MulticastTTL' option so users can set a TTL different to `1'.
Initialize `addrlen' before using. This might be the reason for `getnameinfo' failing..
Removed `gethostbyname' and replaced with protocol independend `getaddrinfo'
`df.c' now includes `sys/statv?fs.h'..
Fixed problems in src/Makefile.am - did not build without libsensors
Changed `df.c' to prefer `statvfs' over `statfs', since apparently the latter is deprecated..
Updated `configure.in'
Deleted `multicast.c' and `multicast.h'
Updated the manpages. Changed the bits about operating modes and network stuff..
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'.
- 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'.
First version of `network.c' running..
Added `network.c' and `network.h' to the sourced for the `collectd' binary
Fixed bugs in `network.c'. It compiles now.
Fixed bugs in `network.c'. It compiles now.
Completed the new network code. Let the bugfixing begin ;)
Added `network.c' which will replace `multicast.c' at some point..
Added `--sysconfdir=/etc' to `debian/rules'..
The ACPI code in the `battery' plugin now ignores `dirent's that begin with a dot `.'.
Documented changed to the `hddtemp' plugin
Added config options `host' and `port' to the `hddtemp' plugin.
Changed `cpuinfo' -> `scaling' in the manpage and another place in the plugin I had missed..
Added RRD layout (RRAs) of `mysql_qcache.rrd' and `mysql_threads.rrd' to the manpage
Updated manpage (added information about the RRD files generated by the `battery' plugin)
Added information about the changes in `cpufreq'
Added information about the MySQL plugin changes
Put all the arrays in `ping.c' into one struct.
Added Header and Vertical legend to the graphs..
Added MySQL QCache and Threads graphs to `collection.cgi'
Removed `hddtemp' debian module
Added `lowmem_prunes' to MySQL QCache statistics
Added `qcache'-support to the MySQL plugin
Changed `cpuinfo_cur_freq' to `scaling_cur_freq'
Added `threads' to the MySQL plugin
Updated ChangeLog: Added part about `3.6.2'
`DataDir' and `LogFile' were not valid in `Client' mode. This fixes it..
Added first version of ACPI support to the battery plugin
Fixes some bugs with the new battery module
Added the `battery' plugin
Updated to version 3.6.1, due to a bug in `configure.in'
Added `debian/collectd.conffiles' to `trunk'
Changed the ping-module so it doesn't give up on socket-errors.
Updated `collectd.spec', though not tested it..
Updated `contrib/init.d-rh7'
Applied bugfix to `debian/rules'
Updated `contrib/init.d-rh7'
Applied bugfix to `debian/rules'
Removed `/etc/default/collectd' from the debian package
Updated `/etc/init.d/collectd' from the debian package
Updates `TODO'
Updated `/etc/init.d/collectd' from the debian package
Updates `TODO'
Added sample collectd.conf
Updates README
Updates README
Changed version to 3.6.0
Removed most plugin-packages.
Added mysql-package
Removed most plugin-packages.
Added mysql-package
Improves `collectd.conf.pod' and `collectd.pod'
Improved `collectd.conf(5)'
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')
Wrote a part of collectd.conf(5) (file `collectd.conf.pod')
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'
Added config option `LogFile'
Removed the config options `Client', `Server' and `Local'
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..
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..
Minor changes since I was a little bored ;)
- Corrected ChangeLog
- Added comments and TODOs to `configfile.c'
- ``corrected'' indentation in `common.c'
- 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...
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..
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..
Added mysql_{commands,handler} to `collection.cgi'
Added `Handler_*' support to the `mysql' plugin
The `mysql' plugin now ignores all counter that are set to zero..
The `mysql' plugin now ignores all counter that are set to zero..
Changed the `cpu' graph to display percentages
Since a second is not always 100 jiffies remove the upper bound of `100' for cpu-*.rrd files.
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.
Moved an error message in `common.c'..
Moved the call to `check_create_dir' so it's run less frequently.
Changed mysql plugin to create one RRD file for each command
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'.
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...
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.
typo
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.
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.
Added to src/configfile.c:
`cf_callback_options_mode': Callback for <Mode> options
`cf_get_mode_option': Function to query above options
`cf_callback_options_mode': Callback for <Mode> options
`cf_get_mode_option': Function to query above options
removed )