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