Bumped version to 4.5.4; Updated ChangeLog.
[collectd.git] / ChangeLog
1 2009-05-09, Version 4.5.4
2         * Build system, various plugins: Many build fixes for FreeBSD,
3           OpenBSD, NetBSD, Solaris and Mac OS X. Big thanks to Doug MacEachern
4           for many fixes and providing a build system for many platforms,
5           Ulf Zimmermann for providing a FreeBSD system and Simon Kuhnle for
6           providing an OpenBSD system.
7         * collectd: Fix a potential race condition when creating directories.
8         * battery plugin: Don't complain about a missing directory every
9           interval.
10         * dns plugin: Slight portability fixes.
11         * exec plugin: Allow executed programs to close STDERR. Thanks to
12           Thorsten von Eicken for reporting this problem.
13         * irq plugin: Fix handling of overflowing 32-bit counters. Thanks to
14           Tomasz Pala for the patch.
15         * perl plugin: Portability build-fixes. Thanks to Doug MacEachern for
16           the patch.
17         * rrdtool plugin: Fix a possible race condition: If the network plugin
18           is initialized and dispatches a value before the rrdtool plugin is
19           initialized, the daemon may crash.
20         * memory plugin: Fix a potential problem under Solaris.
21
22 2009-02-22, Version 4.5.3
23         * build system: The check for libupsclient even when `pkg-config' is
24           not available.
25         * collectd: Fix error handling in the global cache.
26         * Collectd::Unixsock: Error handling has been improved.
27         * ascent plugin: Fix a memory leak. Thanks to Bruno Prémont for his
28           patch.
29         * ipmi plugin: Fix an off-by-one error which could cause segmentation
30           faults. Thanks to Peter Holik for his patch.
31         * tcpconns plugin: An endianness problem has been fixed in the *BSD
32           code. Thanks to "thated" for reporting this.
33
34 2009-01-02, Version 4.5.2
35         * build system: Check for `mysql.h' and `mysql/mysql.h', since the
36           file may be in both locations, especially when the database was
37           installed in a non-standard path. Thanks to Dusty Doris for
38           reporting this.
39         * build system: Handle the _POSIX_PTHREAD_SEMANTICS defined, needed by
40           Solaris, in the configure script automatically.
41         * build system, tcpconns plugin: Check for `kvm_nlist' and
42           `kvm_openfiles' before enabling the plugin: Solaris provides a KVM
43           library with similar functions to the BSD variant, but doesn't
44           provide these necessary functions.
45         * collectd.conf(5): Various fixes and clarifications.
46         * collectd: Remove a GNUism (unnamed unions), thus improving
47           portability.
48         * collectd, apcups plugin: Include "collectd.h" before <stdlib.h>.
49           This solves portability problems, especially for Solaris.
50         * dns plugin: Fix a portability problem with NetBSD.
51         * filecount plugin: Fix an off-by-one error. This error may cause a
52           segmentation fault.
53         * network plugin: Fix the handling of `type' in the network protocol.
54           Due to a programming mistake, only 4 or 8 bytes would be copied to a
55           much larger buffer. This caused the `type' to be transferred much
56           more often than necessary. In some cases, e. g. the `cpu' and
57           `cpufreq' plugins being used at the same time, data may be corrupted
58           in those files. Thanks to Bruno Prémont for debugging and reporting
59           this issue.
60         * processes plugin: Fix a possible segmentation fault when specifying
61           invalid configuration options.
62         * unixsock plugin: Make sure the initialization function is run only
63           once. This resolves a file descriptor leak under systems which run
64           the initialization more than once, such as Solaris.
65
66 2008-10-16, Version 4.5.1
67         * build system: Change `--enable-<plugin>' to abort with an error if
68           dependencies are not met. Thanks to Bruno Prémont for the patch.
69           Also, the poisoning of various string functions has been restricted
70           to debug builds.
71         * collectd: Fix a memory leak in the global value cache. With every
72           *missing* value a couple of bytes would be leaked. Another memory
73           leak in the configuration handling code has been fixed. Thanks to
74           Niraj Tolia for reporting these issues.
75         * collectd: Fix an off-by-one error in the ignorelist functionality.
76           When using regular expressions, the last character would be missing,
77           possibly matching differently from what one would expect.
78         * collectdmon: Don't block SIGCHLD. This fixes a potential portability
79           problem.
80         * collectd-nagios: Fix handling of the `-d' option. Thanks to Fabian
81           Linzberger for reporting the bug.
82         * iptables plugin: Fix an off-by-one error. If a string was just one
83           character too long, it was truncated instead of reporting an error.
84         * network plugin: Fix a memory leak in the configuration handling
85           code. Thanks to Niraj Tolia for reporting this issue.
86         * perl plugin: Log an error message if bootstrapping `Collectd' fails.
87         * postgresql plugin: Don't reopen connection during reinitialization.
88           This fixes a bug under Solaris and potentially other platforms.
89           Missing calls to `PQclear' have been added, too. This fixes memory
90           leaks. Thanks to ``Admin'' for reporting these bugs.
91         * snmp plugin: Don't expect null-terminated strings from the Net-SNMP
92           library.
93         * tail plugin: Call `clearerr(3)' after reading an EOF. This fixes
94           problems with some `libc's. Thanks to Matthias Lay for reporting the
95           bug.
96
97 2008-09-04, Version 4.5.0
98         * collectd: Added the ability to flush certain identifiers.
99         * collectd: The concept of `notification meta data' has been
100           introduced.
101         * filecount plugin: The new filecount plugin counts the number of
102           files in a directory and its subdirectories.
103         * ipmi plugin: Sensor names have been changed to ensure unique names.
104           Notifications upon added and removed sensors can now be generated.
105         * notify_desktop plugin: This new plugin sends notifications to the
106           X desktop using the structure defined in the `Desktop Notification
107           Specification'.
108         * notify_email plugin: This new plugin sends out notifications via
109           email, using the `esmtp' library.
110         * onewire plugin: The new experimental(!) onewire plugin reads values,
111           such as temperatures, from sensors connected to the computer via the
112           onewire bus.
113         * perl plugin: Improved synchronized access to internal data structures
114           and fixed a possible dead-lock.
115         * perl plugin: Added the ability to flush certain identifiers and marked
116           plugin_flush_all() and plugin_flush_one() as deprecated in favor of
117           plugin_flush().
118         * perl plugin: Added the ability to configure Perl plugins.
119         * postgresql plugin: The new postgresql plugin collects statistics
120           about or from a PostgreSQL database.
121         * processes plugin: The `ProcessMatch' option has been added.
122         * rrdtool plugin: Implement throttling of the `update queue' to lessen
123           IO load.
124         * tcpconns plugin: This plugin has been ported to OpenBSD.
125         * thermal plugin: The new thermal plugin collects system temperatures
126           using Linux ACPI thermal zone data.
127
128 2009-01-02, Version 4.4.5
129         * build system: Check for `mysql.h' and `mysql/mysql.h', since the
130           file may be in both locations, especially when the database was
131           installed in a non-standard path. Thanks to Dusty Doris for
132           reporting this.
133         * build system: Handle the _POSIX_PTHREAD_SEMANTICS defined, needed by
134           Solaris, in the configure script automatically.
135         * collectd.conf(5): Various fixes and clarifications.
136         * apcups plugin: Include "collectd.h" before <stdlib.h>. This solves
137           portability problems, especially for Solaris.
138         * dns plugin: Fix a portability problem with NetBSD.
139         * network plugin: Fix the handling of `type' in the network protocol.
140           Due to a programming mistake, only 4 or 8 bytes would be copied to a
141           much larger buffer. This caused the `type' to be transferred much
142           more often than necessary. In some cases, e. g. the `cpu' and
143           `cpufreq' plugins being used at the same time, data may be corrupted
144           in those files. Thanks to Bruno Prémont for debugging and reporting
145           this issue.
146         * unixsock plugin: Make sure the initialization function is run only
147           once. This resolves a file descriptor leak under systems which run
148           the initialization more than once, such as Solaris.
149
150 2008-10-16, Version 4.4.4
151         * build system: Change `--enable-<plugin>' to abort with an error if
152           dependencies are not met. Thanks to Bruno Prémont for the patch.
153           Also, the poisoning of various string functions has been restricted
154           to debug builds.
155         * collectd: Fix a memory leak in the global value cache. With every
156           *missing* value a couple of bytes would be leaked. Another memory
157           leak in the configuration handling code has been fixed. Thanks to
158           Niraj Tolia for reporting these issues.
159         * collectd: Fix an off-by-one error in the ignorelist functionality.
160           When using regular expressions, the last character would be missing,
161           possibly matching differently from what one would expect.
162         * collectdmon: Don't block SIGCHLD. This fixes a potential portability
163           problem.
164         * collectd-nagios: Fix handling of the `-d' option. Thanks to Fabian
165           Linzberger for reporting the bug.
166         * network plugin: Fix a memory leak in the configuration handling
167           code. Thanks to Niraj Tolia for reporting this issue.
168         * perl plugin: Log an error message if bootstrapping `Collectd' fails.
169         * tail plugin: Call `clearerr(3)' after reading an EOF. This fixes
170           problems with some `libc's. Thanks to Matthias Lay for reporting the
171           bug.
172
173 2008-09-01, Version 4.4.3
174         * collectd: Fix a memory leak in the threshold checking code.
175         * memcached plugin: Fix a too short timeout and a related file
176           descriptor leak.
177         * memory plugin: A typo in the libstatgrab code has been fixed.
178         * snmp plugin: Fix a possible memory leak.
179
180 2008-07-15, Version 4.4.2
181         * build system: Use pkg-config to detect the upsclient library.
182         * collectd: Try even harder to determine the endianess of the
183           architecture collectd is being built on.
184         * disk plugin: Fix for Linux 2.4: A wrong field was used as the name
185           of disks.
186         * dns plugin: Fix compilation errors with BIND versions 19991001
187           through 19991005.
188         * network plugin: Bugfix in the init routine: The init function
189           cleared a buffer regardless of its contents. This could lead to lost
190           values under Solaris.
191         * nginx plugin: Remove usage of the thread-unsafe `strtok' function.
192         * vserver plugin: Remove usage of the thread-unsafe `readdir'
193           function.
194         * wireless plugin: Work around incorrect noise and power values
195           returned by some broken drivers.
196
197 2008-06-03, Version 4.4.1
198         * collectd: Fix the `DataSource' option within `Type' blocks. Thanks
199           to kyrone for reporting this.
200         * collectd: Fixed min/max output in notifications generated by
201           threshold checking.
202         * collectd-nagios: Fix the protocol used to communicate with the
203           daemon.
204         * perl plugin: Fail noisily, but don't shutdown the daemon, if
205           initialization has errors. An issue with Perl 5.10 has been fixed.
206         * teamspeak2 plugin: Fixed an out of bound array access. Thanks to
207           René Rebe and Siegmund Gorr for reporting this.
208
209 2008-05-06, Version 4.4.0
210         * collectd: Internal code cleanups.
211         * collectd: Added support for a `Flush' command in the unixsock and
212           exec plugins. This command can be used to force a plugin (or all) to
213           flush its values to disk.
214         * collectd: Thresholds can now be configured to apply to one data
215           source only, making it possible to configure different thresholds
216           for each data source.
217         * apache, nginx plugins: Added the possibility to disable host and/or
218           peer verification.
219         * ascent plugin: The new ascent plugin reads and parses the statistics
220           page of an Ascent server.
221         * cpu plugin: Support for the statgrab library has been added.
222         * disk plugin: The possibility to ignore certain disks or collect only
223           specific disks has been added.
224         * disk plugin: Support for the statgrab library has been added.
225         * ipmi plugin: The new ipmi plugin uses the OpenIPMI library to read
226           sensor values via IPMI, the intelligent platform management
227           interface.
228         * iptables plugin: The iptc library that is used by the iptables
229           plugin has been added to the distribution, because it is not
230           provided by all distributions and removed from at least one.
231         * powerdns plugin: The new powerdns plugin reads statistics from an
232           authoritative or a recursing PowerDNS name server.
233         * rrdtool plugin: The size of the files generated with the default
234           configuration has been decreased.
235         * tail plugin: The new tail plugin can be used to gather statistics by
236           continuously reading from log files.
237         * teamspeak2 plugin: The new teamspeak2 plugin connects to a
238           TeamSpeak2 server and collects statistics about the number of users
239           and number of channels.
240         * users plugin: Support for the statgrab library has been added.
241         * vmem plugin: The new vmem plugin collects very detailed statistics
242           about the virtual memory subsystem of Linux.
243
244 2008-08-30, Version 4.3.4
245         * Build system: Improved detection of and linking with the statgrab
246           library.
247         * collectd: Portability fixes, especially to determine endianess more
248           reliable.
249         * Various plugins: Fix format strings.
250         * disk plugin: A fix for giving disks under Linux 2.4 the right names
251           again has been applied.
252         * memcached plugin: Fix a too short timeout and a related file
253           descriptor leak.
254         * memory plugin: A typo in the libstatgrab code has been fixed.
255         * network plugin: A fix in the initialization function solves problems
256           under Solaris.
257         * nginx plugin: A thread-unsafe function has been replaced.
258         * vserver plugin: A thread-unsafe function has been replaced.
259         * wireless plugin: A work-around for broken wireless drivers has been
260           added.
261
262 2008-04-22, Version 4.3.3
263         * build system: Improved detection of several libraries, especially if
264           they are in non-standard paths.
265         * build system: Portability fixes: Automatically define "_REENTRANT"
266           if the libc expects it.
267         * collectd: Error and warning messages have been improved.
268         * collectd: Check for the BYTE_ORDER and BIG_ENDIAN defines before
269           using them.
270         * apache plugin: Allocate new memory when reading a webpage instead of
271           using a buffer of static size.
272         * exec plugin: Close (almost) all filedescriptors before exec(2)ing
273           the program.
274         * hddtemp plugin: Error and warning messages have been improved.
275         * sensors plugin: Fix sensor collection for some chip types.
276
277 2008-03-29, Version 4.3.2
278         * collectd: Fix configuration of the `FailureMax', `WarningMax', and
279           `Persist' threshold options.
280         * collectd: Fix handling of missing values in the global value cache.
281         * collectd: Improved error messages when parsing the configuration.
282         * sensors plugin: Fix temperature collection with libsensors4.
283         * unixsock plugin: Fix mixed input and output operation on streams.
284         * wireless plugin: Fix reading noise value.
285
286 2008-03-05, Version 4.3.1
287         * exec plugin: Set supplementary group IDs.
288         * network plugin:
289           + Use `memcpy' when constructing/parsing a package to avoid
290             alignment problems on weird architectures, such as Sparc.
291           + Translate doubles to/from the x86 byte representation to ensure
292             cross-platform compatibility.
293         * ping plugin: Correct the handling of the `TTL' setting.
294         * swap plugin: Reapply a patch for Solaris.
295         * tcpconns plugin: Portability improvements.
296
297 2008-02-18, Version 4.3.0
298         * collectd: Notifications have been added to the daemon. Notifications
299           are status messages that may be associated with a data instance.
300         * collectd: Threshold checking has been added to the daemon. This
301           means that you can configure threshold values for each data
302           instance. If this threshold is exceeded a notification will be
303           created.
304         * collectd: The new `FQDNLookup' option tells the daemon to use the
305           full qualified domain name as the hostname, not just the host part
306           es returned by `gethostname(2)'.
307         * collectd: Support for more than one `TypesDB' file has been added.
308           This is useful when one such file is included in a package but one
309           wants to add custom type definitions.
310         * collectd: The `Include' config option has been expanded to handle
311           entire directories and shell wildcards.
312         * collectdmon: The new `collectdmon' binary detects when collectd
313           terminates and automatically restarts it again.
314         * csv plugin: The CSV plugin is now able to store counter values as a
315           rate, using the `StoreRates' configuration option.
316         * exec plugin: Handling of notifications has been added and the
317           ability to pass arguments to the executed programs has been added.
318         * hddtemp plugin: The new `TranslateDevicename' option lets you
319           disable the translation from device names to major-minor-numbers.
320         * logfile plugin: Handling of notifications has been added.
321         * ntpd plugin: The new `ReverseLookups' can be used to disable reverse
322           domain name lookups in this plugin.
323         * perl plugin: Many internal changes added support for handling multiple
324           threads making the plugin reasonably usable inside collectd. The API has
325           been extended to support notifications and export global variables to
326           Perl plugins; callbacks now have to be identified by name rather than a
327           pointer to a subroutine. The plugin is no longer experimental.
328         * uuid plugin: The new UUID plugin sets the hostname to an unique
329           identifier for this host. This is meant for setups where each client
330           may migrate to another physical host, possibly going through one or
331           more name changes in the process. Thanks to Richard Jones from
332           Red Hat's Emerging Technology group for this plugin.
333         * libvirt: The new libvirt plugin uses the `libvirt' library to query
334           CPU, disk and network statistics about guest systems on the same
335           physical server. Thanks to Richard Jones from Red Hat's Emerging
336           Technology group for this plugin.
337
338 2008-04-22, Version 4.2.7
339         * build system: Improved detection of several libraries, especially if
340           they are in non-standard paths.
341         * build system: Portability fixes: Automatically define "_REENTRANT"
342           if the libc expects it.
343         * collectd: Error and warning messages have been improved.
344         * collectd: Check for the BYTE_ORDER and BIG_ENDIAN defines before
345           using them.
346         * apache plugin: Allocate new memory when reading a webpage instead of
347           using a buffer of static size.
348         * exec plugin: Close (almost) all filedescriptors before exec(2)ing
349           the program.
350         * hddtemp plugin: Error and warning messages have been improved.
351         * sensors plugin: Fix sensor collection for some chip types.
352
353 2008-03-29, Version 4.2.6
354         * collectd: Improved error messages when parsing the configuration.
355         * sensors plugin: Fix temperature collection with libsensors4.
356         * unixsock plugin: Fix mixed input and output operation on streams.
357         * wireless plugin: Fix reading noise value.
358
359 2008-03-04, Version 4.2.5
360         * apache plugin: Improved initialization and error messages.
361         * exec plugin: Set supplementary group IDs.
362         * network plugin:
363           + Create separate threads for reading from the socket and parsing
364             and dispatching incoming packets. Versions prior to this may have
365             problems in high-load situations, where the socket receive buffers
366             overflows, resulting in gaps in the data.
367           + Use `memcpy' when constructing/parsing a package to avoid
368             alignment problems on weird architectures, such as Sparc.
369           + Translate doubles to/from the x86 byte representation to ensure
370             cross-platform compatibility.
371         * ping plugin: Correct the handling of the `TTL' setting.
372         * rrdtool plugin: Ensure correct handling of the `RRATimespan' option.
373         * swap plugin: Reapply a patch for Solaris.
374         * tcpconns plugin: Portability improvements.
375
376 2008-01-21, Version 4.2.4
377         * unixsock plugin: A bug in the unixsock plugin caused it not to set
378           the permission on the socket as documented in the manpage. Thanks to
379           Evgeny Chukreev for fixing this issue.
380         * collectd: The documentation has been improved.
381
382 2007-12-28, Version 4.2.3
383         * sensors plugin: Updated the plugin to build and work with version 3
384           of the libsensors library.
385
386 2007-12-15, Version 4.2.2
387         * nginx plugin: Incorrect comparison of strings lead to a segfault
388           when using the plugin. Thanks to Saulius Grigaliunas for fixing
389           this.
390         * logfile plugin: The config option `Timestamp' was handled
391           incorrectly and basically always active. Thanks to Luke Heberling
392           for fixing this.
393
394 2007-11-08, Version 4.2.1
395         * tcpconns plugin: Don't complain about a missing file if IPv6 is not
396           enabled on the host.
397         * snmp plugin: Fix a memory leak.
398
399 2007-10-27, Version 4.2.0
400         * collectd: The new config option `Include' lets you include other
401           configfiles and thus split up your config into smaller parts. This
402           may be especially interesting for the snmp plugin to keep the data
403           definitions separate from the host definitions.
404         * ipvs plugin: The new `ipvs' plugin collects IPVS connection statistics
405           (number of connections, octets and packets for each service and
406           destination). Thanks to Sebastian Harl for this plugin.
407         * memcached plugin: The new `memcached' plugin connects to a memcached
408           daemon process and collects statistics of this distributed caching
409           system. Thanks to Antony Dovgal for contributing this plugin.
410         * nginx plugin: The new `nginx' plugin reads the status page of an
411           nginx daemon and saves the handled connections and requests.
412         * perl plugin: Many changes, including the added `EnableDebugger'
413           config option which lets you debug your Perl plugins more easily.
414         * rrdtool plugin: Use the thread-safe RRD-library if available. Try to
415           be more thread-safe otherwise by locking calls to the library.
416         * snmp plugin: Added the options `Scale' and `Shift' to Data-blocks to
417           correct the values returned by SNMP-agents. If a <data> block is
418           defined as `table' the instance is now optional. The sequence number
419           is used as the type-instance in this case. The new `InstancePrefix'
420           option allows to add arbitrary prefixes to the type-instance.
421         * tcpconns plugin: The new `tcpconns' plugin collects the number of
422           certain TCP connections and what state they're in. This can be used
423           to see how many connections your FTP server has to handle or how
424           many outgoing connections your mailserver has open.
425
426 2008-01-11, Version 4.1.6
427         * unixsock plugin: A bug in the unixsock plugin caused it not to set
428           the permission on the socket as documented in the manpage. Thanks to
429           Evgeny Chukreev for fixing this issue.
430         * collectd: The documentation has been improved.
431
432 2007-12-27, Version 4.1.5
433         * rrdtool plugin: Fix a memory leak that only occurred in very-low-
434           memory situations.
435         * sensors plugin: Updated the plugin to build and work with version 3
436           of the libsensors library.
437
438 2007-11-08, Version 4.1.4
439         * Build system: Improve detection of the rrd library, especially if
440           it's in a non-standard location.
441         * Build system: A bug when parsing the argument for
442           `--with-libnetsnmp' has been fixed.
443         * collectd: Implement `strerror_r' if the libc doesn't provide it.
444         * rrdtool plugin: Fix a bug in the shutdown sequence that might cause
445           a deadlock or delay when shutting down the daemon.
446         * snmp plugin: Fix a memory leak.
447
448 2007-10-24, Version 4.1.3
449         * collectd: A build issue under Solaris has been resolved by renaming
450           data types.
451         * rrdtool plugin: Use the thread-safe RRD-library if available. Try to
452           be more thread-safe otherwise by locking calls to the library.
453
454 2007-09-28, Version 4.1.2
455         * apcups plugin: Fix reporting of the `load percent' data.
456         * wireless plugin: Correct the handling of cards returning signal and
457           noise quality as percentage.
458         * perl plugin: Fix a possible buffer overflow in get_module_name().
459         * build system: Further improve the detection of libraries.
460         * netlink plugin: Build issues under some older versions of the Linux
461           includes (i. e. Debian Sarge) have been fixed.
462         * snmp plugin: Fix a potential segfault when a host times out. Add
463           support for the `timeticks' type. 
464
465 2007-09-12, Version 4.1.1
466         * Build system: The detection of `libnetlink' has been improved.
467         * collectd: The documentation has been fixed in numerous places.
468         * exec plugin: Setting the group under which to run a program has been
469           fixed.
470         * collectd: The `sstrerror' function was improved to work correctly
471           with the broken GNU version of `strerror_r'.
472         * collectd: Write an error message to STDERR when loading of a plugin
473           fails.
474         * apcups plugin: Fix the `types' used to submit the values: They still
475           has an `apcups_' prefix which doesn't work anymore.
476         * rrdtool plugin: Create new RRD-files with the `begin' time set to
477           whatever the client thinks is `now'..
478
479 2007-09-01, Version 4.1.0
480         * Build system: The build system has been changed to automatically
481           disable all plugins, which are missing dependencies. The dependency
482           checking has been removed from the plugins themselves to remove
483           redundancy.
484         * Flexible interval: The interval of collected data is now sent along
485           with the data itself over the network, so that the interval-settings
486           of server and clients no longer needs to match.
487         * netlink plugin: The new `netlink' plugin connects to the Linux
488           kernel using a netlink socket and uses it to query information about
489           interfaces, qdiscs and classes.
490         * rrdtool plugin: The cache is now dumped to disk in an extra thread
491           to not block data collection.
492         * snmp plugin: The new `snmp' plugin can read values from SNMP enabled
493           network devices, such as switches, routers, thermometers, rack
494           monitoring servers, etc. The collectd-snmp(5) manpage documents this
495           plugin.
496         * unixsock plugin: Added the `LISTVAL' command.
497         * xmms plugin: The new `xmms' plugin graphs the bitrate and frequency
498           of music played with xmms.
499
500 2007-09-28, Version 4.0.9
501         * apcups plugin: Fix reporting of the `load percent' data.
502         * wireless plugin: Correct the handling of cards returning signal and
503           noise quality as percentage.
504         * perl plugin: Fix a possible buffer overflow in get_module_name().
505
506 2007-09-12, Version 4.0.8
507         * collectd: The `sstrerror' function was improved to work correctly
508           with the broken GNU version of `strerror_r'.
509         * collectd: Write an error message to STDERR when loading of a plugin
510           fails.
511         * apcups plugin: Fix the `types' used to submit the values: They still
512           has an `apcups_' prefix which doesn't work anymore.
513         * rrdtool plugin: Create new RRD-files with the `begin' time set to
514           whatever the client thinks is `now'..
515
516 2007-08-26, Version 4.0.7
517         * documentation: Some typos have been fixed and some information has
518           been improved.
519         * build system: Many fixes for detecting libraries in unusual places,
520           such as on RedHat systems. The affected libraries are `libcurl',
521           `libmysql', and `libupsclient'.
522         * network plugin: Allow the `Port' option to be specified as a number
523           (i. e. without quotes).
524         * nut plugin: A fix allows linking the nut plugin against
525           libupsclient, version >= 2.2.0.
526         * processes plugin: Fix a potential segmentation fault.
527
528 2007-07-30, Version 4.0.6
529         * sensors plugin: Fix the ignorelist functionality: Only the `type
530           instance' was used to match against the list, but the documentation
531           told otherwise. This release fixes the code, so it complies with the
532           documentation.
533         * syslog plugin: Call `openlog' right when the plugin is loaded, so
534           configuration messages will end up in the logging facility.
535         * conrtib/fedora: The contributed specfile for Fedora has been
536           updated.
537
538 2007-07-05, Version 4.0.5
539         * Portability: More fixes for OpenBSD have been included.
540
541 2007-06-24, Version 4.0.4
542         * cpu plugin: Fixed the Solaris code.
543         * dns plugin: Fixed a build issue for OpenBSD.
544         * interface plugin: Fixed the Solaris code.
545         * load plugin: Fixed the alternative `/proc' Linux code.
546         * memory plugin: Fixed the Solaris code.
547         * oconfig: Don't require `-lfl' anymore.
548
549 2007-06-19, Version 4.0.3
550         * cpu plugin: Fix the Darwin / Mac OS X code.
551         * ping plugin: Use the return value of `getpid', not its address.
552         * csv, rrdtool plugin: Fixed a bug that prevented an buffer to be
553           initialized correctly.
554         * configure: Added `--with-nan-emulation' to aid cross compilation.
555
556 2007-06-12, Version 4.0.2
557         * hddtemp and ntpd plugin: Corrected the parsing of port numbers when
558           they're given in numerically form.
559
560 2007-06-07, Version 4.0.1
561         * iptables plugin: A bug in the configuration routine has been fixed.
562           Setting a comment in the configfile will no longer cause a
563           segmentation fault.
564
565 2007-06-03, Version 4.0.0
566         * collectd: The plugin-infrastructure has been changed to allow for
567           more types of plugins, namely `write' and `log' plugins.
568         * collectd: The read-function has been changed to read many plugins in
569           parallel, using threads. Thus, plugins generally need to use
570           thread-safe functions from now on.
571         * collectd: The '-t' command line options allows to perform syntax tests
572           of the configuration file and exit immediately.
573         * csv plugin: The new `csv' plugin handles output to `comma separated
574           values'-files.
575         * rrdtool plugin: The new `rrdtool' plugin handles output to
576           RRD-files. Data can be cached to combine multiple updates into one
577           write to increase IO-performance.
578         * network plugin: The new `network' plugin handles IO via the network.
579           It implements a different, much more extensible protocol which can
580           combine many values in one packet, decreasing the number of UDP-
581           packets being sent. It can read from and send to the network and
582           with the appropriate configuration even forward packets to other
583           networks.
584         * unixsock plugin: The new `unixsock' plugin provides an interface to
585           communicate with the daemon while it is running. Right now the
586           commands `GETVAL' and `PUTVAL' are implemented, but more are to
587           come.
588         * perl plugin: The new `perl' plugin allows you to write extensions
589           for collectd in the scripting-language Perl.
590         * logfile plugin: The new `logfile' plugin writes logmessages to files
591           or STDOUT or STDERR.
592         * syslog plugin: The new `syslog' plugin sends logmessages to the
593           system's syslog daemon.
594         * entropy plugin: The new `entropy' plugin collects the amount of
595           entropy currently being available to the system.
596         * exec plugin: The new `exec' plugin forks child processes and reads
597           back values provided by the forked processes.
598         * iptables plugin: The new `iptables' plugin reads counters from
599           iptables rules. Thanks to Sjoerd van der Berg for contributing this
600           plugin.
601         * irq plugin: The new `irq' plugin collects the IRQ-counters. Thanks
602           to Peter Holik for contributing this plugin.
603         * nut plugin: The new `nut' plugin connects the upsd of the `network
604           ups tools' and reads information about the connected UPS.
605         * apache plugin: Support for lighttpd's `BusyServers' (aka.
606           connections) field was added by Florent Monbillard.
607         * collectd-nagios: The new `collectd-nagios' binary queries values
608           from collectd, parses them and exits according to Nagios-standards.
609         * manpages: The manpages have been improved a lot.
610
611 2007-09-28, Version 3.11.7
612         * wireless plugin: Correct the handling of cards returning signal and
613           noise quality as percentage.
614
615 2007-08-31, Version 3.11.6
616         * processes plugin: Fix a potential segmentation fault.
617
618 2007-05-29, Version 3.11.5
619         * configure: Added `AC_SYS_LARGEFILE' for LFS.
620         * ntpd plugin: Fix a potential buffer overflow.
621         * processes plugin: Fix a bug when run under Linux 2.4. All processes
622           were accounted as `zombies'.
623
624 2007-04-10, Version 3.11.4
625         * dns plugin: Change the order of includes to make the plugin compile
626           under FreeBSD.
627
628 2007-03-30, Version 3.11.3
629         * configure: Have the configure-script define `HAVE_LIBKSTAT' instead
630           of the unused `COLLECT_KSTAT'.
631
632 2007-02-11, Version 3.11.2
633         * plugin: Catch NULL-pointer and try to fix them. Otherwise the
634           NULL-pointer may have been passed to `printf' which causes a
635           segfault with some libcs.
636
637 2007-02-10, Version 3.11.1
638         * df plugin: Some wrong defines have been fixed so the plugin works
639           under Solaris again.
640         * dns plugin: The usage of a struct has been fixed to work with
641           non-GNU libcs.
642         * processes plugin: Some missing defines have been added so the plugin
643           compiles cleanly under FreeBSD and presumably other UNIXes.
644
645 2006-12-22, Version 3.11.0
646         * collectd: The new command line option `-P' makes it easier for
647           distributors to change the location of PID-files.
648         * collectd: The daemon shuts down faster now which makes it easier to
649           write init.d-scripts for it.
650         * apache plugin: Increase the buffersize to 16k, because the 4k buffer
651           caused problems every now and then.
652         * df plugin: New config options allow to ignore certain mountpoints,
653           filesystem types or devices.
654         * dns plugin: The new dns plugin uses `libpcap' to capture DNS traffic
655           and interprets it. It collects traffic as well as qtype, opcode and
656           rcode counts.
657         * email plugin: Sebastian Harl has contributed this plugin which
658           counts received mails in categories (e. g. ham, spam, virus), spam
659           score (as given by SpamAssassin) and check types.
660         * mbmon plugin: Flavio Stanchina has contributed this plugin which
661           uses `mbmon' to gather information from sensors on the motherboard.
662         * processes plugin: Collect detailed statistics for configured
663           processes, that's process and thread count, CPU usage, resident
664           segment size and pagefaults.
665         * multimeter plugin: Peter Holik contributed a new plugin which
666           queries multimeters.
667         * sensors plugin: Lubos Stanek has put much effort into improving this
668           plugin, including `extended naming', collection of voltage values
669           and the possibility to ignore certain values.
670
671 2006-12-21, Version 3.10.4
672         * Max Kellermann has identified a bug in the server routine: When
673           opening a socket fails the daemon will (re)try opening the socket in
674           an endless loop, ultimately leading to a `EMFILE' error.
675
676 2006-11-04, Version 3.10.3
677         * Lubos Stanek has identified a bug in the ntpd-plugin: When the
678           ntpd's reply was sent in more than one packet, the buffer size was
679           calculated incorrectly, resulting in the reading of uninitialized or
680           freed memory.
681
682 2006-11-01, Version 3.10.2
683         * The sample config file has been improved.
684         * Errors in the manpages have been corrected.
685         * The ping-plugin now adds hosts during initialization, not during
686           startup. This speeds up startup when no network connectivity is
687           available. Also, the hosts are being added later when the network is
688           available.
689         * Improved BSD-support for the df-plugin.
690         * Fixed syntax errors in the swap-plugin for Mac OS X.
691         * Fix a wrong structure being passed to `getnameinfo' in the ntpd-
692           plugin.
693         * Don't disable the mysql-plugin if connecting to the database fails
694           during initialization. Instead, try again in increasing intervals.
695
696 2006-07-19, Version 3.10.1
697         * A bug in the apcups plugin was fixed: Is the plugin is loaded, but
698           the apcups cannot be reached, unconnected sockets will pile up and
699           eventually lead to `Too many open files' errors.
700
701 2006-07-09, Version 3.10.0
702         * The `disk' plugin has been ported to Darwin.
703         * The `battery' plugin should work on many Apple computers now.
704         * The `traffic' plugin can now ignore certain interfaces. Also,
705           statistics for sent/received packets and errors have been added.
706         * A plugin to monitor APC UPSes using `apcupsd' has been added. Thanks
707           to Anthony Gialluca for contributing this plugin and providing me
708           with a test environment :)
709         * A plugin for monitoring an NTP instance and the local clock drift
710           has been added.
711
712 2006-06-25, Version 3.9.4
713         * The Solaris code in the `swap' plugin has been changed to reflect
714           the numbers returned by `swap -s'. Thanks to Christophe Kalt for
715           working this out.
716         * The debugging system has been fixed to work with the Sun libc.
717         * When built without librrd the variable `operating_mode' could be
718           uninitialized. Thanks to David Elliot for reporting the bug.
719
720 2006-06-01, Version 3.9.3
721         * Fixed the ping-plugin under FreeBSD and Mac OS X. Potentially other
722           operating systems also profit from the changes, but I wasn't able to
723           check that.
724         * Changed the build system to find the netinet-includes under FreeBSD
725           and therefore successfully build the `liboping' library there.
726
727 2006-05-09, Version 3.9.2
728         * Applied a patch to the `liboping' library. Due to a bug in the
729           sequence checking the `ping' plugin stopped working after
730           approximately 7.6 days.
731
732 2006-05-09, Version 3.8.5
733         * Applied a patch to the `liboping' library. Due to a bug in the
734           sequence checking the `ping' plugin stopped working after
735           approximately 7.6 days.
736
737 2006-04-21, Version 3.9.1
738         * Build issues with Solaris and possible other architectures have been
739           resolved.
740         * Problems when building the `apache'-plugin without `libcurl' have
741           been resolved.
742         * A bug in the `ping' plugin has been fixed. Sorry folks.
743
744 2006-04-02, Version 3.9.0
745         * A plugin to monitor the Apache webserver has been added.
746           <http://httpd.apache.org/>
747         * A plugin to collect statistics about virtual servers using VServer.
748           <http://linux-vserver.org/> Thanks to Sebastian Harl for writing
749           this plugin :)
750         * A plugin for wireless LAN cards has been added. It monitors signal
751           strength, link quality and noise ratio..
752         * A plugin for Apple hardware sensors has been added.
753         * An option to compile collectd with different `step' and `heartbeat'
754           settings has been added. The size of RRAs is no longer static but
755           calculated based on the settings for `step' and `width'.
756         * The `ping' plugin can now be configured to use a certain TTL.
757         * A plugin to monitor the hardware sensors of Apple computers has been
758           added.
759         * The plugins `cpu', `memory', `processes' and `traffic' have been
760           ported to Mach/Darwin (Mac OS X).
761         * The `log mode' has been contributed by Christophe Kalt. It writes
762           the data into text files rather than RRD files.
763
764 2006-04-09, Version 3.8.4
765         * Applied patch by Vincent Stehlé which improves the disk-name
766           resolution in the `hddtemp' plugin for Linux systems.
767
768 2006-04-02, Version 3.8.3
769         * Applied a patch by James Byers: The MySQL plugin was not working
770           with MySQL 5.0.2 or later.
771
772 2006-03-14, Version 3.8.2
773         * `utils_mount.c' has been changed to not use the `MNTTAB' defined by
774           the GNU libc, because it points to `/etc/fstab' rather than
775           `/etc/mtab'.
776
777 2006-03-13, Version 3.8.1
778         * Fixes for building collectd under FreeBSD, Mac OS X and Solaris.
779         * Fixes in the debian `postinst' and `init.d' scripts.
780
781 2006-03-09, Version 3.8.0
782         * The `ping' plugin no longer uses `libping' but a self written
783           library named `liboping'. With this library it's possible to ping
784           multiple IPv4 and IPv6 addresses and hostnames - in parallel.
785
786 2006-02-18, Version 3.7.2
787         * A simple bug in the `battery' plugin has been fixed. It should now
788           work with ACPI based batteries as well. Thanks to Sebastian for
789           fixing this.
790         * Fixing a bug that prevented collectd to be built without librrd.
791           Thanks to Werner Heuser for reporting it.
792
793 2006-02-04, Version 3.7.1
794         * The new network code has been improved to build with older versions
795           of glibc.
796         * Fix in `libping' sets the ICMP sequence on outgoing packets. Thanks
797           to Tommie Gannert for this patch.
798
799 2006-01-30, Version 3.7.0
800         * The `battery' plugin has been added. It collects information about
801           laptop batteries..
802         * The MySQL plugin has been improved: It now writes two more RRD
803           files, `mysql_qcache.rrd' and `mysql_threads.rrd'.
804         * The `cpufreq' plugin now reads another file since the file it did
805           read so far causes much overhead in the kernel. Also, you need root
806           to read the old file, but not to read the new one.
807         * The `hddtemp' plugin can now be configured to connect to another
808           address and/or port than localhost.
809         * The `df' plugin now prefers `statvfs' over `statfs'.
810         * The network code has been rewritten. collectd now supports unicast
811           and multicast, and IPv4 and IPv6. Also, the TTL of sent packages can
812           be set in the configfile.
813
814 2006-01-24, Version 3.6.2
815         * Due to a bug in the configfile handling collectd wouldn't start in
816           client mode. This released fixes this.
817
818 2006-01-20, Version 3.6.1
819         * Due to a bug in `configure.in' all modules and the binary were
820           linked against `libmysqlclient'. This issue is solved by this
821           release.
822
823 2006-01-17, Version 3.6.0
824         * A config file has been added. This allows for loading only specific
825           plugins.
826         * A `df' plugin has been added.
827         * A `mysql' plugin has been added.
828         * The `ping' plugin doesn't entirely give up hope when a socket error
829           occurred, but will back of and increase the intervals between tries.
830
831 2006-01-21, Version 3.5.2
832         * Fixed yet another bug in the signal handling.. Stupid typo..
833         * Improved the ping plugin to not give up on socket errors (backport
834           from 3.6.0).
835
836 2005-12-18, Version 3.5.1
837         * The PID-file is now deleted correctly when shutting down the daemon.
838         * SIGINT and SIGTERM are now handled correctly.
839
840 2005-12-16, Version 3.5.0 (Revision 326)
841         * A bug in the `load' module under Solaris has been fixed.
842         * The `users' module has been contributed by Sebastian Harl. It counts
843           currently logged in users.
844         * The CPU module now works under FreeBSD without the use of
845           `libstatgrab', however SMP support is missing.
846         * The default directories for the RRD files and the PID file now
847           depend on the compile time setting of `localstatedir'.
848
849 2005-11-15, Version 3.4.0 (Revision 236)
850         * A PID-file is written to /var/run upon startup. Thanks to `Tommie'
851           from gentoo's bugzilla for writing the patch.
852         * The build dependency for librrd has been removed. Binaries built
853           without librrd are client-only and will multicast their value as
854           with the `-c' argument.
855         * A patch by Peter Holik adds a module for monitoring CPU frequencies.
856         * The newly introduced `-f' switch prevents daemon initialization
857           (forking, closing standard filehandles, etc.) Thanks to Alvaro
858           Barcellos for this patch.
859
860 2005-11-04, Version 3.3.0 (Revision 216)
861         * New modules have been added:
862           - `serial', for monitoring traffic on the serial interfaces
863           - `nfs', for graphing NFS procedure calls
864           - `tape', traffic from/to tape devices
865         * The memory.rrd now accepts more than 4Gig of memory.
866
867 2005-10-26, Version 3.2.0 (Revision 200)
868         * Support for graphing the processes has been added (thanks to Lyonel
869           Vincent)
870         * If reading from hddtemp fails collectd will increase the time
871           between polls up to one day.
872         * The init.d files have been improved.
873         * Problems with the spec file have been fixed.
874
875 2005-10-16, Version 3.1.0 (Revision 194)
876         * Added the `setsid' syscall to the startup code.
877         * Support for hddtemp has been added (thanks to Vincent Stehlé)
878
879 2005-09-30, Version 3.0.0 (Revision 184)
880         * The ability to send/receive data to/from the network (think
881           multicast) has been added.
882         * Modules have been split up into shared libraries can be loaded at
883           runtime. The biggest advantage is that the core program doesn't need
884           to be linked against an external library.
885         * A patch by George Kargiotakis has been applied: It fixes the sensors
886           behaviour then more than one sensor is being queried.
887
888 2005-09-16, Version 2.1.0 (Revision 172)
889         * A module for swap statistics has been added.
890
891 2005-09-09, Version 2.0.0 (Revision 135)
892         * Filenames can no longer be configured at program startup. The only
893           options as of this version are the directory and ping hosts.
894         * CPU statistics now include Wait-IO. If provided under Linux IRQ and
895           Soft-IRQ statistics are added to `System'. 
896         * Diskstats now collect read and write bytes, not sectors.
897         * Ping statistics can now be collected for more than one host. There
898           is no default any more: If no host is given no host will be pinged.
899         * A self-written patch for libping has been applied so it builds
900           cleanly.
901
902 2005-09-01, Version 1.8.1 (Revision 123)
903         * Much improved configure-script: libraries and features may now be
904           disabled.
905         * More detailed warnings/error messages when RRD update fails.
906
907 2005-08-29, Version 1.8.0:
908         * Support for collecting disk statistics under Solaris.
909
910 2005-08-25, Version 1.7.0:
911         * Support for libstatgrab[1] for load, memory usage and network
912           traffic. CPU- and disk-usage are not (yet) supported, since
913           libstatgrab returns insufficient information. I will contact the
914           authors.
915         * Improved the CPU-initialization code for Solaris. Apparently CPUs
916           aren't necessarily counted linear which is now handled correctly.
917         [1]: http://www.i-scream.org/libstatgrab/
918
919 2005-08-21, Version 1.6.0:
920         * Basic support for Solaris: System load and cpu-usage can be
921           collected under Solaris, too. Other stats will follow later.
922         * Many fixes in the autoconf-script
923         * Collection/Museum scripts have been added under contrib/museum
924         * collectd may now be started in unprivileged mode, though ping
925           statistics will not work.
926
927 2005-07-17, Version 1.5.1:
928         * Diskstats-RRDs now use major/minor for naming. Some systems have
929           weird strings as disk-names..
930
931 2005-07-17, Version 1.5:
932         * A new module, diskstats, has been added. It collects information
933           about the disks and partitions.
934
935 2005-07-11, Version 1.4.2:
936         * The meminfo module has been changed to work with more platforms
937           and/or kernel versions.
938
939 2005-07-10, Version 1.4.1: Correct traffic stats
940         * The traffic rrd-file is now created with DS-type `COUNTER' which I
941           forgot to correct when I changed that module.
942
943 2005-07-09, Version 1.4: More traffic stats
944         * Traffic is now collected for all interfaces that can be found
945         * Temperature-statistics are read from lm-sensors if available
946
947 2005-07-08, Version 1.3: CPU stats
948         * Collecting CPU statistics now
949
950 2004-07-12, Version 1.2: Using syslog
951         * collectd is now using the syslog facility to report errors, warnings
952           and the like..
953         * The default directory is now /var/db/collectd
954
955 2004-07-10, Version 1.1: Minor changes
956         * Nothing really useful to say ;)
957
958 2004-07-09, Version 1.0: Initial Version
959         * The following modules are provided:
960           * Load average
961           * Ping time
962           * Traffic
963           * Memory info