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

📄 power-ethernet-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 2 页
字号:
    DESCRIPTION       "This counter is incremented when the PSE state diagram         enters the state SIGNATURE_INVALID."    REFERENCE          "IEEE Std 802.3af Section 30.9.1.1.7           aPSEInvalidSignatureCounter"    ::= { pethPsePortEntry 11 }   pethPsePortPowerDeniedCounter OBJECT-TYPE    SYNTAX Counter32    MAX-ACCESS read-only    STATUS current    DESCRIPTION          "This counter is incremented when the PSE state diagram             enters the state POWER_DENIED."    REFERENCE      "IEEE Std 802.3af Section 30.9.1.1.8       aPSEPowerDeniedCounter"    ::= { pethPsePortEntry 12 }   pethPsePortOverLoadCounter OBJECT-TYPE    SYNTAX Counter32    MAX-ACCESS read-only    STATUS current    DESCRIPTION          "This counter is incremented when the PSE state diagram             enters the state ERROR_DELAY_OVER."    REFERENCE      "IEEE Std 802.3af Section 30.9.1.1.9       aPSEOverLoadCounter"    ::= { pethPsePortEntry 13 }   pethPsePortShortCounter OBJECT-TYPE    SYNTAX Counter32    MAX-ACCESS read-only    STATUS current    DESCRIPTION          "This counter is incremented when the PSE state diagram             enters the state ERROR_DELAY_SHORT."    REFERENCE      "IEEE Std 802.3af Section 30.9.1.1.10       aPSEShortCounter"    ::= { pethPsePortEntry 14 }-- Main PSE ObjectspethMainPseObjects       OBJECT IDENTIFIER ::= { pethObjects 3 }pethMainPseTable OBJECT-TYPE       SYNTAX      SEQUENCE OF PethMainPseEntry       MAX-ACCESS  not-accessible       STATUS      current       DESCRIPTION           "A table of objects that display and control attributes            of the main power source in a PSE  device.  Ethernet            switches are one example of boxes that would support            these objects.            Values of all read-write objects in this table are            persistent at restart/reboot."       ::= { pethMainPseObjects 1 }   pethMainPseEntry OBJECT-TYPE       SYNTAX      PethMainPseEntry       MAX-ACCESS  not-accessible       STATUS      current       DESCRIPTION            "A set of objects that display and control the Main             power of a PSE. "       INDEX    { pethMainPseGroupIndex }       ::= { pethMainPseTable 1 }   PethMainPseEntry ::= SEQUENCE {       pethMainPseGroupIndex           Integer32,       pethMainPsePower           Gauge32 ,       pethMainPseOperStatus           INTEGER,       pethMainPseConsumptionPower           Gauge32,       pethMainPseUsageThreshold           Integer32   }     pethMainPseGroupIndex OBJECT-TYPE       SYNTAX       Integer32 (1..2147483647)       MAX-ACCESS  not-accessible       STATUS      current       DESCRIPTION           "This variable uniquely identifies the group to which           power Ethernet PSE is connected.  Group means (box in           the stack, module in a rack) and the value 1 MUST be           used for non-modular devices.  Furthermore, the same           value MUST be used in this variable, pethPsePortGroupIndex,           and pethNotificationControlGroupIndex to refer to a           given box in a stack or module in a rack."       ::= { pethMainPseEntry 1 }     pethMainPsePower OBJECT-TYPE       SYNTAX      Gauge32  (1..65535)       UNITS      "Watts"       MAX-ACCESS  read-only       STATUS      current       DESCRIPTION               "The nominal power of the PSE expressed in Watts."       ::= { pethMainPseEntry 2 }     pethMainPseOperStatus OBJECT-TYPE       SYNTAX INTEGER   {               on(1),               off(2),               faulty(3)          }       MAX-ACCESS  read-only       STATUS      current       DESCRIPTION               "The operational status of the main PSE."       ::= { pethMainPseEntry 3 }     pethMainPseConsumptionPower OBJECT-TYPE       SYNTAX      Gauge32       UNITS      "Watts"       MAX-ACCESS  read-only       STATUS      current       DESCRIPTION               "Measured usage power expressed in Watts."       ::= { pethMainPseEntry 4 }     pethMainPseUsageThreshold OBJECT-TYPE       SYNTAX      Integer32  (1..99)       UNITS      "%"       MAX-ACCESS  read-write       STATUS      current       DESCRIPTION               "The usage threshold expressed in percents for                comparing the measured power and initiating                an alarm if the threshold is exceeded."       ::= { pethMainPseEntry 5 }-- Notification  Control  ObjectspethNotificationControl        OBJECT IDENTIFIER ::= { pethObjects 4 }pethNotificationControlTable OBJECT-TYPE       SYNTAX      SEQUENCE OF PethNotificationControlEntry       MAX-ACCESS  not-accessible       STATUS      current       DESCRIPTION           "A table of objects that display and control the            Notification on a PSE  device.            Values of all read-write objects in this table are            persistent at restart/reboot."       ::= { pethNotificationControl 1 }   pethNotificationControlEntry OBJECT-TYPE       SYNTAX      PethNotificationControlEntry       MAX-ACCESS  not-accessible       STATUS      current       DESCRIPTION            "A set of objects that control the Notification events."       INDEX    { pethNotificationControlGroupIndex }       ::= { pethNotificationControlTable 1 }   PethNotificationControlEntry ::= SEQUENCE {       pethNotificationControlGroupIndex           Integer32,       pethNotificationControlEnable           TruthValue   }     pethNotificationControlGroupIndex OBJECT-TYPE       SYNTAX      Integer32 (1..2147483647)       MAX-ACCESS  not-accessible       STATUS      current       DESCRIPTION           "This variable uniquely identifies the group.  Group            means box in the stack, module in a rack and the value            1 MUST be used for non-modular devices.  Furthermore,            the same value MUST be used in this variable,            pethPsePortGroupIndex, and            pethMainPseGroupIndex to refer to a given box in a            stack or module in a rack. "       ::= { pethNotificationControlEntry 1 }      pethNotificationControlEnable  OBJECT-TYPE       SYNTAX             TruthValue       MAX-ACCESS         read-write       STATUS             current       DESCRIPTION          "This object controls, on a per-group basis, whether             or not notifications from the agent are enabled.  The             value true(1) means that notifications are enabled; the             value false(2) means that they are not."       ::= { pethNotificationControlEntry 2 }---- Notifications Section----     pethPsePortOnOffNotification NOTIFICATION-TYPE         OBJECTS     { pethPsePortDetectionStatus }         STATUS      current         DESCRIPTION             " This Notification indicates if Pse Port is delivering or               not power to the PD.  This Notification SHOULD be sent on               every status change except in the searching mode.               At least 500 msec must elapse between notifications               being emitted by the same object instance."          ::= { pethNotifications 1 }     pethMainPowerUsageOnNotification NOTIFICATION-TYPE         OBJECTS     { pethMainPseConsumptionPower  }         STATUS      current         DESCRIPTION           " This Notification indicate PSE Threshold usage               indication is on, the usage power is above the               threshold.  At least 500 msec must elapse between               notifications being emitted by the same object               instance."         ::= { pethNotifications 2 }      pethMainPowerUsageOffNotification NOTIFICATION-TYPE         OBJECTS     { pethMainPseConsumptionPower }         STATUS      current         DESCRIPTION           " This Notification indicates PSE Threshold usage indication               off, the usage power is below the threshold.               At least 500 msec must elapse between notifications being               emitted by the same object instance."         ::= { pethNotifications 3 }---- Conformance Section--pethCompliances OBJECT IDENTIFIER ::= { pethConformance 1 }pethGroups      OBJECT IDENTIFIER ::= { pethConformance 2 }pethCompliance MODULE-COMPLIANCE       STATUS  current       DESCRIPTION               "Describes the requirements for conformance to the               Power Ethernet MIB."       MODULE  -- this module           MANDATORY-GROUPS { pethPsePortGroup,                              pethPsePortNotificationGroup,                              pethNotificationControlGroup                            }           GROUP   pethMainPseGroup           DESCRIPTION               "The pethMainPseGroup is mandatory for PSE systems                that implement a main power supply."           GROUP   pethMainPowerNotificationGroup           DESCRIPTION               "The pethMainPowerNotificationGroup is mandatory for               PSE systems that implement a main power supply."       ::= { pethCompliances 1 }pethPsePortGroup OBJECT-GROUP    OBJECTS {       pethPsePortAdminEnable,       pethPsePortPowerPairsControlAbility,       pethPsePortPowerPairs,       pethPsePortDetectionStatus,       pethPsePortPowerPriority,       pethPsePortMPSAbsentCounter,       pethPsePortInvalidSignatureCounter,       pethPsePortPowerDeniedCounter,       pethPsePortOverLoadCounter,       pethPsePortShortCounter,       pethPsePortType,       pethPsePortPowerClassifications    }    STATUS  current    DESCRIPTION          "PSE Port objects."    ::= { pethGroups 1 }pethMainPseGroup OBJECT-GROUP    OBJECTS {       pethMainPsePower,       pethMainPseOperStatus,       pethMainPseConsumptionPower,       pethMainPseUsageThreshold    }    STATUS  current    DESCRIPTION            "Main PSE Objects. "    ::= { pethGroups 2 }pethNotificationControlGroup OBJECT-GROUP    OBJECTS {       pethNotificationControlEnable    }    STATUS  current    DESCRIPTION            "Notification Control  Objects. "    ::= { pethGroups 3 }pethPsePortNotificationGroup NOTIFICATION-GROUP    NOTIFICATIONS { pethPsePortOnOffNotification}    STATUS           current    DESCRIPTION  "Pse Port Notifications."    ::= { pethGroups 4 }  pethMainPowerNotificationGroup NOTIFICATION-GROUP     NOTIFICATIONS { pethMainPowerUsageOnNotification,                      pethMainPowerUsageOffNotification}    STATUS           current    DESCRIPTION  "Main PSE Notifications."      ::= { pethGroups 5 }END

⌨️ 快捷键说明

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