I am sorry,I didnot know it before.
My MIB file in net-snmp-5.4.2 environment can use snmptranslate got the whole structure rightly(no warning).
I googled some webpages told me the smilint tool can check the mib file,so I tried it,I want to this tool can give me some king of promise that my mib file is total right to get the right generated codes,now,obviously I am wrong.
OMG,another bad idea from me.SORRY.
alex
------------------ Original ------------------
From: "Dave Shield"<***@liverpool.ac.uk>;
Date: Mon, May 10, 2010 04:48 PM
To: "Alexander King"<***@qq.com>;
Cc: "net-snmp-users"<net-snmp-***@lists.sourceforge.net>;
Subject: Re: Online MIB check tools --share with you!
Post by Alexander Kinghttp://wwwsnmp.cs.utwente.nl/ietf/mibs/validate/
I cannot find where the check tool smilint is wrong,it just check SNMPv1 MIB
files.when the MIB file use SNMPv2,I got a lot of warning information.
Three comments:
- the 'smilint' tool is not connected with the Net=SNMP project in any way.
If you have questions about this program, then please contact the
libSMI team about it, rather than us.
- the web validation interface you mention above is itself built
around smilint!
- smilint *does* accept SNMPv2-style MIB files.
If you are seeing lots of warnings, that's probably because there are
things wrong with the MIB files you are checking. Possibly full errors,
possibly poor MIB design.
Remember that the whole purpose of smilint is to crawl over your
MIB file and tear it to pieces. It's *meant* to complain about anything
that's not 100% kosher. The level of pickiness depends on exactly
how you are invoking it, but if you can get yout MIB files past smilint,
you can be pretty certain that allother SNMP tools will be happy too.
Dave
------------------------------------------------------------------------------
_______________________________________________
Net-snmp-users mailing list
Net-snmp-***@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users