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

Ionel GARDAIS ionel.gardais at geomath.fr
Fri Sep 2 09:10:38 MEST 2005


Hi Pavel,

Working with SNMP v1 or v2c both return counter32 values :

[gardais at br40st11 ~]$ snmpget -c public -v 1 res0-foundry1 ifOutOctets.513
IF-MIB::ifOutOctets.513 = Counter32: 1398061606
[gardais at br40st11 ~]$ snmpget -c public -v 2c res0-foundry1 ifOutOctets.513
IF-MIB::ifOutOctets.513 = Counter32: 1398282706

Is this an MRTG internal cooking ?

Pavel Ruzicka wrote:

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

-- 
Ionel GARDAIS ~ ionel.gardais at geomath.fr
Junior System-Network Administrator
Phone	: +33(0)147088131
Fax	: +33(0)147088065

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