[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
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
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
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
On 9/28/2010 3:34 AM, Martin Waschbüsch wrote:
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
(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:
I wrote two scripts, which you can use with the stats plugin enabled to get a better "doveadm stats top" than it currently is:
http://dovecot.org/tools/stats-top.pl http://dovecot.org/tools/stats.pl
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:
On 9/28/2010 3:34 AM, Martin Waschbüsch wrote:
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
(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:
I wrote two scripts, which you can use with the stats plugin enabled to get a better "doveadm stats top" than it currently is:
http://dovecot.org/tools/stats-top.pl http://dovecot.org/tools/stats.pl
Mostly I'm looking for a way to track the number of connections in use.
participants (4)
-
Davide
-
Martin Waschbüsch
-
Mohit Chawla
-
Thomas Harold