You may want to read the relevant RFC documents that define the basic language and data types for SNMP-based MIBs: RFC-1155, RFC-1212, and RFC-1215, which collectively define the basic data types and language dialect used in SNMPv1 MIBs.
Please note that these specifications change from time to time. For the latest information, please consult the most recent editions of rfc-index.txt and std-index.txt, and the most recent document in the Official Protocol Standards series (STD 1). These are available online in a number of locations; as of April 1994, the canonical location is the directory /rfc on the Internet host ds.internic.net. The documents can also be reached via the World-Wide Web at http://info.internet.isi.edu/1s/in-notes/rfc/files.
This manual is not meant to be a guide to creating new MIB specifications. To learn how to write new MIBs, we suggest you use existing MIBs as examples. You may find the following books useful as references:
Internetworking with TCP/IP, Volume I: Principles, Protocols, and Architecture (Second Edition), by Douglas E. Comer, 1991, published by Prentice-Hall, Englewood Cliffs, NJ, ISBN 0-13-468505-9.
The Simple Book: An Introduction to Management of TCP/IP-based Internets (Second Edition), by Marshall T. Rose, 1994, published by Prentice-Hall, Englewood Cliffs, NJ, ISBN 0-13-177254-6.
Also check the FAQ from the Usenet newsgroup comp.protocols.snmp. The FAQ can be obtained via ftp from rtfm.mit.edu, in the directory /pub/usenet/comp.protocols.snmp/.
Please note that mibcomp has a much stricter parser than most other MIB compilers. Consequently, mibcomp will find bugs in many existing MIB modules, including a number of IETF standards-track MIB modules. WindNet SNMPv1/v2c includes corrected versions of these IETF standards-track MIB modules in the provided directory $WIND_BASE/target/src/snmpv1/mibs.