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