[mrtg] Re: In/Out in to difrend graphic

Fruitman, Corey Corey.Fruitman at allstream.com
Fri Oct 8 16:28:17 MEST 2004


Hi Bastiaan,

If you poll ifInOctets and ifOutOctets as two separate targets, you'll get the results you're looking for.

You have to poll two MIBs per target, so just make both of them the same.

Try this:

Target[eth0_t_in]: 	ifInOctets.2&ifInOctets.2:public at localhost
Target[eth0_t_out]: 	ifOutOctets.2&ifOutOctets.2:public at localhost

Should do the trick.  Hope that helps,
Corey.

-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]On
Behalf Of i @ downfire
Sent: October 8, 2004 1:23 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] In/Out in to difrend graphic


Lo,
I got a script to tell how many inbound and outbound traffic is going over eth0. But when my outbound traffic is high and inboud is low, inbound goes of the scale.
I really don't know how i can tell mrtg to include only inbound or outbound traffic in one graph.

My script is this:
Target[eth0_t]: 2:public at localhost
MaxBytes[eth0_t]: 1250000
Options[eth0_t]: growright,bits,nopercent,nobanner,nolegend,pngdate,noborder
Suppress[eth0_t]: ymw
PNGTitle[eth0_t]: NETWORK TRAFFIC
Background[eth0_t]: #FFFFFF
ShortLegend[eth0_t]: Traffic /s
YLegend[eth0_t]: Traffic /s
Title[eth0_t]: Traffic

Can someone help me with this problem ?

Thanks,
Bastiaan

Downfire.com
--
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