rmon alarm

Configures an Remote Monitoring (RMON) alarm.
Syntax
rmon alarm alarm-num mib-object sample-interval { absolute | delta } falling-threshold falling-threshold-value event rising-threshold rising-threshold-value event owner alarm-owner
no rmon alarm alarm-num mib-object sample-interval { absolute | delta } falling-threshold falling-threshold-value event rising-threshold rising-threshold-value event owner alarm-owner
Command Default

An RMON alarm is not configured.

Parameters
alarm-num
Specifies the alarm number. The value can range from 1 to 65535.
mib-object
Specifies the MIB object to monitor.
sample-interval
Specifies the sample interval.
absolute
Configures testing each sample directly.
delta
Configures testing the delta between the samples.
falling-threshold
Configures the falling threshold.
falling-threshold-value
Specifies the faliing threshold value. The value can range from 0 to 2147483647.
event
Specifies the action (event) to take to fire when the falling threshold crosses the configured value. The value can range from 1 through 65535.
rising-threshold
Configures the rising threshold.
rising-threshold-value
Specifies the threshold value. The value can range from 0 to 2147483647.
event
Specifies the event to fire when the rising threshold crosses the configured value. The value can range from 1 through 65535.
owner alarm-owner
Specifies the alarm owner.
Modes

Global configuration mode

Usage Guidelines

An Alarm is designed to monitor configured thresholds for any SNMP integer, time tick, gauge, or counter MIB object. Using the CLI, you can define what MIB objects are monitored, the type of thresholds that are monitored (falling, rising, or both), the value of those thresholds, and the sample type (absolute or delta).

An alarm event is reported each time that a threshold is exceeded. The alarm entry also indicates the action (event) to be taken if the threshold be exceeded.

You can configure both the falling threshold and the rising threshold and in any order.

The no form of the command removes the configured RMON alarm.

Examples

The following example configures an alarm.

device(config)# rmon alarm 1 ifInOctets.6 10 delta rising-threshold 100 1 falling-threshold 50 1 owner nyc02
History
Release version Command history
09.0.00 The command was deprecated.
09.0.10c Support for the command was restored.