public final class Oid extends Object implements Serializable
Management information base (MIB). MIBs describe the structure of the management data of a device subsystem; they use a hierarchical name space containing object identifiers (OID). Each OID identifies a variable that can be read or set via SNMP. The MIB associates each OID with a readable label (Serves as a data dictionary).
The MIB, or Management Information Base, is an ASCII text file that describes SNMP network elements as a list of data objects (Like a dictionary of the SNMP language). Every object referred to in an SNMP message must be listed in the MIB. The fundamental purpose of the MIB is to translate numerical strings into human-readable text. When an SNMP device sends a Trap or other message, it identifies each data object in the message with a number string called an object identifier, or OID. (OIDs are defined more fully later in this paper).
MIBs use the notation defined by ASN.1 (Abstract Syntax Notation One).
This is an example of a SNMP MIB file entry:
serialNumberAtt4 OBJECT-TYPE SYNTAX DmiDisplaystring ACCESS read-only STATUS mandatory DESCRIPTION "" REFERENCE "'DMTF|ComponentID|001' 4" ::= { dMTFComponentIDEntry 4 }
In computing, an object identifier or OID is an identifier used to name an object (compare URN). Structurally, an OID consists of a node in a hierarchically-assigned namespace, formally defined using the ITU-T's ASN.1 standard.[citation needed] Successive numbers of the nodes, starting at the root of the tree, identify each node in the tree. Designers set up new nodes by registering them under the node's registration authority. The root of the tree contains the following three arcs:
0: ITU-T 1: ISO 2: joint-iso-itu-t
public static Oid valueOf(String oid) throws NullPointerException, IllegalArgumentException
oid
- Object identifier.oid
.NullPointerException
- If oid
is null.IllegalArgumentException
- If oid
is empty or it has an
invalid format.public String getId()
Copyright © 2015. All Rights Reserved.