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