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