Difference between revisions of "Plugin:E-Mail"

From collectd Wiki
Jump to: navigation, search
(Added the "Infobox Plugin" template.)
(Infobox Plugin: Added "Callback=" line.)
Line 2: Line 2:
 
   | Name=E-Mail
 
   | Name=E-Mail
 
   | Type=read
 
   | Type=read
   | Status=style="background-color: rgb(255,232,232);" {{!}} deprecated
+
   | Callbacks={{Callback|config}}, {{Callback|init}}, {{Callback|read}}, {{Callback|shutdown}}
 +
  | Status={{deprecated}}
 
   | FirstVersion=3.11
 
   | FirstVersion=3.11
 
   | Copyright=''2006–2008'' Sebastian Harl
 
   | Copyright=''2006–2008'' Sebastian Harl
Line 8: Line 9:
 
   | Manpage=[http://collectd.org/documentation/manpages/collectd.conf.5.shtml#plugin_email collectd.conf(5)]<br />[http://collectd.org/documentation/manpages/collectd-email.5.shtml collectd-email(5)]
 
   | Manpage=[http://collectd.org/documentation/manpages/collectd.conf.5.shtml#plugin_email collectd.conf(5)]<br />[http://collectd.org/documentation/manpages/collectd-email.5.shtml collectd-email(5)]
 
}}
 
}}
== Description ==
+
The '''E-Mail plugin''' opens a UNIX domain socket and starts accepting connections on that socket. Clients can connect to this socket and submit statistics about email messages. A sample plugin for [http://spamassassin.apache.org/ SpamAssassin] can be found in <code>contrib/SpamAssassin/</code>.
 
 
The <em>E-Mail</em> plugin opens a UNIX domain socket and starts accepting connections on that socket. Clients can connect to this socket and submit statistics about email messages. A sample plugin for [http://spamassassin.apache.org/ SpamAssassin] can be found in <code>contrib/SpamAssassin/</code>.
 
  
 
Use of this plugin is <strong>deprecated</strong>. If you want to submit statistics to the daemon, for example about email messages, please use the [[Plugin:UnixSock|UnixSock]] plugin instead.
 
Use of this plugin is <strong>deprecated</strong>. If you want to submit statistics to the daemon, for example about email messages, please use the [[Plugin:UnixSock|UnixSock]] plugin instead.

Revision as of 21:41, 29 August 2009

E-Mail plugin
Type: read
Callbacks: config, init, read, shutdown
Status: deprecated
First version: 3.11
Copyright: 2006–2008 Sebastian Harl
License: GPLv2
Manpage: collectd.conf(5)
collectd-email(5)
List of Plugins

The E-Mail plugin opens a UNIX domain socket and starts accepting connections on that socket. Clients can connect to this socket and submit statistics about email messages. A sample plugin for SpamAssassin can be found in contrib/SpamAssassin/.

Use of this plugin is deprecated. If you want to submit statistics to the daemon, for example about email messages, please use the UnixSock plugin instead.

Unfortunately most mail transfer agents (MTAs, also often inaccurately called "mail servers") do not offer an interface to get some statistics out of them. You can, however, use the Tail plugin to get statistics such as "number of rejected mails per second" out of the log files. Other information, such as the current queue length, may be acquired by the FileCount plugin.

Synopsis

<Plugin email>
  SocketFile "/var/run/collectd-email"
  SocketGroup "mail"
  SocketPerms 660
  MaxConns 4
</Plugin>

Example graphs

None yet. Add one now!

Dependencies

  • none