[Dovecot] traffic statistics
Hi all,
Does anyone know a good tool to gather traffic statistics for imap? And what level of logging would I need to set for dovecot to make it happen. Ideally this would be able to filter per domain, too. ;-)
Thanks a lot,
Martin
-- Martin Waschbüsch IT-Dienstleistungen Lautensackstr. 16 80687 München
Telefon: +49 89 57005708 Fax: +49 89 57868023 Mobil: +49 170 2189794 martin@waschbuesch.de http://martin.waschbuesch.de
How about collectd ( http://collectd.org/ ) ?
2010/9/26 Martin Waschbüsch <martin@waschbuesch.de>
Am 26.09.2010 um 08:30 schrieb Mohit Chawla:
How about collectd ( http://collectd.org/ ) ?
Looks like a good package, but I could not find a dovecot plugin? If you know of such an extension, that'd be awesome!
Martin
Yup, there is no dovecot plugin, but for example, if you load the iptables plugin, you can collect stats for port on which dovecot runs, use the file count plugin to collect stats about the number of messages and so on.
Also, if you have some in house C/perl devs, then writing a plugin (and sharing it !) shouldn't be difficult.
2010/9/28 Martin Waschbüsch <martin@waschbuesch.de>
On 9/28/2010 3:34 AM, Martin Waschbüsch wrote:
(Since I'm setting up collectd this week, I'll resurrect this thread.)
My guess is that you could re-use something similar to the one that I found for postfix tracking. It uses the 'tail' plugin of collectd and watches the /var/log/maillog file (on CentOS/RHEL).
https://github.com/creckx/CollectdGraphs/blob/master/collectd_graphs/doc/col...
Timo also posted two scripts last year, which I have yet to play with:
Mostly I'm looking for a way to track the number of connections in use.
In Timo' scripts there is also reference to tab-formatter.pl which is an extra script downlodable from http://www.dovecot.org/tools/ Il 27/06/2013 22:42, Thomas Harold ha scritto:
participants (4)
-
Davide
-
Martin Waschbüsch
-
Mohit Chawla
-
Thomas Harold