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

Daniel J McDonald dan.mcdonald at austinenergy.com
Fri Sep 2 14:31:10 MEST 2005


On Fri, 2005-09-02 at 09:10 +0200, Ionel GARDAIS wrote:
> 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 ?

Yes, when snmpv2 is attempted, mrtg probes to see if ifHCInOctets exists
and is reasonable.  If so, the HC counters are polled instead of the v1
ifInOctets oid.


-- 
Daniel J McDonald, CCIE # 2495, CNX, CISSP # 78281
Austin Energy

dan.mcdonald at austinenergy.com

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