[mrtg] Re: How to sum up In & Out

Vargas Miguel mvargas at tnsi.com
Tue Mar 27 22:45:00 MEST 2001


That's almost correct.  mrtg in it's native form has a third line called
dorelpercent, it shows in/out.  You could try to modify the formula in
rateup.c (around line 525) to make it (outr+inr)/maxvalue*100, and then
recompile.  I tried to do this but I couldn't figure out what variable had
the maxvalue. 

Please let me know if you figure it out,
thanks

> -----Original Message-----
> From:	Paul C. Williamson [SMTP:pwilliamson at mandtbank.com]
> Sent:	Tuesday, March 27, 2001 3:29 PM
> To:	Shoaib.Muhammad at fronteracorp.com; mrtg at list.ee.ethz.ch
> Subject:	[mrtg] Re: How to sum up In & Out
> 
> 
> Get RRDTool.  MRTG in its "native" (.log) format only does 2 lines.
> 
> Paul
> 
> >>> Shoaib Muhammad <Shoaib.Muhammad at fronteracorp.com> 03/27/01 02:53PM
> >>>
> Hi,
> 
> Is it possible to add a third line in an MRTG graph which show the sum of
> In(Blue) & Out(Green) on the same or different graph.
> 
> TIA,
> 
> Shoaib

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list