Re: [EXIM] Monitoring EXIM throughput stats

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Mark Guz
Cc: exim-users
Asunto: Re: [EXIM] Monitoring EXIM throughput stats
On Wed, 25 Nov 1998, Mark Guz wrote:

> I am trying to hack MRTG to monitor the in/out traffic levels on EXIM.
>
> I kind of have it working, but its a bit of a cludge which involves parsing
> the output of eximstat taking the total in and the total out , subtracting
> the last reading i took and getting the 5min traffic level. This becomes
> even more fun when the counter resets at midnight.
>
> Is there a more elegant way of doing this?


The exim monitor does this by continuously reading the Exim log file and
maintaining its own counts. Check the source to see how it handles
things when the log gets cycled. The relevant file is
exim_monitor/em_log.c, right down at the end.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



--
*** Exim information can be found at http://www.exim.org/ ***