Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is called MIB-Module?

I am new to MIB-Management information base. I am confuse, What is called MIB modules?

here it is defined as: An adapted subset of ASN.1, Structure of Management Information (SMI), is specified in SNMP to define sets of related MIB objects; these sets are termed MIB modules.

But its not clear to me!

Is complete MIB file called a MIB-module? or an object is a MIB-Module eg. OBJECT-TYPE?

like image 791
Grijesh Chauhan Avatar asked Mar 10 '26 02:03

Grijesh Chauhan


1 Answers

Usually, a MIB document contains only one MIB module. For example,

https://github.com/lextm/sharpsnmplib/blob/master/Tests/Resources/SNMPv2-MIB.txt

This file contains only one module, which is the best practice you should follow,

SNMPv2-MIB DEFINITIONS ::= BEGIN
...
END

However, the SMI rules do not prevent you from defining several modules in the same files. You can try it out by merging several files together, and most MIB compilers are happy to compile the merged result.

like image 162
Lex Li Avatar answered Mar 12 '26 19:03

Lex Li