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