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

📄 entity-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 4 页
字号:
    DESCRIPTION            "The value of this object identifies a particular conceptual            row associated with the indicated entPhysicalIndex and            entLogicalIndex pair.            Since only physical ports are modeled in this table, only            entries which represent interfaces or ports are allowed.  If            an ifEntry exists on behalf of a particular physical port,            then this object should identify the associated 'ifEntry'.            For repeater ports, the appropriate row in the            'rptrPortGroupTable' should be identified instead.            For example, suppose a physical port was represented by            entPhysicalEntry.3, entLogicalEntry.15 existed for a            repeater, and entLogicalEntry.22 existed for a bridge.  Then            there might be two related instances of            entAliasMappingIdentifier:               entAliasMappingIdentifier.3.15 == rptrPortGroupIndex.5.2               entAliasMappingIdentifier.3.22 == ifIndex.17            It is possible that other mappings (besides interfaces and            repeater ports) may be defined in the future, as required.            Bridge ports are identified by examining the Bridge MIB and            appropriate ifEntries associated with each 'dot1dBasePort',            and are thus not represented in this table."    ::= { entAliasMappingEntry 2 }-- physical mapping tableentPhysicalContainsTable OBJECT-TYPE    SYNTAX      SEQUENCE OF EntPhysicalContainsEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "A table which exposes the container/'containee'            relationships between physical entities. This table provides            all the information found by constructing the virtual            containment tree for a given entPhysicalTable, but in a more            direct format.            In the event a physical entity is contained by more than one            other physical entity (e.g., double-wide modules), this            table should include these additional mappings, which cannot            be represented in the entPhysicalTable virtual containment            tree."    ::= { entityMapping 3 }entPhysicalContainsEntry OBJECT-TYPE    SYNTAX      EntPhysicalContainsEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "A single container/'containee' relationship."    INDEX       { entPhysicalIndex, entPhysicalChildIndex }    ::= { entPhysicalContainsTable 1 }EntPhysicalContainsEntry ::= SEQUENCE {      entPhysicalChildIndex     PhysicalIndex}entPhysicalChildIndex OBJECT-TYPE    SYNTAX      PhysicalIndex    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "The value of entPhysicalIndex for the contained physical            entity."    ::= { entPhysicalContainsEntry 1 }-- last change time stamp for the whole MIBentLastChangeTime OBJECT-TYPE    SYNTAX      TimeStamp    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "The value of sysUpTime at the time a conceptual row is            created, modified, or deleted in any of these tables:                    - entPhysicalTable                    - entLogicalTable                    - entLPMappingTable                    - entAliasMappingTable                    - entPhysicalContainsTable            "    ::= { entityGeneral 1 }-- Entity MIB Trap DefinitionsentityMIBTraps      OBJECT IDENTIFIER ::= { entityMIB 2 }entityMIBTrapPrefix OBJECT IDENTIFIER ::= { entityMIBTraps 0 }entConfigChange NOTIFICATION-TYPE    STATUS             current    DESCRIPTION            "An entConfigChange notification is generated when the value            of entLastChangeTime changes. It can be utilized by an NMS            to trigger logical/physical entity table maintenance polls.            An agent should not generate more than one entConfigChange            'notification-event' in a given time interval (five seconds            is the suggested default).  A 'notification-event' is the            transmission of a single trap or inform PDU to a list of            notification destinations.            If additional configuration changes occur within the            throttling period, then notification-events for these            changes should be suppressed by the agent until the current            throttling period expires.  At the end of a throttling            period, one notification-event should be generated if any            configuration changes occurred since the start of the            throttling period. In such a case, another throttling period            is started right away.            An NMS should periodically check the value of            entLastChangeTime to detect any missed entConfigChange            notification-events, e.g., due to throttling or transmission            loss."   ::= { entityMIBTrapPrefix 1 }-- conformance informationentityConformance OBJECT IDENTIFIER ::= { entityMIB 3 }entityCompliances OBJECT IDENTIFIER ::= { entityConformance 1 }entityGroups      OBJECT IDENTIFIER ::= { entityConformance 2 }-- compliance statementsentityCompliance MODULE-COMPLIANCE    STATUS  deprecated    DESCRIPTION            "The compliance statement for SNMP entities which implement            version 1 of the Entity MIB."    MODULE  -- this module        MANDATORY-GROUPS {                           entityPhysicalGroup,                           entityLogicalGroup,                           entityMappingGroup,                           entityGeneralGroup,                           entityNotificationsGroup        }    ::= { entityCompliances 1 }entity2Compliance MODULE-COMPLIANCE    STATUS  current    DESCRIPTION            "The compliance statement for SNMP entities which implement            version 2 of the Entity MIB."    MODULE  -- this module        MANDATORY-GROUPS {                           entityPhysicalGroup,                           entityPhysical2Group,                           entityGeneralGroup,                           entityNotificationsGroup        }        GROUP entityLogical2Group        DESCRIPTION            "Implementation of this group is not mandatory for agents            which model all MIB object instances within a single naming            scope."        GROUP entityMappingGroup        DESCRIPTION            "Implementation of the entPhysicalContainsTable is mandatory            for all agents.  Implementation of the entLPMappingTable and            entAliasMappingTables are not mandatory for agents which            model all MIB object instances within a single naming scope.            Note that the entAliasMappingTable may be useful for all            agents, however implementation of the entityLogicalGroup or            entityLogical2Group is required to support this table."        OBJECT entPhysicalSerialNum        MIN-ACCESS   not-accessible        DESCRIPTION            "Read and write access is not required for agents which            cannot identify serial number information for physical            entities, and/or cannot provide non-volatile storage for            NMS-assigned serial numbers.            Write access is not required for agents which can identify            serial number information for physical entities, but cannot            provide non-volatile storage for NMS-assigned serial            numbers.            Write access is not required for physical entities for            physical entities for which the associated value of the            entPhysicalIsFRU object is equal to 'false(2)'."        OBJECT entPhysicalAlias        MIN-ACCESS   read-only        DESCRIPTION            "Write access is required only if the associated            entPhysicalClass value is equal to 'chassis(3)'."        OBJECT entPhysicalAssetID        MIN-ACCESS   not-accessible        DESCRIPTION            "Read and write access is not required for agents which            cannot provide non-volatile storage for NMS-assigned asset            identifiers.            Write access is not required for physical entities for which            the associated value of entPhysicalIsFRU is equal to            'false(2)'."    ::= { entityCompliances 2 }-- MIB groupingsentityPhysicalGroup    OBJECT-GROUP    OBJECTS {              entPhysicalDescr,              entPhysicalVendorType,              entPhysicalContainedIn,              entPhysicalClass,              entPhysicalParentRelPos,              entPhysicalName            }    STATUS  current    DESCRIPTION            "The collection of objects which are used to represent            physical system components, for which a single agent            provides management information."    ::= { entityGroups 1 }entityLogicalGroup    OBJECT-GROUP    OBJECTS {              entLogicalDescr,              entLogicalType,              entLogicalCommunity,              entLogicalTAddress,              entLogicalTDomain            }    STATUS  deprecated    DESCRIPTION            "The collection of objects which are used to represent the            list of logical entities for which a single agent provides            management information."    ::= { entityGroups 2 }entityMappingGroup    OBJECT-GROUP    OBJECTS {              entLPPhysicalIndex,              entAliasMappingIdentifier,              entPhysicalChildIndex            }    STATUS  current    DESCRIPTION            "The collection of objects which are used to represent the            associations between multiple logical entities, physical            components, interfaces, and port identifiers for which a            single agent provides management information."    ::= { entityGroups 3 }entityGeneralGroup    OBJECT-GROUP    OBJECTS {              entLastChangeTime            }    STATUS  current    DESCRIPTION            "The collection of objects which are used to represent            general entity information for which a single agent provides            management information."    ::= { entityGroups 4 }entityNotificationsGroup NOTIFICATION-GROUP    NOTIFICATIONS { entConfigChange }    STATUS        current    DESCRIPTION            "The collection of notifications used to indicate Entity MIB            data consistency and general status information."    ::= { entityGroups 5 }entityPhysical2Group    OBJECT-GROUP    OBJECTS {              entPhysicalHardwareRev,              entPhysicalFirmwareRev,              entPhysicalSoftwareRev,              entPhysicalSerialNum,              entPhysicalMfgName,              entPhysicalModelName,              entPhysicalAlias,              entPhysicalAssetID,              entPhysicalIsFRU            }    STATUS  current    DESCRIPTION            "The collection of objects which are used to represent            physical system components, for which a single agent            provides management information.  This group augments the            objects contained in the entityPhysicalGroup."    ::= { entityGroups 6 }entityLogical2Group    OBJECT-GROUP    OBJECTS {              entLogicalDescr,              entLogicalType,              entLogicalTAddress,              entLogicalTDomain,              entLogicalContextEngineID,              entLogicalContextName            }    STATUS  current    DESCRIPTION            "The collection of objects which are used to represent the            list of logical entities for which a single SNMP entity            provides management information."    ::= { entityGroups 7 }END

⌨️ 快捷键说明

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