Re: mib2c: invalid OID

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 14/08/07, Patrik Nagel <[email protected]> wrote:
> > I'm not convinced that this is a valid MIB definition, though.
> > SMI (as used to define MIB modules) is not the same as full ASN.1,
> > and doesn't support SEQUENCEs, except as part of defining a table.
>
> I tried to rewrite this MIB (see below) by means of comparing with other
> (standard) MIBs. But I don't know how to design the nested NodesTable.

I think you probably need to look at a book that explains these concepts
properly.   Trying to guess the correct syntax from existing MIB files is
not a reliable way to proceed.

The usual recommendation for MIB design is "Understanding SNMP MIBs"
by Perkins & McGinnis.


>  Finally, there should be one tMergeLayerTable which contains multiple
> NodesTables (cntNodes entry in TMergeLayerEntry).

This book will also explain how to represent "nested tables" within the SMI
structure.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.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
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.