Am 08.05.2013 10:25, schrieb Jan-Frode Myklebust:
On Mon, May 6, 2013 at 4:37 PM, Timo Sirainen tss@iki.fi wrote:
On 29.4.2013, at 15.30, Jan-Frode Myklebust janfrode@tanso.net wrote:
Is it possible to collect info about POP3 and LMTP commands also ?
No. I think they would be pretty boring statistics, since with POP3 pretty much everything causing disk I/O or CPU usage would be RETRs and with LMTP everything would be DATAs.
I think knowing the timings of writing messages to disk / reading from disk would be very interesting and relevant data. Especially for us with mostly POP3 clients, where LMTP DATAs and POP3 RETRs probably is accounting for major parts of the server load.
no urgent need for stats i count pop3 logins with xymon out of syslog in realtime, also logwatch reports lmtp/pop3/imap daily for each user by cron in daily terms
perhaps have a look at
http://sys4.de/de/blog/2013/01/10/xymon-dovecot-count-imap-pop3-logins-graph...
if you have xymon monitoring etc installed you have other stuff like cpu , mem, disk io too
i ll plan to write some solution for xymon retrieve data out of dovecot stats too
Also, is "doveadm stats dump command" telling me the results of all commands that has finished the last stats_command_min_time, or will it maybe contain much more than 1 minute of activity ?
It can contain much more. The stats process will keep as much data in memory as possible until it reaches the stats_memory_limit. The doveadm stats dump lists everything that the stats process knows.
Ok, then I guess we'll need to limit our stats dumps based on last_seen.
-jf
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: Florian Kirstein