[mrtg] Re: Reverse graphic

Rippe, Mark (CCI-New England) Mark.Rippe at cox.com
Tue Mar 11 20:16:13 MET 2003


from the mrtg docs.


Reversing

Sometimes you are sitting on the wrong side of the link, and you would like to have mrtg report Incoming traffic as Outgoing and vice versa. This can be achieved by adding the '-' sign in front of the ``Target'' description. It flips the incoming and outgoing traffic rates. 
Example:

 Target[ezci]: -1:public at ezci-ether.ethz.ch



mark.rippe at cox.com

Someone who says little things don't bother them 
has never tried to sleep in a room 
with one mosquito.


-----Original Message-----
From: Michael Earls [mailto:Michael.Earls at cchmc.org]
Sent: Tuesday, March 11, 2003 2:03 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Reverse graphic


On the subject of reverse graphing, how can I get the graph to display
traffic reversed  
traffic into is now traffic out
traffic out is now in
 
Target[isp]: \FastEthernet2/0:public at router.com:
SetEnv[isp]: MRTG_INT_IP="ip" MRTG_INT_DESCR="FastEthernet2/0"
Directory[isp]: isp
MaxBytes[isp]: 1250000
Title[isp]: Traffic Analysis for FastEthernet2/0 -- 
PageTop[isp]: <H1>Traffic Analysis for FastEthernet2/0 -- </H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>7200</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>Michael Earls </TD></TR>
   <TR><TD>Description:</TD><TD>FastEthernet2/0 Outside
public</TD></TR>
   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
   <TR><TD>ifName:</TD>     <TD>Fa2/0</TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>1250.0 kBytes/s</TD></TR>
   <TR><TD>Ip:</TD>         <TD>ip</TD></TR>
 </TABLE>
 
Thanks,
 
Michael
 
PGP Info: KeyID 0x5EB59708 Fingerprint 108B A1D8 76F5 08A8 501A F28C
86F4 4BC5 5EB5 9708 


--
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

--
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