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