rmon alarm

This command sets the RMON alarm entry in the RMON alarm MIB group.

Format rmon alarm alarm-number variable sample-interval {absolute | delta} rising-threshold value [rising-event-index] falling-threshold value [falling-event-index] [startup {rising | falling | rising-falling}] [owner string]
Mode Global Config
Parameter Description
alarm-number An index that uniquely identifies an entry in the alarm table. Each entry defines a diagnostic sample at a particular interval for an object on the device. The range is 1 to 65535.
variable The object identifier of the particular variable to be sampled. Only variables that resolve to an ASN.1 primitive type of integer.
sample-interval The interval in seconds over which the data is sampled and compared with the rising and falling thresholds. The range is 1 to 2147483647. The default is 1.
absolute The value of the statistic during the last sampling period. This object is a read-only, 32-bit signed value.
rising-thresholdvalue The rising threshold for the sample statistics. The range is 2147483648 to 2147483647. The default is 1.
rising-event-index The index of the eventEntry that is used when a rising threshold is crossed. The range is 1 to 65535. The default is 1.
falling-thresholdvalue The falling threshold for the sample statistics. The range is 2147483648 to 2147483647. The default is 1.
falling-event-index The index of the eventEntry that is used when a falling threshold is crossed. The range is 1 to 65535. The default is 2.
startup The alarm that may be sent. Possible values are rising, falling or rising-falling (indicating both). The default is rising-falling.
string The owner string associated with the alarm entry. The default is monitorAlarm.

The following shows an example of the command.

(Extreme 220) (Config) # rmon alarm 1 ifInErrors.2 30 absolute rising-threshold 100 1 falling-threshold 10 2 startup rising owner myOwner