Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am investigating methods of monitoring particular stats with printers. I am not very knowledgeable yet, and was just curious what .mib files are used for and why there are many of them for a printer?

Example: http://www.oidview.com/mibs/674/md-674-1.html

share|improve this question
add comment

3 Answers

up vote 6 down vote accepted

MIBs (Management Information Base) describe OIDs (Object Identifiers) for SNMP. Which is acronym soup. An OID turns something like

     1.3.6.1.4.1.412.2.1

Into

     dmtf.dmtfStdMifs.dmtfServiceLayerMIF

This is useful for monitoring applications, as they know what they're looking at. MIBs also include definitions for the kind of data returned by a specific OID, so they know to translate something to Int or DateTime.

There are so many of them for a single printer because MIBs are modular, and that printer uses a wide variety of SNMP modules.

share|improve this answer
    
Am I to assume an .mib file is an MIB? –  Joshua Enfield Oct 5 '10 at 22:24
    
@Josh You are correct! –  sysadmin1138 Oct 5 '10 at 22:25
add comment

SNMP uses syntax that's only pre-defined at the top level. Meaning that they left it up to each manufacturer to determine what each of their branches means, and how many leaves it has. It's similar to the DNS structure only there is no registrars, or TLDs. When you want to resolve all those numbers to queryable functions you use the manufacturer provided MIB file to load into your SNMP monitoring device. So that way the device knows what SNMP strings to query and what datatypes it can expect to return.

share|improve this answer
add comment

http://download.oracle.com/docs/cd/E13203_01/tuxedo/tux81/snmpmref/1tmib.htm#1030143

This is a good place to start.

MIBs are basically the things that gather/report information to SNMP.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.