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