Re: Insert integer bigger than 2**32 into MIB tree
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 2006-02-15 at 22:20 +0800, Joe Shen wrote: > I'm using a program importing a private MIB subtree > under .1.3.6.1.4.1.2021.55. What is the structure of this MIB subtree? In particular, what is the definition of the object(s) that hold)s( the numeric value? > the script process a file which contains data needed > to be imported. When the number in the file is smaller > than 2**32, I can track those data correctly by > snmpwalk. But, after the number in file is larger than > 2**32, I always get 2147483647 by snmpwalk. Note that the *only* SMI syntax type that can handle values greater than 2**32 is "Counter64". All other integer based types are restricted to 32-bit maximum. This is not a Net-SNMP restriction - it's implicit in the SNMP specifications. Dave ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users