On Fri, Nov 21, 2008 at 01:39:40AM +0530, Ambika Tripathy wrote:
> Hi,
> 
> I have one perl script which uses to get the ifInOctets and ifOutOctets. The
> return values are in longer than 32 bit value. 

I have a hard time believing that statement.  The IF-MIB::ifInOctets 
table is composed of Counter32 types, which cannot hold a value larger 
than 4294967295.  The High Capacity counters are of type Counter64 and 
can present larger values.  That table is IF-MIB::ifHCInOctets.

These are representative results from a close-by switch:

$ snmpget -v 2c -c public 10.10.100.147 IF-MIB::ifInOctets.6
IF-MIB::ifInOctets.6 = Counter32: 1601496262

$ snmpget -v 2c -c public 10.10.100.147 IF-MIB::ifHCInOctets.6
IF-MIB::ifHCInOctets.6 = Counter64: 48846137879
-- 
Roy M. Silvernail is [EMAIL PROTECTED], and you're not
   "A desperate disease requires a dangerous remedy."
                   - Guy Fawkes
            http://www.rant-central.com


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to