Re: syntax of mib txt files
Murilo Fujita <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Mike Ayers escreveu: >> From: [email protected] >> [mailto:[email protected]] On >> Behalf Of Alexander Bubnov >> Sent: Wednesday, July 23, 2008 3:55 AM >> > > >> NET-SNMP is distributed with MIB data bases which is in >> ${PREFIX}/snmp/mibs/ path, as far as I understand. My question is what >> is syntax used for these files? ASN.1? or the syntax is mixed with >> ASN.1? >> > > The gory details: > > http://www.ietf.org/rfc/rfc2578.txt?number=2578 > > >> I would like to learn the syntax to write my own mibs files... can you >> please give me a link to quick user guide or something like? if >> anybody meets something like... >> > > I don't think there's an easy route, since syntax writing is so unforgiving. Studying RFC2578 and then "lifting" bits from existing MIBs seems to be the common strategy. I recommend studying some RFC based MIBs, as you will get a concise, reviewed description of the behavior coupled with a reviewed and test MIB definition. The VACM and USM MIBs have lots of interesting behavior and syntax. > > > HTH, > > Mike If I have permission to give my opinion, I say that there are program to analyse the sintaxe. They are trial version, but it´s possible understand how to write your own MIBs. But, one warning: it´s not easy. Other suggestion is understand ASN.1, the MIB language. Thanks for attention. Murilo ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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