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