Re: scalar's parent node must be simple node

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 12/12/2007, Xia Zhongwu <[email protected]> wrote:
> I write a mib file as followings, when I check using
> smilint(http://www.ibr.cs.tu-bs.de/projects/libsmi/), it report that on
> line 50(osStartupTrapHAMode) and many others lines , "scalar's parent
> node must be simple node". I don't understand it

You'd probably be better off asking on the smilint support lists
about this problem.   They are more up on the intricacies of MIB
syntax than we are.
   But as a guess, I suspect that it may be objecting to the name
'osStartupTrapGroup'.   Conventionally, the suffix "Group" is only
used for OBJECT-GROUP definitions, which cannot have any
children.   It's possible that smilint is enforcing this requirement.

But you'd need to ask them.



> When I use mib2c with this mib file, when select " 2) Net-SNMP style
> code", not any souce codes are generated!

That's a bit vague - what are *all* the choices you make when running
mib2c?     In particular, are you creating code for a table, or scalar
objects?

Dave

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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.