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