[collectd-changes] collectd, the system statistics collection daemon: Changes to 'refs/tags/collectd-4.3.2'

Florian Forster octo at verplant.org
Sat Mar 29 11:31:32 CET 2008


Tag 'collectd-4.3.2' created by Florian Forster <octo at leeloo.lan.home.verplant.org> at 2008-03-29 10:07 +0100

Tag for version 4.3.2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBH7hT6jvke9ZFSPD0RAnAdAJ4+sq3n7NVQaQPOr9O3QKVVqjfFaACfWYQv
kY2M1GNK5g6PsRbEI/rZ+MU=
=anb5
-----END PGP SIGNATURE-----

Changes since collectd-4.2.6:
Brian Micek (1):
      src/collectd.c: Fix the arguments passed to an error message.

Chris Lalancette (1):
      src/Makefile.am: Fix "make dist" to include utils_threshold.h

Florian Forster (138):
      src/utils_cache.[ch]: Added a global cache for all values that are dispatched.
      src/utils_cache.c: Detect when a counter wraps around
      src/plugin.[ch]: Added a notification type and auxiliary functions.
      src/utils_cache.c: Initialize the mutex correctly.
      src/utils_threshold.c: Added configuration code for threshold values.
      Merge branch 'collectd-4.2'
      src/utils_threshold.[ch]: Added the header file and initialize the AVL tree.
      src/configfile.c: Handle the `<Threshold>' block correctly.
      src/utils_threshold.[ch]: Added `ut_check_threshold' to check values against the configures thesholds.
      src/utils_threshold.c: Added creation of a notification.
      exec plugin: Added markers to fold methods in vim.
      exec plugin: Allow arguments to be passed to the executed scripts.
      configure.in: Fixed spaces followed by tabs and trailing whitespaces.
      Merge branch 'rj/libvirtstats'
      libvirtstats plugin: Minor cleanups.
      configure.in: Change the libvirt detection so it works with my non-standard path.
      libvirtstats plugin: Fix typos and other mistakes.
      configure.in: Improved the detection of libxml2 and libvirt.
      Merge branch 'collectd-4.2'
      libvirt plugin: Renamed the `libvirtstats' plugin to `libvirt'.
      collectd.conf(5): Renamed the `libvirtstats' plugin to `libvirt'.
      csv plugin: Add the possibility to store rates of counter DSes.
      collectd: The new `FQDNLookup' option controls whether or not the FQDN should be used.
      Merge branch 'ff/fqdn'
      src/utils_avltree.h: Improved the documentation.
      Merge branch 'ps/reuse'
      Merge branch 'ps/reuse'
      ntpd plugin: Added the `ReverseLookups' option to disable reverse lookups.
      Merge branch 'ps/reuse'
      disk plugin: Removed the `complain' stuff.
      cpu plugin: Removed the `complain' stuff.
      apcups plugin: Removed the `complain' stuff.
      iptables plugin: Removed the `complain' stuff.
      src/plugin.[ch]: Removed the complain functions.
      Merge branch 'master' of octo at verplant.org:/var/lib/git/collectd
      Merge branch 'collectd-4.2'
      src/utils_cache.[ch]: Added the `uc_check_timeout' function.
      Merge branch 'master' of octo at verplant.org:/var/lib/git/collectd
      utils_{cache,threshold}.[ch]: Implemented the ``check interesting'' function.
      collectd.conf(5): Started documenting the threshold thingy.
      collectd.conf(5): Wrote some more about the threshold configuration..
      src/utils_threshold.c: Corrected and improved the handling of the `invert' setting.
      src/utils_threshold.c: Implemented the new `Persist' option.
      src/utils_threshold.h: Documented the public functions.
      src/utils_cache.[ch]: Implemented uc_[gs]et_state to receive and set the state of a value.
      src/plugin.c: Notification callbacks were added to the wrong linked list.
      logfile plugin: Added a notification plugin.
      src/utils_cache.c: Added the creation of an `OKAY' notification.
      exec plugin: Added the possibility to execute programs upon notifications (EXPERIMENTAL)
      Merge branch 'collectd-4.2'
      src/utils_{cache,threshold}.c: Adapted to the new AVL interface.
      exec plugin: The execution of notification handling programs seems to work now.
      src/utils_cache.c: Call `ut_check_interesting' before sending OKAY notifications, too.
      Merge branch 'collectd-4.2'
      Merge branch 'collectd-4.2'
      libvirt plugin: Updated the copyright notice for 2008.
      Merge branch 'collectd-4.2'
      Merge branch 'collectd-4.2'
      Merge branch 'pull/master'
      collectd-exec(5): Documented the changes due to notifications and the Nagios plugin support.
      TODO: Added some notes on what needs to be done before 4.3
      Merge branch 'collectd-4.2'
      Merge branch 'ff/manpage'
      Merge branch 'collectd-4.2'
      Merge branch 'pull/master'
      AUTHORS: Added Richard Jones.
      ChangeLog: Documented the new features in the master branch so far.
      collectd.conf(5), collectd-exec(5): Documented the `NotificationExec' and `NagiosExec' options.
      collectd: Added ``associative'' members to the notification_t structure.
      liboconfig: Allow the argument list of blocks to be empty.
      src/utils_threshold.c: Check that the <Threshold> block does not have any arguments.
      network plugin: Added support for sending and receiving notifications.
      TODO: Adjusted todo list.
      src/{common,network}.[ch]: Updated copyright information.
      src/liboconfig/parser.y: Updated copyright information.
      TODO: Updated the todo file.
      src/utils_cmd_putnotif.[ch]: Added a new module which handles parsing of notifications from some command line or similar.
      unixsock plugin: Imported the new `putnotif' command from the appropriate module.
      collectd-unixsock(5): Documented the PUTNOTIF command.
      Merge branch 'collectd-4.2'
      Collectd::Unixsock: Added the `putnotif' method to dispatch notifications.
      exec plugin: Implemented the `PUTNOTIF' command for external applications, too.
      logfile plugin: Only print the host field (and other fields) of a notification if they hold any information.
      src/utils_threshold.c: Implemented `warning' and `failure' thresholds.
      TODO: Updated the todo file.
      TODO: Removed the remark about the `libvirt' plugin.
      Collectd::Unixsock: Added license information.
      Merge branch 'collectd-4.2'
      src/configfile.c: Extend the `Include' statement to handle directories, too.
      Merge branch 'master' of octo at verplant.org:/var/lib/git/collectd
      configure: Fix a syntax error.
      src/utils_ignorelist.c: Remove an annoying debug message.
      contrib/exec-munin.px: Fix a typo in the config handling functions.
      contrib/exec-nagios.px: Added a Perl script which handles Nagios plugins.
      src/configfile.c: Use wordexp(3) to expand shell wildcards if available.
      collectd.conf(5), ChangeLog: Documented the new `Include' features.
      exec plugin: Disabled the `NagiosExec' option.
      exec plugin: Changed the format in which notifications are passed to the programs.
      Makefile.am: Create `$(localstatedir)/log' so the logfile plugin works out-of-the-box.
      Merge branch 'master' of octo at verplant.org:/var/lib/git/collectd
      Merge branch 'sh/hddtemp'
      Merge branch 'collectd-4.2'
      exec plugin: Removed the Nagios logic from the plugin.
      Bumped version to 4.3.0; Updated ChangeLog.
      liboconfig: Make sure that option-strings can always be freed.
      src/configfile.c: Fix another access of free'd memory.
      src/collectd.c: Write a more informative error message if looking up the FQDN fails.
      ChangeLog: Removed the legacy message about Nagios integration in the exec plugin.
      Merge branch 'collectd-4.2' into collectd-4.3
      Merge branch 'collectd-4.2' into collectd-4.3
      Merge branch 'collectd-4.2' into collectd-4.3
      src/Makefile.am: Added dependencies on `utils_cmd_putnotif.[ch]' to the exec plugin.
      src/utils_cache.c: Fix SPARC alignment problems.
      Merge branch 'collectd-4.2' into collectd-4.3
      Merge branch 'collectd-4.2' into collectd-4.3
      Merge branch 'collectd-4.2' into collectd-4.3
      src/common.[ch]: Changed the signature of `sstrncpy' to match that of `strncpy'.
      network plugin: Use `sstrncpy' instead of `strncpy'.
      contrib/rrd_filter.px: Renamed the old `extractDS.px'.
      Bumped version to 4.3.1; Updated ChangeLog.
      contrib/rrd_filter.px: Remove the (unused) Data::Dumper.
      src/utils_threshold.c: Fix the configuration of {Failure,Warning}Max and inverted checking.
      contrib/rrd_filter.px: Added a scale and shift filter.
      src/{mbmon,plugin,unixsock}.c: Simple fixes for Solaris 5.8
      contrib/rrd_filter.px: Added the ability to add (empty) data sources.
      src/utils_cache.c: Fix the handling of `Persist'.
      Merge branch 'pull/collectd-4.3' into collectd-4.3
      src/utils_{cache,threshold}.c: Fix the concept of failed and missing values.
      Merge branch 'pull/collectd-4.3' into collectd-4.3
      AUTHORS: Speak about `plugins', not `modules'.
      Merge branch 'collectd-4.2' into collectd-4.3
      contrib/redhat/collectd.spec: Updated the description of the package.
      Merge branch 'collectd-4.2' into collectd-4.3
      utils_cmd_*: Terminate all lines printed to the socket with newline.
      Merge branch 'collectd-4.2' into collectd-4.3
      Merge branch 'pull/collectd-4.3' into collectd-4.3
      Merge branch 'collectd-4.2' into collectd-4.3
      Bumped version to 4.3.2; Updated ChangeLog.

Luke Heberling (2):
      src/utils_llist.[ch]: Changed the semantic so module doesn't copy the `key'.
      src/utils_avltree.[ch]: Change avl_insert to return >0 if the key is already in the tree.

Pavel Shramov (3):
      network plugin: Set SO_REUSEADDR on socket so multiple listeners can share port
      network plugin: Fix setsockopt for SO_REUSEADDR since value of loop variable changed
      contrib/network-proxy.py: Added a simply (unicast) proxy for collectd traffic.

Richard Jones (4):
      uuid plugin: Add a plugin which sets the hostname to an UUID.
      libvirtstats plugin: Added a plugin to collect virtual host statistics.
      libvirtstats plugin: Add the `HostnameFormat' option.
      libvirt plugin: Fix the HostnameFormat option.

Richard Shade (1):
      contrib/redhat/: Added a spec file and affiliated config files.

Sebastian Harl (67):
      configure, perl plugin: Check for ithreads support.
      perl plugin: Use PERL_NO_GET_CONTEXT.
      perl plugin: Added basic multi-threading support.
      bindings/Makefile.am: perl/Makefile depends on config.status.
      perl plugin: Added debugging output to display the ithread behavior.
      Collectd.pm: Check for ithread support.
      README: Added libperl to the list of dependencies.
      Collectd.pm: Removed an unused variable.
      perl plugin: Added Collectd::call_by_name().
      perl plugin: Removed logging calls from call_by_name().
      perl plugin: Removed newline from debugging output.
      Collectd.pm: Use threads::shared to share @plugins between threads.
      collectd-perl(5): Updated documenation of plugin_register().
      Collectd.pm: Improved error handling of failed callbacks.
      collectd-perl(5): Suggest the usage of -f when enabling the Perl debugger.
      src/Makefile.am: Add installation directory defines to AM_CPPFLAGS.
      perl plugin: Execute END blocks in main thread only.
      perl plugin: Fixed error in ithread shutdown loop.
      perl plugin: Shut down an ithread if the embedding pthread terminates.
      perl plugin: Improved some error messages.
      perl plugin: Made global variables available to Perl plugins.
      collectd.conf(5): Fixed some typos.
      logfile plugin: Default to $localstatedir/log/collectd.log instead of STDOUT.
      collectdmon: Added a small daemon monitoring collectd.
      collectdmon(1): Added manpage for collectdmon.
      collectdmon: Added SIGHUP handler to restart collectd.
      perl plugin: Fixed a memory leak in pplugin_register_data_set().
      collectd-perl(5): Replaced "BUGS" with "CAVEATS" section.
      Unmarked the perl plugin to be experimental.
      examples/MyPlugin.pm: Updated for new version of the perl plugin.
      collectd-perl(5): Added a note about submitting plugins.
      Added support for more than one TypesDB file.
      types.db(5): Added a manpage documenting the format of the TypesDB file.
      Fixed some compiler warnings identified by gcc's -Wextra option.
      ChangeLog: Describe changes to the perl plugin in more detail.
      perl plugin: Added support to dispatch notifications to Perl plugins.
      perl plugin: Exported plugin_dispatch_notification() to Perl.
      collectd-perl(5): Added documentation for the notification support.
      perl plugin: Fixed a bug in Collectd::plugin_unregister_data_set().
      perl.c: Unregister notifications in perl_shutdown().
      Collectd.pm: Use $interval_g instead of a hard-coded value.
      exec plugin: Fixed a possible (though very improbable) memory leak.
      plugin.c: Use an AVL tree to store the data sets.
      configure: Warn if librrd is not thread safe.
      README: Updated package description.
      README: Added "uuid" plugin to the list of available plugins.
      collectdmon(1): Added a section about supported signals.
      collectd(1), README: Document notifications and related plugins.
      contrib/examples/: Added an example for a notification callback.
      configure: Correctly handle all cases when using AC_ARG_WITH().
      contrib/README: Removed the section about PerlLib/.
      Updated collectd.conf.in.
      README: Fixed a typo.
      README: Added libxml2 to the list of prerequisites.
      collectd.conf(5): Added a note that libvirt's RefreshInterval may be disabled.
      perl plugin: Do not abort while preparing the stack for a subroutine call.
      hddtemp plugin, collectd.conf(5): Added "TranslateDevicename" config option.
      migrate-3-4.px: Do not translate the disk names used by hddtemp.
      README: Moved "libxml2" from the "Features" section to "Prerequisites".
      configfile.c: Fixed a segfault after a parse error.
      configfile.c: Fixed a memory leak in cf_read_generic().
      configfile.c: Abort if any config file could not be read.
      configfile.c: Include more than one files in lexicographical order.
      perl plugin: Fixed the "EnableDebugger after LoadPlugin" warning.
      utils_cmd_{get,put}val.c: Fixed usage of parse_identifier().
      Collectd::Unixsock: Fixed some typos.
      unixsock plugin: Open two different IO stream handles for reading and writing.

---
 .gitignore                         |    1 +
 AUTHORS                            |   31 +-
 ChangeLog                          |   61 +++
 Makefile.am                        |    4 +-
 README                             |   53 ++-
 TODO                               |   15 +-
 bindings/Makefile.am               |    6 +-
 bindings/perl/Collectd.pm          |  101 ++++-
 bindings/perl/Collectd/Unixsock.pm |  124 +++++-
 configure.in                       |  222 +++++++++-
 contrib/README                     |    9 +-
 contrib/examples/MyPlugin.pm       |   58 ++-
 contrib/examples/myplugin.c        |   46 ++-
 contrib/exec-munin.px              |    2 +-
 contrib/exec-nagios.conf           |   13 +
 contrib/exec-nagios.px             |  395 ++++++++++++++++
 contrib/extractDS.px               |  621 -------------------------
 contrib/migrate-3-4.px             |   10 +-
 contrib/network-proxy.py           |   46 ++
 contrib/redhat/apache.conf         |    8 +
 contrib/redhat/collectd.conf       |  209 +++++++++
 contrib/redhat/collectd.spec       |  410 +++++++++++++++++
 contrib/redhat/email.conf          |    8 +
 contrib/redhat/init.d-collectd     |   68 +++
 contrib/redhat/mysql.conf          |    9 +
 contrib/redhat/nginx.conf          |    8 +
 contrib/redhat/sensors.conf        |    9 +
 contrib/redhat/snmp.conf           |   44 ++
 contrib/rrd_filter.px              |  874 ++++++++++++++++++++++++++++++++++++
 src/Makefile.am                    |   67 ++-
 src/apcups.c                       |   18 +-
 src/battery.c                      |    8 +-
 src/collectd-exec.pod              |  187 +++++++-
 src/collectd-perl.pod              |  174 +++++++-
 src/collectd-snmp.pod              |    2 +-
 src/collectd-unixsock.pod          |   58 +++
 src/collectd.c                     |   76 +++-
 src/collectd.conf.in               |   30 ++-
 src/collectd.conf.pod              |  315 +++++++++++++-
 src/collectd.pod                   |    6 +
 src/collectdmon.c                  |  377 ++++++++++++++++
 src/collectdmon.pod                |   73 +++
 src/common.c                       |   56 ++-
 src/common.h                       |   12 +-
 src/configfile.c                   |  456 ++++++++++++++++---
 src/cpu.c                          |   16 +-
 src/cpufreq.c                      |    4 +-
 src/csv.c                          |   52 ++-
 src/disk.c                         |   27 +-
 src/exec.c                         |  513 ++++++++++++++++++----
 src/hddtemp.c                      |   27 +-
 src/iptables.c                     |   22 +-
 src/irq.c                          |    4 +-
 src/liboconfig/parser.y            |   14 +-
 src/libvirt.c                      |  787 ++++++++++++++++++++++++++++++++
 src/logfile.c                      |   68 +++-
 src/mbmon.c                        |    2 +-
 src/network.c                      |  163 +++++++-
 src/network.h                      |    6 +-
 src/ntpd.c                         |  108 +++--
 src/perl.c                         |  848 +++++++++++++++++++++++++++++------
 src/plugin.c                       |  152 ++++---
 src/plugin.h                       |   31 +-
 src/types.db                       |   12 +-
 src/types.db.pod                   |   51 +++
 src/types_list.c                   |   11 +-
 src/types_list.h                   |    2 +-
 src/unixsock.c                     |   15 +-
 src/utils_avltree.c                |   14 +-
 src/utils_avltree.h                |   13 +-
 src/utils_cache.c                  |  548 ++++++++++++++++++++++
 src/utils_cache.h                  |   41 ++
 src/utils_cmd_putnotif.c           |  171 +++++++
 src/utils_cmd_putnotif.h           |   31 ++
 src/utils_cmd_putval.c             |   26 +-
 src/utils_dns.c                    |   11 +-
 src/utils_ignorelist.c             |    4 -
 src/utils_llist.c                  |   29 +-
 src/utils_llist.h                  |    4 +-
 src/utils_threshold.c              |  748 ++++++++++++++++++++++++++++++
 src/utils_threshold.h              |   57 +++
 src/uuid.c                         |  289 ++++++++++++
 version-gen.sh                     |    2 +-
 83 files changed, 8930 insertions(+), 1373 deletions(-)
---



More information about the collectd-changes mailing list