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