The Simple Network Management Protocol (Linux SNMP) is first proposed by the Internet Engineering Task Organization (IETF) research team to solve the router management problem on the Internet. We usually seldom call a database in a managed device a database. In terms of Linux SNMP, it is usually called the Management Information Library MIB ).
A mib describes the objects or table items contained in the database. Each object or table item has the following four attributes:
● Object Type)
● Syntax)
● Access)
● Status)
These attributes are defined in one of the management information structures and identifiers of the Linux SNMP specification SMI; RFC 1155/1065. SMI is equivalent to the schema for databases for MIB. SMI defines each object "what looks like ".
Object Type
This attribute defines the name of a specific object, such as sysUpTime. It is just a tag. When representing data, SMI uses ASN.1 (Abstract Syntax Notation One ). The object must be "identified ". For the Internet management MIB, the identifiers expressed in the ASN.1 notation start with the following:
Internet object identifier ::={ iso org (3) dod (6) 1}
Or use a simple format: 1.3.6.1
This is extracted from the ASN.1 document. It defines a tree format for the identifier. The tree is composed of a root and many labeled nodes connected to it. Each node is identified by a non-negative integer value and a text description as concise as possible. Each node may also have sub-nodes that are also marked.
When describing an OBJECT identifier object indentifier), you can use several formats. The simplest format is to list the integers found by traversing the tree from the root to the discussed OBJECT. Starting from the root level, there are three nodes:
● Ccitt (0)
● Iso (1)
● Joint-iso-cci
We will explain the knowledge of Linux SNMP here this time.