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