System Alarm Commands
Page 330 7750 SR OS Basic System Configuration Guide
System Alarm Commands
alarm
Syntax alarm rmon-alarm-id variable-oid oid-string interval seconds [sample-type] [startup-alarm
alarm-type] [rising-event rmon-event-id rising-threshold threshold] [falling-event rmon-
event-id falling threshold threshold] [owner owner-string]
no alarm rmon-alarm-id
Context config>system>thresholds>rmon
Description The alarm command configures an entry in the RMON-MIB alarmTable. The alarm command
controls the monitoring and triggering of threshold crossing events. In order for notification or
logging of a threshold crossing event to occur there must be at least one associated rmon>event
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.
Use the no form of this command to remove an rmon-alarm-id from the configuration.
Parameters rmon-alarm-id — The rmon-alarm-id is a numerical identifier for the alarm being configured. The
number of alarms that can be created is limited to 1200.
Default None
Values 1 — 65535
variable-oid oid-string — The oid-string is the SNMP object identifier of the particular variable to
be sampled. Only SNMP variables that resolve to an ASN.1 primitive type of integer (integer,
Integer32, Counter32, Counter64, Gauge, or TimeTicks) may be sampled. The oid-string may be
expressed using either the dotted string notation or as object name plus dotted instance identifier.
For example, "1.3.6.1.2.1.2.2.1.10.184582144" or "ifInOctets.184582144".
The oid-string has a maximum length of 255 characters
Default None
interval seconds — The interval in seconds specifies the polling period over which the data is
sampled and compared with the rising and falling thresholds. When setting this interval value,
care should be taken in the case of ’delta’ type sampling - the interval should be set short enough
that the sampled variable is very unlikely to increase or decrease by more than 2147483647 - 1
during a single sampling interval. Care should also be taken not to set the interval value too low
to avoid creating unnecessary processing overhead.
Default None
Values 1 — 2147483647