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

Florian Forster octo at verplant.org
Wed Jun 4 15:51:07 CEST 2008


 configure.in         |   40 +++++++
 src/Makefile.am      |    8 ++
 src/collectd.conf.in |   13 +++
 src/notify_email.c   |  287 ++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 348 insertions(+), 0 deletions(-)

New commits:
commit ae038d061614f75eacd04dc2f46cf2034e2530f4
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Wed Jun 4 15:50:56 2008 +0200

    notify_email plugin: Renamed some configuration options.
    
    SMTPHost    -> SMTPServer
    SMTPFrom    -> From
    SMTPSubject -> Subject
    EmailTo     -> Recipient

commit 1795f8bca674517bb2807b60d954803966caf74d
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Wed Jun 4 15:45:10 2008 +0200

    notify_email plugin: Renamed the `emails' variable to `recipients'.
    
    This is much easier to understand.

commit af8a7aed88f5173ca53453841557969497b85357
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Wed Jun 4 15:41:43 2008 +0200

    notify_email plugin: Some minor code cleanup.

commit 1266e5222769187a1dfddd323b690e1b2b2d131d
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Wed Jun 4 15:32:40 2008 +0200

    notify_email plugin: Replace all sprintf's with ssnprintf's.
    
    Some other buffer handling has been improved, too.

commit a1dd93a24121e1b11406fdeb94954900bc9774aa
Author: Oleg King <king2 at kaluga.ru>
Date:   Wed Jun 4 15:22:45 2008 +0200

    notify_email plugin: Add plugin to send notifications via email.
    
    Hello, Collectd.
    
    I wrote a new plugin - notify_email.
    
    This plugin will notify you when threshold conditions are met - one email per
    one threshold notify. Email can be sent more then one recipient. Plugin does
    this by initiating SMTP session to specified SMTP server (it can also do SMTP
    AUTH if needed).
    
    Plugin uses libesmtp library.
    
    Please note:
      1. SMTPFrom value sometimes is checked by SMTP server - you
         can get failure from SMTP server if you are using not-existent
         email.
    
      2. SMTPSubject can contain two '%s' - first for severity and
         second for hostname.
    
      3. Hostname used in SMTP connection - is hostname_g, hostname
         that is used for all collectd host identification. If it cannot
         be resolved by internet DNS - you can expect problems when sending
         emails.
    
    Patch and new file are included as attach.




More information about the collectd-changes mailing list