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