ChangeLog: Added changes for 4.0.3.
[collectd.git] / ChangeLog
1 2007-06-18, Version 4.0.3
2         * cpu plugin: Fix the Darwin / Mac OS X code.
3         * ping plugin: Use the return value of `getpid', not its address.
4
5 2007-06-12, Version 4.0.2
6         * hddtemp and ntpd plugin: Corrected the parsing of port numbers when
7           they're given in numerically form.
8
9 2007-06-07, Version 4.0.1
10         * iptables plugin: A bug in the configuration routine has been fixed.
11           Setting a comment in the configfile will no longer cause a
12           segmentation fault.
13
14 2007-06-03, Version 4.0.0
15         * collectd: The plugin-infrastructure has been changed to allow for
16           more types of plugins, namely `write' and `log' plugins.
17         * collectd: The read-function has been changed to read many plugins in
18           parallel, using threads. Thus, plugins generally need to use
19           thread-safe functions from now on.
20         * collectd: The '-t' command line options allows to perform syntax tests
21           of the configuration file and exit immediately.
22         * csv plugin: The new `csv' plugin handles output to `comma separated
23           values'-files.
24         * rrdtool plugin: The new `rrdtool' plugin handles output to
25           RRD-files. Data can be cached to combine multiple updates into one
26           write to increase IO-performance.
27         * network plugin: The new `network' plugin handles IO via the network.
28           It implements a different, much more extensible protocol which can
29           combine many values in one packet, decreasing the number of UDP-
30           packets being sent. It can read from and send to the network and
31           with the appropriate configuration even forward packets to other
32           networks.
33         * unixsock plugin: The new `unixsock' plugin provides an interface to
34           communicate with the daemon while it is running. Right now the
35           commands `GETVAL' and `PUTVAL' are implemented, but more are to
36           come.
37         * perl plugin: The new `perl' plugin allows you to write extensions
38           for collectd in the scripting-language Perl.
39         * logfile plugin: The new `logfile' plugin writes logmessages to files
40           or STDOUT or STDERR.
41         * syslog plugin: The new `syslog' plugin sends logmessages to the
42           system's syslog daemon.
43         * entropy plugin: The new `entropy' plugin collects the amount of
44           entropy currently being available to the system.
45         * exec plugin: The new `exec' plugin forks child processes and reads
46           back values provided by the forked processes.
47         * iptables plugin: The new `iptables' plugin reads counters from
48           iptables rules. Thanks to Sjoerd van der Berg for contributing this
49           plugin.
50         * irq plugin: The new `irq' plugin collects the IRQ-counters. Thanks
51           to Peter Holik for contributing this plugin.
52         * nut plugin: The new `nut' plugin connects the upsd of the `network
53           ups tools' and reads information about the connected UPS.
54         * apache plugin: Support for lighttpd's `BusyServers' (aka.
55           connections) field was added by Florent Monbillard.
56         * collectd-nagios: The new `collectd-nagios' binary queries values
57           from collectd, parses them and exits according to Nagios-standards.
58         * manpages: The manpages have been improved a lot.
59
60 2007-05-29, Version 3.11.5
61         * configure: Added `AC_SYS_LARGEFILE' for LFS.
62         * ntpd plugin: Fix a potential buffer overflow.
63         * processes plugin: Fix a bug when run under Linux 2.4. All processes
64           were accounted as `zombies'.
65
66 2007-04-10, Version 3.11.4
67         * dns plugin: Change the order of includes to make the plugin compile
68           under FreeBSD.
69
70 2007-03-30, Version 3.11.3
71         * configure: Have the configure-script define `HAVE_LIBKSTAT' instead
72           of the unused `COLLECT_KSTAT'.
73
74 2007-02-11, Version 3.11.2
75         * plugin: Catch NULL-pointer and try to fix them. Otherwise the
76           NULL-pointer may have been passed to `printf' which causes a
77           segfault with some libcs.
78
79 2007-02-10, Version 3.11.1
80         * df plugin: Some wrong defines have been fixed so the plugin works
81           under Solaris again.
82         * dns plugin: The usage of a struct has been fixed to work with
83           non-GNU libcs.
84         * processes plugin: Some missing defines have been added so the plugin
85           compiles cleanly under FreeBSD and presumably other UNIXes.
86
87 2006-12-22, Version 3.11.0
88         * collectd: The new command line option `-P' makes it easier for
89           distributors to change the location of PID-files.
90         * collectd: The daemon shuts down faster now which makes it easier to
91           write init.d-scripts for it.
92         * apache plugin: Increase the buffersize to 16k, because the 4k buffer
93           caused problems every now and then.
94         * df plugin: New config options allow to ignore certain mountpoints,
95           filesystem types or devices.
96         * dns plugin: The new dns plugin uses `libpcap' to capture DNS traffic
97           and interprets it. It collects traffic as well as qtype, opcode and
98           rcode counts.
99         * email plugin: Sebastian Harl has contributed this plugin which
100           counts received mails in categories (e. g. ham, spam, virus), spam
101           score (as given by SpamAssassin) and check types.
102         * mbmon plugin: Flavio Stanchina has contributed this plugin which
103           uses `mbmon' to gather information from sensors on the motherboard.
104         * processes plugin: Collect detailed statistics for configured
105           processes, that's process and thread count, CPU usage, resident
106           segment size and pagefaults.
107         * multimeter plugin: Peter Holik contributed a new plugin which
108           queries multimeters.
109         * sensors plugin: Lubos Stanek has put much effort into improving this
110           plugin, including `extended naming', collection of voltage values
111           and the possibility to ignore certain values.
112
113 2006-12-21, Version 3.10.4
114         * Max Kellermann has identified a bug in the server routine: When
115           opening a socket fails the daemon will (re)try opening the socket in
116           an endless loop, ultimately leading to a `EMFILE' error.
117
118 2006-11-04, Version 3.10.3
119         * Lubos Stanek has identified a bug in the ntpd-plugin: When the
120           ntpd's reply was sent in more than one packet, the buffer size was
121           calculated incorrectly, resulting in the reading of uninitialized or
122           freed memory.
123
124 2006-11-01, Version 3.10.2
125         * The sample config file has been improved.
126         * Errors in the manpages have been corrected.
127         * The ping-plugin now adds hosts during initialization, not during
128           startup. This speeds up starup when no network connectivity is
129           available. Also, the hosts are being added later when the network is
130           available.
131         * Improved BSD-support for the df-plugin.
132         * Fixed syntax errors in the swap-plugin for Mac OS X.
133         * Fix a wrong structure being passed to `getnameinfo' in the ntpd-
134           plugin.
135         * Don't disable the mysql-plugin if connecting to the database fails
136           during initialization. Instead, try again in increasing intervals.
137
138 2006-07-19, Version 3.10.1
139         * A bug in the apcups plugin was fixed: Is the plugin is loaded, but
140           the apcups cannot be reached, unconnected sockets will pile up and
141           eventually lead to `Too many open files' errors.
142
143 2006-07-09, Version 3.10.0
144         * The `disk' plugin has been ported to Darwin.
145         * The `battery' plugin should work on many Apple computers now.
146         * The `traffic' plugin can now ignore certain interfaces. Also,
147           statistics for sent/received packets and errors have been added.
148         * A plugin to monitor APC UPSes using `apcupsd' has been added. Thanks
149           to Anthony Gialluca for contributing this plugin and providing me
150           with a test environment :)
151         * A plugin for moniroting an NTP instance and the local clock drift
152           has been added.
153
154 2006-06-25, Version 3.9.4
155         * The Solaris code in the `swap' plugin has been changed to reflect
156           the numbers returned by `swap -s'. Thanks to Christophe Kalt for
157           working this out.
158         * The debugging system has been fixed to work with the Sun libc.
159         * When built without librrd the variable `operating_mode' could be
160           uninitialized. Thanks to David Elliot for reporting the bug.
161
162 2006-06-01, Version 3.9.3
163         * Fixed the ping-plugin under FreeBSD and Mac OS X. Potentially other
164           operating systems also profit from the changes, but I wasn't able to
165           check that.
166         * Changed the build system to find the netinet-includes under FreeBSD
167           and therefore successfully build the `liboping' library there.
168
169 2006-05-09, Version 3.9.2
170         * Applied a patch to the `liboping' library. Due to a bug in the
171           sequence checking the `ping' plugin stopped working after
172           approximately 7.6 days.
173
174 2006-05-09, Version 3.8.5
175         * Applied a patch to the `liboping' library. Due to a bug in the
176           sequence checking the `ping' plugin stopped working after
177           approximately 7.6 days.
178
179 2006-04-21, Version 3.9.1
180         * Build issues with Solaris and possible other architectures have been
181           resolved.
182         * Problems when building the `apache'-plugin without `libcurl' have
183           been resolved.
184         * A bug in the `ping' plugin has been fixed. Sorry folks.
185
186 2006-04-02, Version 3.9.0
187         * A plugin to monitor the Apache webserver has been added.
188           <http://httpd.apache.org/>
189         * A plugin to collect statistics about virtual servers using VServer.
190           <http://linux-vserver.org/> Thanks to Sebastian Harl for writing
191           this plugin :)
192         * A plugin for wireless LAN cards has been added. It monitors signal
193           strength, link quality and noise ratio..
194         * A plugin for Apple hardware sensors has been added.
195         * An option to compile collectd with different `step' and `hearbeat'
196           settings has been added. The size of RRAs is no longer static but
197           calculated based on the settings for `step' and `width'.
198         * The `ping' plugin can now be configured to use a certain TTL.
199         * A plugin to monitor the hardware sensors of Apple computers has been
200           added.
201         * The plugins `cpu', `memory', `processes' and `traffic' have been
202           ported to Mach/Darwin (Mac OS X).
203         * The `log mode' has been contributed by Christophe Kalt. It writes
204           the data into text files rather than RRD files.
205
206 2006-04-09, Version 3.8.4
207         * Applied patch by Vincent StehlĂ© which improves the disk-name
208           resolution in the `hddtemp' plugin for Linux systems.
209
210 2006-04-02, Version 3.8.3
211         * Applied a patch by James Byers: The MySQL plugin was not working
212           with MySQL 5.0.2 or later.
213
214 2006-03-14, Version 3.8.2
215         * `utils_mount.c' has been changed to not use the `MNTTAB' defined by
216           the GNU libc, because it points to `/etc/fstab' rather than
217           `/etc/mtab'.
218
219 2006-03-13, Version 3.8.1
220         * Fixes for building collectd unter FreeBSD, Mac OS X and Solaris.
221         * Fixes in the debian `postinst' and `init.d' scripts.
222
223 2006-03-09, Version 3.8.0
224         * The `ping' plugin no longer uses `libping' but a self written
225           library named `liboping'. With this library it's possible to ping
226           multiple IPv4 and IPv6 addresses and hostnames - in parallel.
227
228 2006-02-18, Version 3.7.2
229         * A simple bug in the `battery' plugin has been fixed. It should now
230           work with ACPI based batteries as well. Thankt to Sebastian for
231           fixing this.
232         * Fixing a bug that prevented collectd to be built without librrd.
233           Thanks to Werner Heuser for reporting it.
234
235 2006-02-04, Version 3.7.1
236         * The new network code has been improved to build with older versions
237           of glibc.
238         * Fix in `libping' sets the ICMP sequence on outgoing packets. Thanks
239           to Tommie Gannert for this patch.
240
241 2006-01-30, Version 3.7.0
242         * The `battery' plugin has been added. It collects information about
243           laptop batteries..
244         * The MySQL plugin has been improved: It now writes two more RRD
245           files, `mysql_qcache.rrd' and `mysql_threads.rrd'.
246         * The `cpufreq' plugin now reads another file since the file it did
247           read so far causes much overhead in the kernel. Also, you need root
248           to read the old file, but not to read the new one.
249         * The `hddtemp' plugin can now be configured to connect to another
250           address and/or port than localhost.
251         * The `df' plugin now prefers `statvfs' over `statfs'.
252         * The network code has been rewritten. collectd now supports unicast
253           and multicast, and IPv4 and IPv6. Also, the TTL of sent packages can
254           be set in the configfile.
255
256 2006-01-24, Version 3.6.2
257         * Due to a bug in the configfile handling collectd wouldn't start in
258           client mode. This released fixes this.
259
260 2006-01-20, Version 3.6.1
261         * Due to a bug in `configure.in' all modules and the binary were
262           linked against `libmysqlclient'. This issue is solved by this
263           release.
264
265 2006-01-17, Version 3.6.0
266         * A config file has been added. This allows for loading only specific
267           plugins.
268         * A `df' plugin has been added.
269         * A `mysql' plugin has been added.
270         * The `ping' plugin doesn't entirely give up hope when a socket error
271           occured, but will back of and increase the intervals between tries.
272
273 2006-01-21, Version 3.5.2
274         * Fixed yet another bug in the signal handling.. Stupid typo..
275         * Improved the ping plugin to not give up on socket errors (backport
276           from 3.6.0).
277
278 2005-12-18, Version 3.5.1
279         * The PID-file is now deleted correctly when shutting down the daemon.
280         * SIGINT and SIGTERM are now handled correctly.
281
282 2005-12-16, Version 3.5.0 (Revision 326)
283         * A bug in the `load' module under Solaris has been fixed.
284         * The `users' module has been contributed by Sebastian Harl. It counts
285           currently logged in users.
286         * The CPU module now works under FreeBSD without the use of
287           `libstatgrab', however SMP support is missing.
288         * The default directories for the RRD files and the PID file now
289           depend on the compile time setting of `localstatedir'.
290
291 2005-11-15, Version 3.4.0 (Revision 236)
292         * A PID-file is written to /var/run upon startup. Thanks to `Tommie'
293           from gentoo's bugzilla for writing the patch.
294         * The build dependency for librrd has been removed. Binaries built
295           without librrd are client-only and will multicast their value as
296           with the `-c' argument.
297         * A patch by Peter Holik adds a module for monitoring CPU frequencies.
298         * The newly introduced `-f' switch prevents daemon initialization
299           (forking, closing standard filehandles, etc.) Thanks to Alvaro
300           Barcellos for this patch.
301
302 2005-11-04, Version 3.3.0 (Revision 216)
303         * New modules have been added:
304           - `serial', for monitoring traffic on the serial interfaces
305           - `nfs', for graphing NFS procedure calls
306           - `tape', traffic from/to tape devices
307         * The the memory.rrd now accepts more than 4Gig of memory.
308
309 2005-10-26, Version 3.2.0 (Revision 200)
310         * Support for graphing the processes has been added (thanks to Lyonel
311           Vincent)
312         * If reading from hddtemp failes collectd will increase the time
313           between polls up to one day.
314         * The init.d files have been improved.
315         * Problems with the spec file have been fixed.
316
317 2005-10-16, Version 3.1.0 (Revision 194)
318         * Added the `setsid' syscall to the startup code.
319         * Support for hddtemp has been added (thanks to Vincent StehlĂ©)
320
321 2005-09-30, Version 3.0.0 (Revision 184)
322         * The ability to send/receive data to/from the network (think
323           multicast) has been added.
324         * Modules have been split up into shared libraries can be loaded at
325           runtime. The biggest advantage is that the core program doesn't need
326           to be linked against an external library.
327         * A patch by George Kargiotakis has been applied: It fixes the sensors
328           behaviour then more than one sensor is being queried.
329
330 2005-09-16, Version 2.1.0 (Revision 172)
331         * A module for swap statistics has been added.
332
333 2005-09-09, Version 2.0.0 (Revision 135)
334         * Filenames can no longer be configured at program startup. The only
335           options as of this version are the directory and ping hosts.
336         * CPU statistics now include Wait-IO. If privided under Linux IRQ and
337           Soft-IRQ statistics are added to `System'. 
338         * Diskstats now collect read and write bytes, not sectors.
339         * Ping statistics can now be collected for more than one host. There
340           is no default any more: If no host is given no host will be pinged.
341         * A self-written patch for libping has been applied so it builds
342           cleanly.
343
344 2005-09-01, Version 1.8.1 (Revision 123)
345         * Much improved configure-script: libraries and features may now be
346           disabled.
347         * More detailed warnings/error messages when RRD update failes.
348
349 2005-08-29, Version 1.8.0:
350         * Support for collecting disk statistics under Solaris.
351
352 2005-08-25, Version 1.7.0:
353         * Support for libstatgrab[1] for load, memory usage and network
354           traffic. CPU- and disk-usage are not (yet) supported, since
355           libstatgrab returns insufficient information. I will contact the
356           authors.
357         * Improved the CPU-initialization code for Solaris. Apparently CPUs
358           aren't neccessarily counted linear which is now handled correctly.
359         [1]: http://www.i-scream.org/libstatgrab/
360
361 2005-08-21, Version 1.6.0:
362         * Basic support for Solaris: System load and cpu-usage can be
363           collected unter Solaris, too. Other stats will follow later.
364         * Many fixes in the autoconf-script
365         * Collection/Museum scripts have been added unter contrib/museum
366         * collectd may now be started in unprivileged mode, though ping
367           statistics will not work.
368
369 2005-07-17, Version 1.5.1:
370         * Diskstats-RRDs now use major/minor for naming. Some systems have
371           weird strings as disk-names..
372
373 2005-07-17, Version 1.5:
374         * A new module, diskstats, has been added. It collects information
375           about the disks and partitions.
376
377 2005-07-11, Version 1.4.2:
378         * The meminfo mofule has been changed to work with more platforms
379           and/or kernel versions.
380
381 2005-07-10, Version 1.4.1: Correct traffic stats
382         * The traffic rrd-file is now created with DS-type `COUNTER' which I
383           forgot to correct when I changed that module.
384
385 2005-07-09, Version 1.4: More traffic stats
386         * Traffic is now collected for all interfaces that can be found
387         * Temperature-statistics are read from lm-sensors if available
388
389 2005-07-08, Version 1.3: CPU stats
390         * Collecting CPU statistics now
391
392 2004-07-12, Version 1.2: Using syslog
393         * collectd is now using the syslog facility to report errors, warnings
394           and the like..
395         * The default directory is now /var/db/collectd
396
397 2004-07-10, Version 1.1: Minor changes
398         * Nothing really usefull to say ;)
399
400 2004-07-09, Version 1.0: Initial Version
401         * The following modules are provided:
402           * Load average
403           * Ping time
404           * Traffic
405           * Memory info