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