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

Paul C. Williamson pwilliamson at mandtbank.com
Tue Mar 27 23:06:12 MEST 2001


Ah, I had forgotten about that.  For me, it was much easier to just 
switch over to RRDTool where you can do that kind of stuff right 
out of the box...

Paul

>>> Vargas Miguel <mvargas at tnsi.com> 03/27/01 03:45PM >>>

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