7210 SAS-M, T, R6, R12, Mxp, Sx, S Basic System
Configuration Guide
System Management
Edition: 01 3HE 16132 AAAB TQZZA 361
The alarm command configures an entry in the RMON-MIB alarm table. The alarm
command controls the monitoring and triggering of threshold crossing events. To
trigger the notification or logging of a threshold crossing event, at least one
associated rmon event must be configured.
The agent periodically takes statistical sample values from the MIB variable specified
for monitoring and compares them to thresholds that have been configured with the
alarm command. The alarm command configures the MIB variable to be monitored,
the polling period (interval), sampling type (absolute or delta value), and rising and
falling threshold parameters. If a sample has crossed a threshold value, the
associated event is generated.
Preconfigured CLI threshold commands are available. Preconfigured commands
hide some of the complexities of configuring RMON alarm and event commands and
perform the same function. In particular, the preconfigured commands do not require
the user to know the SNMP object identifier to be sampled. The preconfigured
threshold configurations include memory warnings, alarms, and compact flash usage
warnings and alarms.
To create events, use the following sample CLI configuration.
Example: config>system>thresholds# cflash-cap-warn cf1-B: rising-
threshold 2000000 falling-threshold 1999900 interval
240 trap startup-alarm either
Example: config>system>thresholds# memory-use-alarm rising-
threshold 50000000 falling-threshold 45999999 interval
500 both startup-alarm either
Example: config>system>thresh# rmon
Example: config>system>thresh>rmon# event 5 both description
"alarm testing" owner "Timos CLI"
The following is a sample command output.
A:ALA-49>config>system>thresholds# info
----------------------------------------------
rmon
event 5 description "alarm testing" owner "Timos CLI"
exit
cflash-cap-warn cf1-B: rising-threshold 2000000 falling-
threshold 1999900 interval 240 trap
memory-use-alarm rising-threshold 50000000 falling-
threshold 45999999 interval 500
----------------------------------------------
A:ALA-49>config>system>thresholds#