MIB is short for Management Information Base. MIBs are written in the SMI language, which is an adapted subset of ASN.1. Many example MIBs can be found in the mibs/ directory within the Net-SNMP source code. If you need to write a MIB, we strongly suggest buying a good book on the subject.