Re: [Exim] Monitoring

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Davidson Thaba
Datum:  
To: michael, exim-users
Betreff: Re: [Exim] Monitoring
> n=`find /var/exim/spool/input -name '*-H' -print 2>/dev/null | wc -l

what about
n=`/usr/local/exim/bin/exim -bpc`


----- Original Message -----
From: <michael@???>
To: <exim-users@???>
Sent: Sunday, September 23, 2001 12:49 AM
Subject: 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
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>