Thanks for the answer and the reference!
Joan 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Dave Shield
Sent: Tuesday, February 03, 2009 3:13 AM
To: Joan Landry
Cc: [email protected]
Subject: Re: trouble using index's with length > 127

2009/2/3 Joan Landry <[email protected]>:
> net-snmp is reporting an error when I try to create a row where the 
> index length is >127.....

> Any info on why this fails would be greatly appreciated.

Because such an index would result in an invalid instance OID.
>From RFC 2578 - Section 3.5:

-----
3.5.  OBJECT IDENTIFIER values

   An OBJECT IDENTIFIER value is an ordered list of non-negative
   numbers.  For the SMIv2, each number in the list is referred to as a
   sub-identifier, there are at most 128 sub-identifiers in a value....
------

In fact, it's likely that index values shorter than 127 subidentifiers
will still result in an invalid instance OID, depending on the length
of the OID of the base column objects.   But that's harder to test
for automatically.

Dave

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
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

Reply via email to