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