[Dovecot] IMAP monitoring

Robert Schetterer rs at sys4.de
Fri Apr 19 13:18:43 EEST 2013


Am 19.04.2013 08:11, schrieb Joseph Tam:
>> From: pvsuja <pvsuja at gmail.com>
>>
>> I want to get some statistics of dovecot IMAP server like the number of
>> current IMAP connections, who is logged in to the Dovecot server,
> 
>     doveadm who
> 
>> bandwidth usage.
> 
> You can sort of get that from the logs.  For example, from my logs
> 
>     Apr 18 23:08:19 server dovecot: imap(user): Disconnected: Logged out
> in=9516 out=89038
> 
> telling you how many bytes tranferred in and out during the session.
> 
>> Is there any utility which does this sort of full monitoring?
>> I tried doveadm who to get the details of logged in users.
>> but its not returning any output even though i am logged in to the
>> server.
> 
> "doveadm who" ought to work.  What does it return?
> 
> Joseph Tam <jtam.home at gmail.com>

you might use the stats plugin

http://wiki2.dovecot.org/Statistics

and/or collect something from rsyslog etc with different tools, nagios,
zabbix, xymon etc

see screenshot

http://sys4.de/de/blog/2013/01/10/xymon-dovecot-count-imap-pop3-logins-graph-central-rsyslog-server-ubuntu-lucid/




Best Regards
MfG Robert Schetterer

-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Joerg Heidrich


More information about the dovecot mailing list