[collectd] notify_email plugin

Oleg King king2 at kaluga.ru
Wed Jun 4 02:33:01 CEST 2008


Hello!

  I wrote a new plugin - notify_email.
  This plugin notifies 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.


-- 
WBR,
 Oleg                          mailto:king2 at kaluga.ru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: notify_email.c
Type: application/octet-stream
Size: 8372 bytes
Desc: not available
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20080604/1d816c92/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: notify_email.diff
Type: application/octet-stream
Size: 4289 bytes
Desc: not available
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20080604/1d816c92/attachment-0003.obj 


More information about the collectd mailing list