rfc1451.txt

来自「著名的RFC文档,其中有一些文档是已经翻译成中文的的.」· 文本 代码 · 共 2,125 行 · 第 1/5 页

TXT
2,125
字号
                      "The index number of the next appropriate                      unassigned entry in the snmpAlarmTable.  The value                      0 indicates that no unassigned entries are                      available.                      A management station should create new entries in                      the snmpAlarmTable using this algorithm: first,                      issue a management protocol retrieval operation to                      determine the value of snmpAlarmNextIndex; and,                      second, issue a management protocol set operation                      to create an instance of the snmpAlarmStatus                      object setting its value to `createAndGo' or                      `createAndWait' (as specified in the description                      of the RowStatus textual convention)."              ::= { snmpAlarm 1 }          snmpAlarmTable OBJECT-TYPE              SYNTAX     SEQUENCE OF SnmpAlarmEntry              MAX-ACCESS not-accessible              STATUS     current              DESCRIPTION                      "A list of snmpAlarm entries."              ::= { snmpAlarm 2 }          snmpAlarmEntry OBJECT-TYPE              SYNTAX     SnmpAlarmEntry              MAX-ACCESS not-accessible              STATUS     current              DESCRIPTION                      "A list of parameters that set up a periodic                      sampling query to check for alarm conditions.  The                      contextIdentity included in the INDEX clause is                      the context to which the sampling queries are                      directed."              INDEX      { contextIdentity, snmpAlarmIndex }              ::= { snmpAlarmTable 1 }          Case, McCloghrie, Rose & Waldbusser                   [Page 8]          RFC 1451            Manager-to-Manager MIB          April 1993          SnmpAlarmEntry ::= SEQUENCE {              snmpAlarmIndex                    INTEGER,              snmpAlarmVariable                 InstancePointer,              snmpAlarmInterval                 Integer32,              snmpAlarmSampleType               INTEGER,              snmpAlarmValue                    Integer32,              snmpAlarmStartupAlarm             INTEGER,              snmpAlarmRisingThreshold          Integer32,              snmpAlarmFallingThreshold         Integer32,              snmpAlarmRisingEventIndex         INTEGER,              snmpAlarmFallingEventIndex        INTEGER,              snmpAlarmUnavailableEventIndex    INTEGER,              snmpAlarmStatus                   RowStatus          }          snmpAlarmIndex OBJECT-TYPE              SYNTAX     INTEGER (1..65535)              MAX-ACCESS not-accessible              STATUS     current              DESCRIPTION                      "An index that uniquely identifies an entry in the                      snmpAlarm table for a particular sampling context.                      Each such entry defines a diagnostic sample at a                      particular interval for a variable in the                      particular context's object resources."              ::= { snmpAlarmEntry 1 }          Case, McCloghrie, Rose & Waldbusser                   [Page 9]          RFC 1451            Manager-to-Manager MIB          April 1993          snmpAlarmVariable OBJECT-TYPE              SYNTAX     InstancePointer              MAX-ACCESS read-create              STATUS     current              DESCRIPTION                      "The object identifier of the particular variable                      to be sampled.  Only variables that resolve to an                      ASN.1 primitive type of INTEGER (Integer32,                      Counter32, Gauge32, TimeTicks, Counter64, or                      UInteger32) may be sampled.                      If it is detected by an error response of                      authorizationError, noSuchObject, or                      noSuchInstance that the variable name of an                      established snmpAlarmEntry is no longer available                      in the sampling context, a single                      snmpObjectUnavailableAlarm event is generated and                      the status of this snmpAlarmEntry is set to                      `destroy'.  Likewise, if the syntax of the                      variable retrieved by the query is not Integer32,                      Counter32, Gauge32, TimeTicks, Counter64, or                      UInteger32, the same actions will be taken.                      If the SNMPv2 entity acting in a dual role detects                      that the sampled value can not be obtained due to                      lack of response to management queries, it should                      either:                           1) Set the status of this snmpAlarmEntry to                           `destroy', if it is determined that further                           communication is not possible;                           or,                           2) Delete the associated snmpAlarmValue                           instance (but not the entire conceptual row),                           and continue to attempt to sample the                           variable and recreate the associated                           snmpAlarmValue instance should communication                           be reestablished.                      An attempt to modify this object will fail with an                      `inconsistentValue' error if the associated                      snmpAlarmStatus object would be equal to `active'                      both before and after the modification attempt."          Case, McCloghrie, Rose & Waldbusser                  [Page 10]          RFC 1451            Manager-to-Manager MIB          April 1993              ::= { snmpAlarmEntry 2 }          snmpAlarmInterval OBJECT-TYPE              SYNTAX     Integer32              UNITS      "seconds"              MAX-ACCESS read-create              STATUS     current              DESCRIPTION                      "The interval in seconds over which the data is                      sampled and compared with the rising and falling                      thresholds.  When setting this object and the                      sampling type is `deltaValue',  care should be                      taken to ensure that the change during this                      interval of the variable being sampled will not                      exceed the (-2^31...2^31-1) range of the                      snmpAlarmValue.                      An attempt to modify this object will fail with an                      `inconsistentValue' error if the associated                      snmpAlarmStatus object would be equal to `active'                      both before and after the modification attempt."              ::= { snmpAlarmEntry 3 }          Case, McCloghrie, Rose & Waldbusser                  [Page 11]          RFC 1451            Manager-to-Manager MIB          April 1993          snmpAlarmSampleType OBJECT-TYPE              SYNTAX     INTEGER {                             absoluteValue(1),                             deltaValue(2)                         }              MAX-ACCESS read-create              STATUS     current              DESCRIPTION                      "The method of sampling the selected variable and                      calculating the value to be compared against the                      thresholds.  If the value of this object is                      `absoluteValue', the value of the selected                      variable at the end of the sampling interval will                      be compared directly with both the                      snmpAlarmRisingThreshold and the                      snmpAlarmFallingThreshold values.  If the value of                      this object is `deltaValue', the value of the                      selected variable at the end of the sampling                      interval will be subtracted from its value at the                      end of the previous sampling interval, and the                      difference compared with both the                      snmpAlarmRisingThreshold and the                      snmpAlarmFallingThreshold values.                      An attempt to modify this object will fail with an                      `inconsistentValue' error if the associated                      snmpAlarmStatus object would be equal to `active'                      both before and after the modification attempt."              DEFVAL { deltaValue }              ::= { snmpAlarmEntry 4 }          Case, McCloghrie, Rose & Waldbusser                  [Page 12]          RFC 1451            Manager-to-Manager MIB          April 1993          snmpAlarmValue OBJECT-TYPE              SYNTAX     Integer32              MAX-ACCESS read-only              STATUS     current              DESCRIPTION                      "The value of the statistic during the last                      sampling period.  The value during the current                      sampling period is not made available until the                      period is completed.  If the value of the                      statistic does not fit in the signed 32 bit                      representation of this object, it should be                      truncated in an implementation specific manner.                      Note that if the associated snmpAlarmSampleType is                      set to `deltaValue', the value of this object is                      the difference in the sampled variable since the                      last sample.                      This object will be created by the SNMPv2 entity                      acting in a dual role when this entry is set to                      `active', and the first sampling period has                      completed.  It may be created and deleted at other                      times by the SNMPv2 entity acting in a dual role                      when the sampled value can not be obtained, as                      specified in the snmpAlarmVariable object."              ::= { snmpAlarmEntry 5 }          Case, McCloghrie, Rose & Waldbusser                  [Page 13]          RFC 1451            Manager-to-Manager MIB          April 1993          snmpAlarmStartupAlarm OBJECT-TYPE              SYNTAX     INTEGER {                             risingAlarm(1),                             fallingAlarm(2),                             risingOrFallingAlarm(3)                         }              MAX-ACCESS read-create              STATUS     current              DESCRIPTION                      "The alarm that may be sent when this entry is                      first set to `active'.  If the first sample after                      this entry becomes active is greater than or equal                      to the risingThreshold and snmpAlarmStartupAlarm                      is equal to `risingAlarm' or                      `risingOrFallingAlarm', then a single rising alarm                      will be generated.  If the first sample after this                      entry becomes active is less than or equal to the                      fallingThreshold and snmpAlarmStartupAlarm is                      equal to `fallingAlarm' or `risingOrFallingAlarm',                      then a single falling alarm will be generated.                      Note that a snmpObjectUnavailableAlarm is sent                      upon startup whenever it is applicable,                      independent of the setting of                      snmpAlarmStartupAlarm.                      An attempt to modify this object will fail with an                      `inconsistentValue' error if the associated                      snmpAlarmStatus object would be equal to `active'                      both before and after the modification attempt."              DEFVAL { risingOrFallingAlarm }              ::= { snmpAlarmEntry 6 }          Case, McCloghrie, Rose & Waldbusser                  [Page 14]          RFC 1451            Manager-to-Manager MIB          April 1993          snmpAlarmRisingThreshold OBJECT-TYPE              SYNTAX     Integer32              MAX-ACCESS read-create              STATUS     current              DESCRIPTION                      "A threshold for the sampled statistic.  When the                      current sampled value is greater than or equal to                      this threshold, and the value at the last sampling                      interval was less than this threshold, a single                      event will be generated.  A single event will also                      be generated if the first sample after this entry                      becomes active is greater than or equal to this                      threshold and the associated snmpAlarmStartupAlarm                      is equal to `risingAlarm' or                      `risingOrFallingAlarm'.                      After a rising event is generated, another such

⌨️ 快捷键说明

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