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

📄 entity-sensor-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 2 页
字号:
ENTITY-SENSOR-MIB DEFINITIONS ::= BEGINIMPORTS        MODULE-IDENTITY, OBJECT-TYPE,        Integer32, Unsigned32, mib-2                FROM SNMPv2-SMI        MODULE-COMPLIANCE, OBJECT-GROUP                FROM SNMPv2-CONF        TEXTUAL-CONVENTION, TimeStamp                FROM SNMPv2-TC        entPhysicalIndex, entityPhysicalGroup                FROM ENTITY-MIB        SnmpAdminString                FROM SNMP-FRAMEWORK-MIB;entitySensorMIB MODULE-IDENTITY    LAST-UPDATED    "200212160000Z"    ORGANIZATION    "IETF Entity MIB Working Group"    CONTACT-INFO            "        Andy Bierman                     Cisco Systems, Inc.                Tel: +1 408-527-3711             E-mail: abierman@cisco.com             Postal: 170 West Tasman Drive                     San Jose, CA USA 95134                     Dan Romascanu                     Avaya Inc.                Tel: +972-3-645-8414              Email: dromasca@avaya.com             Postal: Atidim technology Park, Bldg. #3                     Tel Aviv, Israel, 61131                     K.C. Norseth                     L-3 Communications                Tel: +1 801-594-2809              Email: kenyon.c.norseth@L-3com.com             Postal: 640 N. 2200 West.                     Salt Lake City, Utah 84116-0850             Send comments to <entmib@ietf.org>             Mailing list subscription info:               http://www.ietf.org/mailman/listinfo/entmib "    DESCRIPTION            "This module defines Entity MIB extensions for physical             sensors.             Copyright (C) The Internet Society (2002). This version             of this MIB module is part of RFC 3433; see the RFC             itself for full legal notices."    REVISION        "200212160000Z"    DESCRIPTION            "Initial version of the Entity Sensor MIB module, published             as RFC 3433."    ::= { mib-2 99 }entitySensorObjects              OBJECT IDENTIFIER     ::= { entitySensorMIB 1 }-- entitySensorNotifications        OBJECT IDENTIFIER--     ::= { entitySensorMIB 2 }entitySensorConformance          OBJECT IDENTIFIER     ::= { entitySensorMIB 3 }---- Textual Conventions--EntitySensorDataType ::= TEXTUAL-CONVENTION    STATUS       current    DESCRIPTION            "An object using this data type represents the Entity Sensor            measurement data type associated with a physical sensor            value. The actual data units are determined by examining an            object of this type together with the associated            EntitySensorDataScale object.            An object of this type SHOULD be defined together with            objects of type EntitySensorDataScale and            EntitySensorPrecision.  Together, associated objects of            these three types are used to identify the semantics of an            object of type EntitySensorValue.            Valid values are:               other(1):        a measure other than those listed below               unknown(2):      unknown measurement, or arbitrary,                                relative numbers               voltsAC(3):      electric potential               voltsDC(4):      electric potential               amperes(5):      electric current               watts(6):        power               hertz(7):        frequency               celsius(8):      temperature               percentRH(9):    percent relative humidity               rpm(10):         shaft revolutions per minute               cmm(11),:        cubic meters per minute (airflow)               truthvalue(12):  value takes { true(1), false(2) }            "    SYNTAX INTEGER {        other(1),        unknown(2),        voltsAC(3),        voltsDC(4),        amperes(5),        watts(6),        hertz(7),        celsius(8),        percentRH(9),        rpm(10),        cmm(11),        truthvalue(12)    }EntitySensorDataScale ::= TEXTUAL-CONVENTION    STATUS       current    DESCRIPTION            "An object using this data type represents a data scaling            factor, represented with an International System of Units            (SI) prefix.  The actual data units are determined by            examining an object of this type together with the            associated EntitySensorDataType object.            An object of this type SHOULD be defined together with            objects of type EntitySensorDataType and            EntitySensorPrecision.  Together, associated objects of            these three types are used to identify the semantics of an            object of type EntitySensorValue."    REFERENCE            "The International System of Units (SI),            National Institute of Standards and Technology,            Spec. Publ. 330, August 1991."    SYNTAX INTEGER {        yocto(1),   -- 10^-24        zepto(2),   -- 10^-21        atto(3),    -- 10^-18        femto(4),   -- 10^-15        pico(5),    -- 10^-12        nano(6),    -- 10^-9        micro(7),   -- 10^-6        milli(8),   -- 10^-3        units(9),   -- 10^0        kilo(10),   -- 10^3        mega(11),   -- 10^6        giga(12),   -- 10^9        tera(13),   -- 10^12        exa(14),    -- 10^15        peta(15),   -- 10^18        zetta(16),  -- 10^21        yotta(17)   -- 10^24    }EntitySensorPrecision ::= TEXTUAL-CONVENTION    STATUS       current    DESCRIPTION            "An object using this data type represents a sensor            precision range.            An object of this type SHOULD be defined together with            objects of type EntitySensorDataType and            EntitySensorDataScale.  Together, associated objects of            these three types are used to identify the semantics of an            object of type EntitySensorValue.            If an object of this type contains a value in the range 1 to            9, it represents the number of decimal places in the            fractional part of an associated EntitySensorValue fixed-            point number.            If an object of this type contains a value in the range -8            to -1, it represents the number of accurate digits in the            associated EntitySensorValue fixed-point number.            The value zero indicates the associated EntitySensorValue            object is not a fixed-point number.            Agent implementors must choose a value for the associated            EntitySensorPrecision object so that the precision and            accuracy of the associated EntitySensorValue object is            correctly indicated.            For example, a physical entity representing a temperature            sensor that can measure 0 degrees to 100 degrees C in 0.1            degree increments, +/- 0.05 degrees, would have an            EntitySensorPrecision value of '1', an EntitySensorDataScale            value of 'units(9)', and an EntitySensorValue ranging from            '0' to '1000'.  The EntitySensorValue would be interpreted            as 'degrees C * 10'."    SYNTAX Integer32 (-8..9)EntitySensorValue ::= TEXTUAL-CONVENTION    STATUS       current    DESCRIPTION            "An object using this data type represents an Entity Sensor            value.            An object of this type SHOULD be defined together with            objects of type EntitySensorDataType, EntitySensorDataScale            and EntitySensorPrecision.  Together, associated objects of            those three types are used to identify the semantics of an            object of this data type.            The semantics of an object using this data type are            determined by the value of the associated            EntitySensorDataType object.            If the associated EntitySensorDataType object is equal to            'voltsAC(3)', 'voltsDC(4)', 'amperes(5)', 'watts(6),            'hertz(7)', 'celsius(8)', or 'cmm(11)', then an object of            this type MUST contain a fixed point number ranging from            -999,999,999 to +999,999,999.  The value -1000000000            indicates an underflow error. The value +1000000000            indicates an overflow error.  The EntitySensorPrecision            indicates how many fractional digits are represented in the            associated EntitySensorValue object.            If the associated EntitySensorDataType object is equal to            'percentRH(9)', then an object of this type MUST contain a            number ranging from 0 to 100.            If the associated EntitySensorDataType object is equal to            'rpm(10)', then an object of this type MUST contain a number            ranging from -999,999,999 to +999,999,999.

⌨️ 快捷键说明

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