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