Users Guide

[no] rmon hc-alarm number variable interval {delta | absolute} rising-threshold value event-
number falling-threshold value event-number [owner string]
Configure the alarm using the following optional parameters:
number: alarm number, an integer from 1 to 65,535, the value must be unique in the RMON Alarm Table.
variable: the MIB object to monitor — the variable must be in SNMP OID format; for example, 1.3.6.1.2.1.1.3. The object type
must be a 32-bit integer for the rmon alarm command and 64 bits for the rmon hc-alarm command.
interval: time in seconds the alarm monitors the MIB variable, the value must be between 1 to 3,600.
delta: tests the change between MIB variables, this option is the alarmSampleType in the RMON Alarm table.
absolute: tests each MIB variable directly, this option is the alarmSampleType in the RMON Alarm table.
rising-threshold value: value at which the rising-threshold alarm is triggered or reset. For the rmon alarm command,
this setting is a 32-bits value, for the rmon hc-alarm command, this setting is a 64-bits value.
event-number: event number to trigger when the rising threshold exceeds its limit. This value is identical to the
alarmRisingEventIndex in the alarmTable of the RMON MIB. If there is no corresponding rising-threshold event, the value should
be zero.
falling-threshold value: value at which the falling-threshold alarm is triggered or reset. For the rmon alarm command,
this setting is a 32-bits value, for the rmon hc-alarm command this setting is a 64 bits value.
event-number: event number to trigger when the falling threshold exceeds its limit. This value is identical to the
alarmFallingEventIndex in the alarmTable of the RMON MIB. If there is no corresponding falling-threshold event, the value should
be zero.
owner string: (Optional) specifies an owner for the alarm, this setting is the alarmOwner object in the alarmTable of the
RMON MIB. Default is a null-terminated string.
To disable the alarm, use the no form of the command.
The following example configures RMON alarm number 10. The alarm monitors the MIB variable 1.3.6.1.2.1.2.2.1.20.1 (ifEntry.ifOutErrors)
once every 20 seconds until the alarm is disabled, and checks the rise or fall of the variable. The alarm is triggered when the
1.3.6.1.2.1.2.2.1.20.1 value shows a MIB counter increase of 15 or more (such as from 100000 to 100015). The alarm then triggers event
number 1, which is configured with the RMON event command. Possible events include a log entry or an SNMP trap. If the
1.3.6.1.2.1.2.2.1.20.1 value changes to 0 (falling-threshold 0), the alarm is reset and can be triggered again.
Dell(conf)#rmon alarm 10 1.3.6.1.2.1.2.2.1.20.1 20 delta rising-threshold
15 1 falling-threshold 0 1 owner nms1
Configuring an RMON Event
To add an event in the RMON event table, use the rmon event command in GLOBAL CONFIGURATION mode.
Add an event in the RMON event table.
CONFIGURATION mode
[no] rmon event number [log] [trap community] [description string] [owner string]
number: assigned event number, which is identical to the eventIndex in the eventTable in the RMON MIB. The value must be an
integer from 1 to 65,535 and be unique in the RMON Event Table.
log: (Optional) generates an RMON log entry when the event is triggered and sets the eventType in the RMON MIB to log or log-
and-trap. Default is no log.
trap community: (Optional) SNMP community string used for this trap. Configures the setting of the eventType in the RMON
MIB for this row as either snmp-trap snmptrap or log-and-trap. This value is identical to the eventCommunityValue in the
eventTable in the RMON MIB. Default is public.
description string: (Optional) specifies a description of the event, which is identical to the event description in the
eventTable of the RMON MIB. The default is a null-terminated string.
owner string: (Optional) owner of this event, which is identical to the eventOwner in the eventTable of the RMON MIB.
Default is a null-terminated string.
To disable RMON on the interface, use the no form of this command.
In the following example, the configuration creates RMON event number 1, with the description “High ifOutErrors”, and generates a log
entry when an alarm triggers the event. The user nms1 owns the row that is created in the event table by this command. This
configuration also generates an SNMP trap when the event is triggered using the SNMP community string “eventtrap”.
Dell(conf)#rmon event 1 log trap eventtrap description “High ifOutErrors” owner nms1
656
Remote Monitoring (RMON)