⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 entity-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 4 页
字号:
entLogicalIndex OBJECT-TYPE    SYNTAX      INTEGER (1..2147483647)    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "The value of this object uniquely identifies the logical            entity. The value should be a small positive integer; index            values for different logical entities are are not            necessarily contiguous."    ::= { entLogicalEntry 1 }entLogicalDescr OBJECT-TYPE    SYNTAX      SnmpAdminString    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "A textual description of the logical entity.  This object            should contain a string which identifies the manufacturer's            name for the logical entity, and should be set to a distinct            value for each version of the logical entity. "    ::= { entLogicalEntry 2 }entLogicalType OBJECT-TYPE    SYNTAX      AutonomousType    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "An indication of the type of logical entity.  This will            typically be the OBJECT IDENTIFIER name of the node in the            SMI's naming hierarchy which represents the major MIB            module, or the majority of the MIB modules, supported by the            logical entity.  For example:               a logical entity of a regular host/router -> mib-2               a logical entity of a 802.1d bridge -> dot1dBridge               a logical entity of a 802.3 repeater -> snmpDot3RptrMgmt            If an appropriate node in the SMI's naming hierarchy cannot            be identified, the value 'mib-2' should be used."    ::= { entLogicalEntry 3 }entLogicalCommunity OBJECT-TYPE    SYNTAX      OCTET STRING (SIZE (0..255))    MAX-ACCESS  read-only    STATUS      deprecated    DESCRIPTION            "An SNMPv1 or SNMPv2C community-string which can be used to            access detailed management information for this logical            entity.  The agent should allow read access with this            community string (to an appropriate subset of all managed            objects) and may also return a community string based on the            privileges of the request used to read this object.  Note            that an agent may return a community string with read-only            privileges, even if this object is accessed with a read-            write community string. However, the agent must take care            not to return a community string which allows more            privileges than the community string used to access this            object.            A compliant SNMP agent may wish to conserve naming scopes by            representing multiple logical entities in a single 'default'            naming scope.  This is possible when the logical entities            represented by the same value of entLogicalCommunity have no            object instances in common.  For example, 'bridge1' and            'repeater1' may be part of the main naming scope, but at            least one additional community string is needed to represent            'bridge2' and 'repeater2'.            Logical entities 'bridge1' and 'repeater1' would be            represented by sysOREntries associated with the 'default'            naming scope.            For agents not accessible via SNMPv1 or SNMPv2C, the value            of this object is the empty string.  This object may also            contain an empty string if a community string has not yet            been assigned by the agent, or no community string with            suitable access rights can be returned for a particular SNMP            request.            Note that this object is deprecated. Agents which implement            SNMPv3 access should use the entLogicalContextEngineID and            entLogicalContextName objects to identify the context            associated with each logical entity.  SNMPv3 agents may            return a zero-length string for this object, or may continue            to return a community string (e.g., tri-lingual agent            support)."    ::= { entLogicalEntry 4 }entLogicalTAddress OBJECT-TYPE    SYNTAX      TAddress    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "The transport service address by which the logical entity            receives network management traffic, formatted according to            the corresponding value of entLogicalTDomain.            For snmpUDPDomain, a TAddress is 6 octets long, the initial            4 octets containing the IP-address in network-byte order and            the last 2 containing the UDP port in network-byte order.            Consult 'Transport Mappings for Version 2 of the Simple            Network Management Protocol' (RFC 1906 [RFC1906]) for            further information on snmpUDPDomain."    ::= { entLogicalEntry 5 }entLogicalTDomain OBJECT-TYPE    SYNTAX      TDomain    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Indicates the kind of transport service by which the            logical entity receives network management traffic.            Possible values for this object are presently found in the            Transport Mappings for SNMPv2 document (RFC 1906            [RFC1906])."    ::= { entLogicalEntry 6 }entLogicalContextEngineID    OBJECT-TYPE    SYNTAX      SnmpEngineIdOrNone    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "The authoritative contextEngineID that can be used to send            an SNMP message concerning information held by this logical            entity, to the address specified by the associated            'entLogicalTAddress/entLogicalTDomain' pair.            This object, together with the associated            entLogicalContextName object, defines the context associated            with a particular logical entity, and allows access to SNMP            engines identified by a contextEngineId and contextName            pair.            If no value has been configured by the agent, a zero-length            string is returned, or the agent may choose not to            instantiate this object at all."    ::= { entLogicalEntry 7 }entLogicalContextName    OBJECT-TYPE    SYNTAX      SnmpAdminString    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "The contextName that can be used to send an SNMP message            concerning information held by this logical entity, to the            address specified by the associated            'entLogicalTAddress/entLogicalTDomain' pair.            This object, together with the associated            entLogicalContextEngineID object, defines the context            associated with a particular logical entity, and allows            access to SNMP engines identified by a contextEngineId and            contextName pair.            If no value has been configured by the agent, a zero-length            string is returned, or the agent may choose not to            instantiate this object at all."    ::= { entLogicalEntry 8 }entLPMappingTable OBJECT-TYPE    SYNTAX      SEQUENCE OF EntLPMappingEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "This table contains zero or more rows of logical entity to            physical equipment associations. For each logical entity            known by this agent, there are zero or more mappings to the            physical resources which are used to realize that logical            entity.            An agent should limit the number and nature of entries in            this table such that only meaningful and non-redundant            information is returned. For example, in a system which            contains a single power supply, mappings between logical            entities and the power supply are not useful and should not            be included.            Also, only the most appropriate physical component which is            closest to the root of a particular containment tree should            be identified in an entLPMapping entry.            For example, suppose a bridge is realized on a particular            module, and all ports on that module are ports on this            bridge. A mapping between the bridge and the module would be            useful, but additional mappings between the bridge and each            of the ports on that module would be redundant (since the            entPhysicalContainedIn hierarchy can provide the same            information). If, on the other hand, more than one bridge            was utilizing ports on this module, then mappings between            each bridge and the ports it used would be appropriate.            Also, in the case of a single backplane repeater, a mapping            for the backplane to the single repeater entity is not            necessary."    ::= { entityMapping 1 }entLPMappingEntry       OBJECT-TYPE    SYNTAX      EntLPMappingEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "Information about a particular logical entity to physical            equipment association. Note that the nature of the            association is not specifically identified in this entry.            It is expected that sufficient information exists in the            MIBs used to manage a particular logical entity to infer how            physical component information is utilized."    INDEX       { entLogicalIndex, entLPPhysicalIndex }    ::= { entLPMappingTable 1 }EntLPMappingEntry ::= SEQUENCE {      entLPPhysicalIndex         PhysicalIndex}entLPPhysicalIndex OBJECT-TYPE    SYNTAX      PhysicalIndex    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "The value of this object identifies the index value of a            particular entPhysicalEntry associated with the indicated            entLogicalEntity."    ::= { entLPMappingEntry 1 }-- logical entity/component to alias tableentAliasMappingTable OBJECT-TYPE    SYNTAX      SEQUENCE OF EntAliasMappingEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "This table contains zero or more rows, representing            mappings of logical entity and physical component to            external MIB identifiers.  Each physical port in the system            may be associated with a mapping to an external identifier,            which itself is associated with a particular logical            entity's naming scope.  A 'wildcard' mechanism is provided            to indicate that an identifier is associated with more than            one logical entity."    ::= { entityMapping 2 }entAliasMappingEntry       OBJECT-TYPE    SYNTAX      EntAliasMappingEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "Information about a particular physical equipment, logical            entity to external identifier binding. Each logical            entity/physical component pair may be associated with one            alias mapping.  The logical entity index may also be used as            a 'wildcard' (refer to the entAliasLogicalIndexOrZero object            DESCRIPTION clause for details.)            Note that only entPhysicalIndex values which represent            physical ports (i.e. associated entPhysicalClass value is            'port(10)') are permitted to exist in this table."    INDEX { entPhysicalIndex, entAliasLogicalIndexOrZero }    ::= { entAliasMappingTable 1 }EntAliasMappingEntry ::= SEQUENCE {      entAliasLogicalIndexOrZero        INTEGER,      entAliasMappingIdentifier          RowPointer}entAliasLogicalIndexOrZero OBJECT-TYPE    SYNTAX      INTEGER (0..2147483647)    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "The value of this object identifies the logical entity            which defines the naming scope for the associated instance            of the 'entAliasMappingIdentifier' object.            If this object has a non-zero value, then it identifies the            logical entity named by the same value of entLogicalIndex.            If this object has a value of zero, then the mapping between            the physical component and the alias identifier for this            entAliasMapping entry is associated with all unspecified            logical entities. That is, a value of zero (the default            mapping) identifies any logical entity which does not have            an explicit entry in this table for a particular            entPhysicalIndex/entAliasMappingIdentifier pair.            For example, to indicate that a particular interface (e.g.,            physical component 33) is identified by the same value of            ifIndex for all logical entities, the following instance            might exist:                    entAliasMappingIdentifier.33.0 = ifIndex.5            In the event an entPhysicalEntry is associated differently            for some logical entities, additional entAliasMapping            entries may exist, e.g.:                    entAliasMappingIdentifier.33.0 = ifIndex.6                    entAliasMappingIdentifier.33.4 =  ifIndex.1                    entAliasMappingIdentifier.33.5 =  ifIndex.1                    entAliasMappingIdentifier.33.10 = ifIndex.12            Note that entries with non-zero entAliasLogicalIndexOrZero            index values have precedence over any zero-indexed entry. In            this example, all logical entities except 4, 5, and 10,            associate physical entity 33 with ifIndex.6."    ::= { entAliasMappingEntry 1 }entAliasMappingIdentifier OBJECT-TYPE    SYNTAX      RowPointer    MAX-ACCESS  read-only    STATUS      current

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -