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