RMON Commands 317
rmon alarm
The rmon alarm Global Configuration mode command configures alarm conditions. Use the no form of
this command to remove an alarm.
Syntax
•
rmon alarm
index variable interval rthreshold fthreshold revent fevent
[
type
type
] [
startup
direction
]
[
owner
name
]
•
no rmon alarm
index
•
index
— The alarm index. (Range: 1 - 65535)
•
variable
— The object identifier of the particular variable to be sampled.
•
interval
— The interval in seconds over which the data is sampled and compared with the rising
and falling thresholds. (Range: 1 - 2147483648)
•
rthreshold
— Rising Threshold. (Range: 1 - 4294967295)
•
fthreshold
— Falling Threshold. (Range: 1 - 4294967295)
•
revent
— The Event index used when a rising threshold is crossed. (Range: 1 - 65535)
•
fevent
— The Event index used when a falling threshold is crossed. (Range: 1 - 65535)
•
type
type
— The sampling method for the selected variable and calculating the value to be
compared against the thresholds. If the method is
absolute
, the value of the selected variable is
compared directly with the thresholds at the end of the sampling interval. If the method is
delta
,
the selected variable value at the last sample is subtracted from the current value, and the
difference compared with the thresholds.
•
startup
direction
— The alarm that may be sent when this entry is first set to valid. If the first
sample (after this entry becomes valid) is greater than or equal to the
rthreshold
, and
direction
is
equal to
rising
or
rising-falling
, then a single rising alarm is generated. If the first sample (after
this entry becomes valid) is less than or equal to the
fthreshold
, and
direction
is equal to
falling
or
rising-falling
, then a single falling alarm is generated.
•
owner
name
— Enter a name that specifies who configured this alarm. If unspecified, the name is
an empty string.
Default Configuration
The following parameters have the following default values:
•
type
type
— If unspecified, the type is
absolute
.
•
startup
direction
— If unspecified, the startup direction is
rising-falling
.
Command Mode
Global Configuration mode.
5400_CLI.book Page 317 Wednesday, December 17, 2008 4:33 PM