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