[collectd-changes] collectd, the system statistics collection daemon: Changes to 'master'

Florian Forster octo at verplant.org
Mon Feb 4 17:40:30 CET 2008


 ChangeLog                 |    9 +-
 bindings/perl/Collectd.pm |   30 +++++-
 src/collectd-perl.pod     |   65 +++++++++++++--
 src/perl.c                |  199 +++++++++++++++++++++++++++++++++++++++++++++-
 4 files changed, 282 insertions(+), 21 deletions(-)

New commits:
commit 16720ffbc177d2f998c1d4c86aed6699cdc0b8af
Author: Sebastian Harl <sh at tokkee.org>
Date:   Tue Jan 29 02:12:17 2008 +0100

    Collectd.pm: Use $interval_g instead of a hard-coded value.
    
    The hard-coded value was still legacy code from the time before the global
    variables have been exported to Perl.
    
    Signed-off-by: Sebastian Harl <sh at tokkee.org>
    Signed-off-by: Florian Forster <octo at huhu.verplant.org>

commit ea4449a34b67428739a8420cfc70770c47099b91
Author: Sebastian Harl <sh at tokkee.org>
Date:   Tue Jan 29 02:11:00 2008 +0100

    perl.c: Unregister notifications in perl_shutdown().
    
    Signed-off-by: Sebastian Harl <sh at tokkee.org>
    Signed-off-by: Florian Forster <octo at huhu.verplant.org>

commit a31f60a6a3310b4067c496d74868c92c5d5b9a52
Author: Sebastian Harl <sh at tokkee.org>
Date:   Tue Jan 29 02:10:13 2008 +0100

    perl plugin: Fixed a bug in Collectd::plugin_unregister_data_set().
    
    The function tried to access a nonexistent second argument.
    
    Signed-off-by: Sebastian Harl <sh at tokkee.org>
    Signed-off-by: Florian Forster <octo at huhu.verplant.org>

commit f4e4ec1d94cbeac4cb59a6d282091d097be5e25d
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Jan 28 12:23:55 2008 +0100

    collectd-perl(5): Added documentation for the notification support.
    
    Some minor errors have been fixed as well and the ChangeLog has been updated.
    
    Signed-off-by: Sebastian Harl <sh at tokkee.org>
    Signed-off-by: Florian Forster <octo at huhu.verplant.org>

commit 91da0566d4deed97ef6d122d02c7de8a8736a882
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Jan 28 12:23:10 2008 +0100

    perl plugin: Exported plugin_dispatch_notification() to Perl.
    
    This adds the following function to collectd's Perl API:
    
    Collectd::plugin_dispatch_notification:
      submit a notification to collectd's notification mechanism
    
      arguments:
      notif - notification
    
    A notification is a reference to a hash with the following members:
      severity => $severity (default: NOTIF_FAILURE)
      time     => $time (default: time (NULL))
      message  => $msg
      host     => $host (default: hostname_g)
      plugin   => $plugin
      type     => $type
      plugin_instance => $instance
      type_instance   => $type_instance
    
    The severity should be any of the Collectd::NOTIF_* constants.
    
    Signed-off-by: Sebastian Harl <sh at tokkee.org>
    Signed-off-by: Florian Forster <octo at huhu.verplant.org>

commit 994a59d82c39b8cd5718be7574f11bd184e88b6e
Author: Sebastian Harl <sh at tokkee.org>
Date:   Mon Jan 28 12:20:29 2008 +0100

    perl plugin: Added support to dispatch notifications to Perl plugins.
    
    Perl plugin may now register a callback of type Collectd::TYPE_NOTIF which
    accepts a single hash argument with the following members:
    
      severity
      time
      message
      host
      plugin
      plugin_instance
      type
      type_instance
    
    Severity may be any of the following values (exported by the "notif" tag):
    
      Collectd::NOTIF_FAILURE
      Collectd::NOTIF_WARNING
      Collectd::NOTIF_OKAY
    
    Signed-off-by: Sebastian Harl <sh at tokkee.org>
    Signed-off-by: Florian Forster <octo at huhu.verplant.org>

commit e5c14a824f08a07f0cd922634a6c8900e8a1005a
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sun Jan 27 23:04:13 2008 +0100

    ChangeLog: Describe changes to the perl plugin in more detail.
    
    Signed-off-by: Sebastian Harl <sh at tokkee.org>
    Signed-off-by: Florian Forster <octo at huhu.verplant.org>




More information about the collectd-changes mailing list