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