Discussion:
mib validation
Claudius
2002-03-15 13:33:08 UTC
Permalink
Hi Folks,
I am writing a mib file and I want to check my asn.1 syntax and errors.
Is there a command line opion with mib2c to check your mib file syntax?
--
__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with ***@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
Robert Story
2002-03-15 16:17:03 UTC
Permalink
Post by Claudius
I am writing a mib file and I want to check my asn.1 syntax and errors.
Is there a command line opion with mib2c to check your mib file syntax?
No, but there are other tools to do such things. If you have "Understanding
SNMP MIBs", there is an app on the CD, and you might also check out libSMI.
http://www.ibr.cs.tu-bs.de/projects/libsmi/
Wes Hardaker
2002-03-15 20:15:05 UTC
Permalink
ebotothomas> I am writing a mib file and I want to check my asn.1
ebotothomas> syntax and errors. Is there a command line opion with
ebotothomas> mib2c to check your mib file syntax?

snmptranslate will spit out errors when it tries to parse it. sming
(www.snmpinfo.com) and smilint (part of libsmi) are better error
handlers. Note that sming is a commercial product and catches
significantly more errorrs than smilint, which is free.
--
Wes Hardaker
Please mail all replies to net-snmp-***@lists.sourceforge.net
Continue reading on narkive:
Loading...