Re: MIB desgin problem.

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
    [ First - *please* don't mail me privately, without copying
     any responses to the mailing list.  I don't have the time
     or inclination to offer private, unpaid, SNMP consultancy.
     Keep discussions to the list, where others can both learn
     and offer advice.  Thanks.   ]


2009/4/28 Noppadol Sotanakul <[email protected]>:

> I have verified my MIB with www.simpleweb.org. I've got a warning about the
> MIB as follows:
>
>    warning: index of row `interfaceEntry' can exceed OID size limit by 397 subidentifier(s)
>    warning: index of row `serverEntry' can exceed OID size limit by 142 subidentifier(s)
>
> What do they mean? Are they caused from too much items in the MIB?

No - they are triggered by the definitions of the MIB objects used to
index these two tables.

You haven't said anything about the structure of these two tables,
but I suspect that they are probably indexed by string values.
The length of an OID is limited to 128 sub-identifiers (RFC 2578, section 3.5)
so this means that the value of an index string must be shorter
than this (taking into account the length of the OID of the MIB column
objects themselves)

Your MIB object definitions for the column objects allow values longer
than this (probably up to 256 or 512 characters, at a guess).  So
the SMI syntax checker is warning you to be careful.



> I would like to know how I can get those numbers (397, 142), how to
> calculate them.

     max length of string value + length of column OID - 128

Dave

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.