On 10 May 2010 10:57, Alexander King <chenyapu1...@qq.com> wrote: > My MIB file in net-snmp-5.4.2 environment can use snmptranslate got the > whole structure rightly(no warning).
snmptranslate simply confirms that the Net-SNMP parser is happy with your MIB file. It does *not* provide any real guarantee of validity. We have a fairly pragmatic view towards MIB parsing - if we can work out what was intended, we'll read in the MIB file. (To try and avoid lots of questions on the mailing list asking "Why doesn't my MIB load") Frank and Juergen are much more thorough. If there's something wrong with your MIB file, they want you to fix it! > 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. Not at all. Running yout MIB files through smilint is A Very Good Idea. I would just ask you to be careful about making statements like "smilint can't handle SNMPv2 MIBs". Dave ------------------------------------------------------------------------------ _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users