Re: [exim] email count per unit time

2015-09-15 Thread Matthew Newton
On Tue, Sep 15, 2015 at 01:54:22PM +0100, Graeme Fowler wrote: > If you want whistles, buzzers & bells, start here: > > https://graemef.wordpress.com/tech-stuff/exim-logstash/ this. Matthew -- Matthew Newton, Ph.D. Systems Specialist, Infrastructure Services, I.T. Services, Univer

Re: [exim] email count per unit time

2015-09-15 Thread Graeme Fowler
Howdy On 11 Sep 2015, at 10:35, John wrote: > Is there an easy way of measuring the number of emails handled by the server > per unit time? Per day, week, month, ever. Many, as others have pointed out. If you want whistles, buzzers & bells, start here: https://graemef.wordpress.com/tech-stuff/e

Re: [exim] email count per unit time

2015-09-14 Thread Always Learning
On Mon, 2015-09-14 at 20:23 +, Jon Gerdes wrote: > See http://www.net-snmp.org/docs/man/snmpd.conf.html halfway down under > Log File Monitoring. It's a well hidden feature! > > If you find the default logs a pain to parse, you can make use of > log_message to create custom entries, startin

Re: [exim] email count per unit time

2015-09-14 Thread Jon Gerdes
On Fri, 2015-09-11 at 10:35 +0100, John wrote: > Hello list, > > Is there an easy way of measuring the number of emails handled by the > server > per unit time? Per day, week, month, ever. > > The server is also an smtp smarthost for a number of other servers so > these > would need to be counted a

Re: [exim] email count per unit time

2015-09-14 Thread John
Hi, thanks everyone. I had forgotten about eximstats! Completely forgot about the statistical part of exim. Initially thought I'd have to do something with grep sed awk etc, whoops. thanks again, -- John -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at

Re: [exim] email count per unit time

2015-09-14 Thread Ian Eiloart
> On 11 Sep 2015, at 10:35, John wrote: > > Hello list, > > Is there an easy way of measuring the number of emails handled by the server > per unit time? Per day, week, month, ever. > > The server is also an smtp smarthost for a number of other servers so these > would need to be counted as we

Re: [exim] email count per unit time

2015-09-14 Thread Jasen Betts
On 2015-09-11, John wrote: > Hello list, > > Is there an easy way of measuring the number of emails handled by the server > per unit time? Per day, week, month, ever. grep ' <= ' /var/log/exim/mainlog.1 | wc -l store results with timestamp. rotate logs daily. -- \_(ツ)_ -- ## List details

Re: [exim] email count per unit time

2015-09-14 Thread Haynes, Jonathan
: Exim-users [mailto:exim-users- > bounces+j.haynes=cranfield.ac...@exim.org] On Behalf Of John > Sent: 11 September 2015 10:35 > To: exim-users@exim.org > Subject: [exim] email count per unit time > > Hello list, > > Is there an easy way of measuring the number of emails hand

Re: [exim] email count per unit time

2015-09-14 Thread Jeremy Harris
On 11/09/15 10:35, John wrote: > Is there an easy way of measuring the number of emails handled by the server > per unit time? Per day, week, month, ever. If you want accurate totals you'll need to post-process your logs. That could be as simple as "grep '<=' | wc -l". If a decaying average is en

Re: [exim] email count per unit time

2015-09-14 Thread Kurt Jaeger
Hi! > Is there an easy way of measuring the number of emails handled by the server > per unit time? Per day, week, month, ever. > > The server is also an smtp smarthost for a number of other servers so these > would need to be counted as well as those sent/received locally. There's http://mailgr

[exim] email count per unit time

2015-09-14 Thread John
Hello list, Is there an easy way of measuring the number of emails handled by the server per unit time? Per day, week, month, ever. The server is also an smtp smarthost for a number of other servers so these would need to be counted as well as those sent/received locally. Many thanks, -- John