[mrtg] Re: If[In|Out]Octets seems to return bits intead of bytes

Pavel Ruzicka pavouk at pavouk.org
Thu Sep 1 17:09:04 MEST 2005


> >When I retrieve the ifInOctets and ifOutOctets of one port, graphed
> >traffic does not exceed 13MB/s.
> >I have to multiply the retrieved values by 8 to get a somewhat realistic
> >100MB/s.

You must read 64 bit counters ifhcinoctets and ifhcoutoctets.
Add :::::2 to your target. This enables SNMP version 2 and 64bit counters.
If you use cfgmaker, add option: --snmp-options=:::::2

Best regards,

Pavel Ruzicka

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



More information about the mrtg mailing list