0

I have been studying SNMP for a while. I understood SNMP manager can query a particular OID within the managed device's MIB. In order to do that the SNMP manager must know the MIB of the managed device first. I read MIBs are stored in files. Now how does Manager know about the MIB of each devices of the network. Does the manager send a request to the snmp agent for sharing the MIB or it has to be loaded manually?

2

You have to install and load relevant MIBs to the manager manually. A number of MIBs are standard and come preinstalled with many SNMP solutions, but vendor MIBs for specific devices are often hard or impossible to get, outdated, difficult to find, with the requirements to sign NDAs and whatnot else.

Just downloading the MIB from the device would be a dream that would make working with SNMP actually sufferable...

But: Strictly speaking, you don't need MIBs at all, you can just walk the OID tree and download everything or a specific OID, but of course then you have to play the guessing game what the data actually means.

  • Hope you can weaken the part of "you don't need MIBs at all". As you described later, such documents are still keys to understand the meaning of the objects. – Lex Li Jan 23 '16 at 12:36
  • @LexLi: I don't recommend working without a MIB, not at all. However, you can work without it if you just can't get an MIB for the device for whatever reason and you can figure out somehow what OIDs contain the data that interests you. It's not fun, it costs time but with the state of support you get for SNMP from vendors, it's sometimes the only option. – Sven Jan 23 '16 at 14:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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