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