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

📄 entity-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 4 页
字号:
            physical component if possible. For example, for a container            (e.g., card slot) labeled as 'slot #3',            entPhysicalParentRelPos should have the value '3'.  Note            that the entPhysicalEntry for the module plugged in slot 3            should have an entPhysicalParentRelPos value of '1'.            If the physical position of this component does not match            any external numbering or clearly visible ordering, then            user documentation or other external reference material            should be used to determine the parent-relative position. If            this is not possible, then the the agent should assign a            consistent (but possibly arbitrary) ordering to a given set            of 'sibling' components, perhaps based on internal            representation of the components.            If the agent cannot determine the parent-relative position            for some reason, or if the associated value of            entPhysicalContainedIn is '0', then the value '-1' is            returned. Otherwise a non-negative integer is returned,            indicating the parent-relative position of this physical            entity.            Parent-relative ordering normally starts from '1' and            continues to 'N', where 'N' represents the highest            positioned child entity.  However, if the physical entities            (e.g., slots) are labeled from a starting position of zero,            then the first sibling should be associated with a            entPhysicalParentRelPos value of '0'.  Note that this            ordering may be sparse or dense, depending on agent            implementation.            The actual values returned are not globally meaningful, as            each 'parent' component may use different numbering            algorithms. The ordering is only meaningful among siblings            of the same parent component.            The agent should retain parent-relative position values            across reboots, either through algorithmic assignment or use            of non-volatile storage."    ::= { entPhysicalEntry 6 }entPhysicalName OBJECT-TYPE    SYNTAX      SnmpAdminString    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "The textual name of the physical entity.  The value of this            object should be the name of the component as assigned by            the local device and should be suitable for use in commands            entered at the device's `console'.  This might be a text            name, such as `console' or a simple component number (e.g.,            port or module number), such as `1', depending on the            physical component naming syntax of the device.            If there is no local name, or this object is otherwise not            applicable, then this object contains a zero-length string.            Note that the value of entPhysicalName for two physical            entities will be the same in the event that the console            interface does not distinguish between them, e.g., slot-1            and the card in slot-1."    ::= { entPhysicalEntry 7 }entPhysicalHardwareRev    OBJECT-TYPE    SYNTAX      SnmpAdminString    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "The vendor-specific hardware revision string for the            physical entity.  The preferred value is the hardware            revision identifier actually printed on the component itself            (if present).            Note that if revision information is stored internally in a            non-printable (e.g., binary) format, then the agent must            convert such information to a printable format, in an            implementation-specific manner.            If no specific hardware revision string is associated with            the physical component, or this information is unknown to            the agent, then this object will contain a zero-length            string."    ::= { entPhysicalEntry 8 }entPhysicalFirmwareRev    OBJECT-TYPE    SYNTAX      SnmpAdminString    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "The vendor-specific firmware revision string for the            physical entity.            Note that if revision information is stored internally in a            non-printable (e.g., binary) format, then the agent must            convert such information to a printable format, in an            implementation-specific manner.            If no specific firmware programs are associated with the            physical component, or this information is unknown to the            agent, then this object will contain a zero-length string."    ::= { entPhysicalEntry 9 }entPhysicalSoftwareRev    OBJECT-TYPE    SYNTAX      SnmpAdminString    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "The vendor-specific software revision string for the            physical entity.            Note that if revision information is stored internally in a            non-printable (e.g., binary) format, then the agent must            convert such information to a printable format, in an            implementation-specific manner.            If no specific software programs are associated with the            physical component, or this information is unknown to the            agent, then this object will contain a zero-length string."    ::= { entPhysicalEntry 10 }entPhysicalSerialNum   OBJECT-TYPE    SYNTAX      SnmpAdminString (SIZE (0..32))    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION            "The vendor-specific serial number string for the physical            entity.  The preferred value is the serial number string            actually printed on the component itself (if present).            On the first instantiation of an physical entity, the value            of entPhysicalSerialNum associated with that entity is set            to the correct vendor-assigned serial number, if this            information is available to the agent.  If a serial number            is unknown or non-existent, the entPhysicalSerialNum will be            set to a zero-length string instead.            Note that implementations which can correctly identify the            serial numbers of all installed physical entities do not            need to provide write access to the entPhysicalSerialNum            object. Agents which cannot provide non-volatile storage for            the entPhysicalSerialNum strings are not required to            implement write access for this object.            Not every physical component will have a serial number, or            even need one.  Physical entities for which the associated            value of the entPhysicalIsFRU object is equal to 'false(2)'            (e.g., the repeater ports within a repeater module), do not            need their own unique serial number. An agent does not have            to provide write access for such entities, and may return a            zero-length string.            If write access is implemented for an instance of            entPhysicalSerialNum, and a value is written into the            instance, the agent must retain the supplied value in the            entPhysicalSerialNum instance associated with the same            physical entity for as long as that entity remains            instantiated. This includes instantiations across all re-            initializations/reboots of the network management system,            including those which result in a change of the physical            entity's entPhysicalIndex value."    ::= { entPhysicalEntry 11 }entPhysicalMfgName   OBJECT-TYPE    SYNTAX      SnmpAdminString    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "The name of the manufacturer of this physical component.            The preferred value is the manufacturer name string actually            printed on the component itself (if present).            Note that comparisons between instances of the            entPhysicalModelName, entPhysicalFirmwareRev,            entPhysicalSoftwareRev, and the entPhysicalSerialNum            objects, are only meaningful amongst entPhysicalEntries with            the same value of entPhysicalMfgName.            If the manufacturer name string associated with the physical            component is unknown to the agent, then this object will            contain a zero-length string."    ::= { entPhysicalEntry 12 }entPhysicalModelName   OBJECT-TYPE    SYNTAX      SnmpAdminString    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "The vendor-specific model name identifier string associated            with this physical component.  The preferred value is the            customer-visible part number, which may be printed on the            component itself.            If the model name string associated with the physical            component is unknown to the agent, then this object will            contain a zero-length string."    ::= { entPhysicalEntry 13 }entPhysicalAlias    OBJECT-TYPE    SYNTAX      SnmpAdminString (SIZE (0..32))    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION            "This object is an 'alias' name for the physical entity as            specified by a network manager, and provides a non-volatile            'handle' for the physical entity.            On the first instantiation of an physical entity, the value            of entPhysicalAlias associated with that entity is set to            the zero-length string.  However, agent may set the value to            a locally unique default value, instead of a zero-length            string.            If write access is implemented for an instance of            entPhysicalAlias, and a value is written into the instance,            the agent must retain the supplied value in the            entPhysicalAlias instance associated with the same physical            entity for as long as that entity remains instantiated.            This includes instantiations across all re-            initializations/reboots of the network management system,            including those which result in a change of the physical            entity's entPhysicalIndex value."    ::= { entPhysicalEntry 14 }entPhysicalAssetID OBJECT-TYPE    SYNTAX      SnmpAdminString (SIZE (0..32))    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION            "This object is a user-assigned asset tracking identifier            for the physical entity as specified by a network manager,            and provides non-volatile storage of this information.            On the first instantiation of an physical entity, the value            of entPhysicalAssetID associated with that entity is set to            the zero-length string.            Not every physical component will have a asset tracking            identifier, or even need one.  Physical entities for which            the associated value of the entPhysicalIsFRU object is equal            to 'false(2)' (e.g., the repeater ports within a repeater            module), do not need their own unique asset tracking            identifier. An agent does not have to provide write access            for such entities, and may instead return a zero-length            string.            If write access is implemented for an instance of            entPhysicalAssetID, and a value is written into the            instance, the agent must retain the supplied value in the            entPhysicalAssetID instance associated with the same            physical entity for as long as that entity remains            instantiated.  This includes instantiations across all re-            initializations/reboots of the network management system,            including those which result in a change of the physical            entity's entPhysicalIndex value.            If no asset tracking information is associated with the            physical component, then this object will contain a zero-            length string."    ::= { entPhysicalEntry 15 }entPhysicalIsFRU OBJECT-TYPE    SYNTAX      TruthValue    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "This object indicates whether or not this physical entity            is considered a 'field replaceable unit' by the vendor.  If            this object contains the value 'true(1)' then this            entPhysicalEntry identifies a field replaceable unit.  For            all entPhysicalEntries which represent components that are            permanently contained within a field replaceable unit, the            value 'false(2)' should be returned for this object."    ::= { entPhysicalEntry 16 }--           The Logical Entity TableentLogicalTable OBJECT-TYPE    SYNTAX      SEQUENCE OF EntLogicalEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "This table contains one row per logical entity.  For agents            which implement more than one naming scope, at least one            entry must exist. Agents which instantiate all MIB objects            within a single naming scope are not required to implement            this table."    ::= { entityLogical 1 }entLogicalEntry       OBJECT-TYPE    SYNTAX      EntLogicalEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "Information about a particular logical entity.  Entities            may be managed by this agent or other SNMP agents (possibly)            in the same chassis."    INDEX       { entLogicalIndex }    ::= { entLogicalTable 1 }EntLogicalEntry ::= SEQUENCE {      entLogicalIndex            INTEGER,      entLogicalDescr            SnmpAdminString,      entLogicalType             AutonomousType,      entLogicalCommunity        OCTET STRING,      entLogicalTAddress         TAddress,      entLogicalTDomain          TDomain,      entLogicalContextEngineID  SnmpEngineIdOrNone,      entLogicalContextName      SnmpAdminString}

⌨️ 快捷键说明

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