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