[mrtg] Re: wrap redux

Simon Leinen simon at limmat.switch.ch
Mon May 29 19:05:55 MEST 2000


Randy,

as an alternative to polling more often, you can also use 64-bit
counters if your agent supports these (and (Community-Based) SNMPv2).
See
	http://www.ee.ethz.ch/~slist/mrtg/msg03369.html

I admit that this is awkward to set up, but I'm fairly confident that
it solves your problem and works until at least the OC-192/10GigE
range (beyond which you'll run into other limitations of MRTG) without
requiring additional SNMP traffic (well except for the Counter64 OIDs
and return values which will take up a couple more bytes).

The OIDs for the Counter64 versions of the popular if{In,Out}Octets
columns are:

ifHCInOctets    1.3.6.1.2.1.31.1.1.1.6
ifHCOutOctets    1.3.6.1.2.1.31.1.1.1.10

Thus, if your router's 10GigE interface has ifIndex 4, then your
configuration might contain something like this:

Target[tengig]: 1.3.6.1.2.1.31.1.1.1.6.4&1.3.6.1.2.1.31.1.1.1.10.4:foo at router::::2
MaxBytes[tengig]: 1250000000
...

Remember that you need the latest SNMP code from
	http://www.switch.ch/misc/leinen/snmp/perl/
for this to work.

Hope this helps,
-- 
Simon Leinen				       simon at babar.switch.ch
SWITCH				   http://www.switch.ch/misc/leinen/

	    Who is General Failure & why's he reading my disk?

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



More information about the mrtg mailing list