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

📄 ups-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
    SYNTAX     NonNegativeInteger    UNITS      "RMS Volts"    MAX-ACCESS read-write    STATUS     current    DESCRIPTION            "The magnitude of the nominal output voltage.  On            those systems which support read-write access to this            object, if there is an attempt to set this variable to            a value that is not supported, the request must be            rejected and the agent shall respond with an            appropriate error message, i.e., badValue for SNMPv1,            or inconsistentValue for SNMPv2."    ::= { upsConfig 3 }upsConfigOutputFreq OBJECT-TYPE    SYNTAX     NonNegativeInteger    UNITS      "0.1 Hertz"    MAX-ACCESS read-write    STATUS     current    DESCRIPTION            "The nominal output frequency.  On those systems which            support read-write access to this object, if there is            an attempt to set this variable to a value that is not            supported, the request must be rejected and the agent            shall respond with an appropriate error message, i.e.,            badValue for SNMPv1, or inconsistentValue for SNMPv2."    ::= { upsConfig 4 }upsConfigOutputVA OBJECT-TYPE    SYNTAX     NonNegativeInteger    UNITS      "Volt-Amps"    MAX-ACCESS read-only    STATUS     current    DESCRIPTION            "The magnitude of the nominal Volt-Amp rating."    ::= { upsConfig 5 }upsConfigOutputPower OBJECT-TYPE    SYNTAX     NonNegativeInteger    UNITS      "Watts"    MAX-ACCESS read-only    STATUS     current    DESCRIPTION            "The magnitude of the nominal true power rating."    ::= { upsConfig 6 }upsConfigLowBattTime OBJECT-TYPE    SYNTAX     NonNegativeInteger    UNITS      "minutes"    MAX-ACCESS read-write    STATUS     current    DESCRIPTION            "The value of upsEstimatedMinutesRemaining at which a            lowBattery condition is declared.  For agents which            support only discrete (discontinuous) values, then the            agent shall round up to the next supported value.  If            the requested value is larger than the largest            supported value, then the largest supported value            shall be selected."    ::= { upsConfig 7 }upsConfigAudibleStatus OBJECT-TYPE    SYNTAX     INTEGER {        disabled(1),        enabled(2),        muted(3)    }    MAX-ACCESS read-write    STATUS     current    DESCRIPTION            "The requested state of the audible alarm.  When in            the disabled state, the audible alarm should never            sound.  The enabled state is self-describing.  Setting            this object to muted(3) when the audible alarm is            sounding shall temporarily silence the alarm.  It will            remain muted until it would normally stop sounding and            the value returned for read operations during this            period shall equal muted(3).  At the end of this            period, the value shall revert to enabled(2).  Writes            of the value muted(3) when the audible alarm is not            sounding shall be accepted but otherwise shall have no            effect."    ::= { upsConfig 8 }upsConfigLowVoltageTransferPoint OBJECT-TYPE    SYNTAX     NonNegativeInteger    UNITS      "RMS Volts"    MAX-ACCESS read-write    STATUS     current    DESCRIPTION            "The minimum input line voltage allowed before the UPS            system transfers to battery backup."    ::= { upsConfig 9 }upsConfigHighVoltageTransferPoint OBJECT-TYPE    SYNTAX     NonNegativeInteger    UNITS      "RMS Volts"    MAX-ACCESS read-write    STATUS     current    DESCRIPTION            "The maximum line voltage allowed before the UPS            system transfers to battery backup."    ::= { upsConfig 10 }---- notifications, i.e., traps--upsTraps              OBJECT IDENTIFIER ::= { upsMIB 2 }-- This section defines the well-known notifications sent by-- UPS agents.-- Care must be taken to insure that no particular notification-- is sent to a single receiving entity more often than once-- every five seconds.upsTrapOnBattery NOTIFICATION-TYPE    OBJECTS { upsEstimatedMinutesRemaining, upsSecondsOnBattery,              upsConfigLowBattTime }    STATUS  current    DESCRIPTION            "The UPS is operating on battery power.  This trap is            persistent and is resent at one minute intervals until            the UPS either turns off or is no longer running on            battery."  ::= { upsTraps 1 }upsTrapTestCompleted NOTIFICATION-TYPE    OBJECTS { upsTestId, upsTestSpinLock,              upsTestResultsSummary, upsTestResultsDetail,              upsTestStartTime, upsTestElapsedTime }    STATUS  current    DESCRIPTION            "This trap is sent upon completion of a UPS diagnostic            test."  ::= { upsTraps 2 }upsTrapAlarmEntryAdded NOTIFICATION-TYPE    OBJECTS { upsAlarmId, upsAlarmDescr }    STATUS  current    DESCRIPTION            "This trap is sent each time an alarm is inserted into            to the alarm table.  It is sent on the insertion of            all alarms except for upsAlarmOnBattery and            upsAlarmTestInProgress."  ::= { upsTraps 3 }upsTrapAlarmEntryRemoved NOTIFICATION-TYPE    OBJECTS { upsAlarmId, upsAlarmDescr }    STATUS  current    DESCRIPTION            "This trap is sent each time an alarm is removed from            the alarm table.  It is sent on the removal of all            alarms except for upsAlarmTestInProgress."  ::= { upsTraps 4 }---- conformance information--upsConformance        OBJECT IDENTIFIER ::= { upsMIB 3 }upsCompliances        OBJECT IDENTIFIER ::= { upsConformance 1 }---- compliance statements--upsSubsetCompliance MODULE-COMPLIANCE    STATUS     current    DESCRIPTION            "The compliance statement for UPSs that only support            the two-contact communication protocol."    MODULE -- this module        MANDATORY-GROUPS  { upsSubsetIdentGroup,                  upsSubsetBatteryGroup, upsSubsetInputGroup,                  upsSubsetOutputGroup, upsSubsetAlarmGroup,                  upsSubsetControlGroup, upsSubsetConfigGroup }    OBJECT     upsBatteryStatus    SYNTAX     INTEGER {        batteryNormal(2),        batteryLow(3)    }    DESCRIPTION            "Support of the values unknown(1) and            batteryDepleted(4) is not required."    OBJECT     upsAlarmDescr    DESCRIPTION            "Support of all `well known' alarm types is not            required.  The well known alarm types which must be            supported are: upsAlarmOnBattery, upsAlarmLowBattery,            upsAlarmInputBad, upsAlarmUpsOutputOff,            upsAlarmUpsSystemOff, and upsAlarmTestInProgress."    OBJECT     upsOutputSource    SYNTAX     INTEGER {        normal(2),        battery(4)    }    DESCRIPTION            "Support of the values other(1), none(2), bypass(4),            booster(6) and reducer(7) is not required."    OBJECT     upsShutdownType    MIN-ACCESS read-only    DESCRIPTION            "Read-write access is not required, i.e., compliant            systems need not support more than one shutdown type."    OBJECT     upsAutoRestart    MIN-ACCESS read-only    DESCRIPTION            "Read-write access is not required, i.e., compliant            systems need not support more than one restart type."    OBJECT     upsConfigInputVoltage    MIN-ACCESS read-only    DESCRIPTION            "Read-write access is not required."    OBJECT     upsConfigInputFreq    MIN-ACCESS read-only    DESCRIPTION            "Read-write access is not required."    OBJECT     upsConfigOutputVoltage    MIN-ACCESS read-only    DESCRIPTION            "Read-write access is not required."    OBJECT     upsConfigOutputFreq    MIN-ACCESS read-only    DESCRIPTION            "Read-write access is not required."    ::= { upsCompliances 1 }upsBasicCompliance MODULE-COMPLIANCE    STATUS     current    DESCRIPTION            "The compliance statement for UPSs that support            full-featured functions, such as control."    MODULE -- this module        MANDATORY-GROUPS { upsBasicIdentGroup,                  upsBasicBatteryGroup, upsBasicInputGroup,                  upsBasicOutputGroup, upsBasicAlarmGroup,                  upsBasicTestGroup, upsBasicControlGroup,                  upsBasicConfigGroup }    OBJECT     upsAlarmDescr    DESCRIPTION            "Support of all `well known' alarm types is not            required.  The well known alarm types which must be            supported are: upsAlarmOnBattery, upsAlarmLowBattery,            upsAlarmDepletedBattery, upsAlarmTempBad,            upsAlarmInputBad, upsAlarmOutputOverload,            upsAlarmOnBypass, upsAlarmBypassBad,            upsAlarmOutputOffAsRequested,            upsAlarmUpsOffAsRequested, upsAlarmUpsOutputOff,            upsAlarmUpsSystemOff, upsAlarmGeneralFault,            upsAlarmDiagnosticTestFailed,            upsAlarmCommunicationsLost, upsAlarmShutdownPending,            and upsAlarmTestInProgress."    OBJECT     upsTestId    DESCRIPTION            "Support of all `well known' test types is not            required.  If no tests are supported, then the only            well known test type which must be supported is            upsTestNoTestsInitiated."    OBJECT     upsOutputSource    SYNTAX     INTEGER {        normal(2),        battery(4)    }    DESCRIPTION            "Support of the values other(1), none(2), bypass(4),            booster(6) and reducer(7) is not required."        GROUP upsBasicBypassGroup        DESCRIPTION            "The upsBasicBypassGroup is only required for UPSs            that have a Bypass present."    OBJECT     upsShutdownType    MIN-ACCESS read-only    DESCRIPTION            "Read-write access is not required, i.e., compliant            systems need not support more than one shutdown type."    OBJECT     upsAutoRestart    MIN-ACCESS read-only    DESCRIPTION            "Read-write access is not required, i.e., compliant            systems need not support more than one restart type."    OBJECT     upsConfigInputVoltage    MIN-ACCESS read-only    DESCRIPTION            "Read-write access is not required."    OBJECT     upsConfigInputFreq    MIN-ACCESS read-only    DESCRIPTION            "Read-write access is not required."    OBJECT     upsConfigOutputVoltage    MIN-ACCESS read-only    DESCRIPTION            "Read-write access is not required."    OBJECT     upsConfigOutputFreq    MIN-ACCESS read-only    DESCRIPTION            "Read-write access is not required."    OBJECT     upsConfigLowBattTime    DESCRIPTION            "Implementation of all possible values may be onerous            for some systems.  Consequently, not all possible            values must be supported.  However, at least two            different manufacturer-selected values must be            supported."    ::= { upsCompliances 2 }upsFullCompliance MODULE-COMPLIANCE    STATUS     current    DESCRIPTION            "The compliance statement for UPSs that support            advanced full-featured functions."    MODULE -- this module        MANDATORY-GROUPS { upsFullIdentGroup, upsFullBatteryGroup,                  upsFullInputGroup, upsFullOutputGroup,                  upsFullAlarmGroup, upsFullTestGroup,                  upsFullControlGroup, upsFullConfigGroup }    OBJECT     upsAlarmDescr    DESCRIPTION            "Support of all `well known' alarm types is not            required.  The well known alarm types which must be            supported are: upsAlarmBatteryBad, upsAlarmOnBattery,            upsAlarmLowBattery, upsAlarmDepletedBattery,            upsAlarmTempBad, upsAlarmInputBad, upsAlarmOnBypass,            upsAlarmBypassBad, upsAlarmOutputOffAsRequested,            upsAlarmUpsOffAsRequested, upsAlarmUpsOutputOff,            upsAlarmUpsSystemOff, upsAlarmGeneralFault,            upsAlarmDiagnosticTestFailed,            upsAlarmCommunicationsLost, upsAlarmShutdownPending,            and upsAlarmTestInProgress."    OBJECT     upsTestId    DESCRIPTION            "Support of all `well known' test types is not            required.  The well known test types which must be            supported are: upsTestNoTestsInitiated,            upsTestGeneralSystemsTest, and            upsTestQuickBatteryTest."    OBJECT     upsOutputSource    SYNTAX     INTEGER {        normal(2),        battery(4)    }    DESCRIPTION            "Support of the values other(1), none(2), bypass(4),            booster(6) and reducer(7) is not required."        GROUP upsFullBypassGroup        DESCRIPTION            "The upsFullBypassGroup is only required for UPSs that            have a Bypass present."    OBJECT     upsShutdownType    MIN-ACCESS read-only    DESCRIPTION            "Read-write access is not required, i.e., compliant            systems need not support more than one shutdown type."

⌨️ 快捷键说明

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