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