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