[exim] exim "top" utility

Góra strony
Delete this message
Reply to this message
Autor: Matthew Newton
Data:  
Dla: exim-users
Temat: [exim] exim "top" utility
Hi all,

I've been looking around the web to find a utility that will
display the current mail moving through an exim server, similar to
the "top" utility, or "ratop" for network data (Argus). As I
couldn't find anything, I've written something myself.

It displays the most frequent (for the last 5 minutes) of sending
address, domain, host, subject, and receiving address, domain and
host in the terminal window. So far it seems fairly good in what
it does, but there are many improvements that can be made, I'm
sure.

If you want to play it's available from the following URL. I'd be
interested in feedback for how to improve it, or ways of detecting
anomalies in the data (for alerting purposes).

http://www.le.ac.uk/its/mcn4/exitop/

It currently has to be fed data, so, as all our mail servers
syslog to a common location, I run it with

tail -n10000 -f /mail/log/dir/*mail | syslog2exim | exitop

where -n10000 means you get some instant results, and syslog2exim
converts back to exim log format (small utility I wrote, on the
web site).

Hope it's useful to someone.

Cheers,

Matthew


--
Matthew Newton, Ph.D. <mcn4@???>

Systems Architect (UNIX and Networks), Network Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

"Times Higher Education University of the Year 2008"