Re: [Exim] Monitoring

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: michael
Data:  
Para: exim-users
Asunto: Re: [Exim] Monitoring
> Whats the best monitoring tool with Exim?
> I have seen MRTG graphs for qmail, showing queue-size, concurrency =
> remote, concurrency local deliveries,
> no of smtp connnetions etc.
> How would i achieve something similar in Exim


MRTG can use shell commands as data source, so there is no problem
in monitoring any value you want. I get the queue size with:

n=`find /var/exim/spool/input -name '*-H' -print 2>/dev/null | wc -l`

Now I am sure that someone will again mention you how expensive that is.
It's not, unless the directory entries don't fit in your dentry cache,
but in that case you have a bigger problem than the above taking long.
I use this with queues up to >100k messages and it works just fine.

Michael