beautypg.com

Rmon alarm – LevelOne GTL-2691 User Manual

Page 848

background image

C

HAPTER

26

| Remote Monitoring Commands

– 848 –

rmon alarm

This command sets threshold bounds for a monitored variable. Use the no

form to remove an alarm.

S

YNTAX

rmon alarm index variable interval {absolute | delta}

rising-threshold threshold [event-index]

falling-threshold threshold [event-index]

[owner name]

no rmon alarm index

index – Index to this entry. (Range: 1-65535)
variable – The object identifier of the MIB variable to be sampled.

Only variables of the type etherStatsEntry.n.n may be sampled.

Note that etherStatsEntry.n uniquely defines the MIB variable, and

etherStatsEntry.n.n defines the MIB variable, plus the

etherStatsIndex. For example, 1.3.6.1.2.1.16.1.1.1.6.1 denotes

etherStatsBroadcastPkts, plus the etherStatsIndex of 1.
interval – The polling interval. (Range: 1-31622400 seconds)
absolute – The variable is compared directly to the thresholds at

the end of the sampling period.
delta – The last sample is subtracted from the current value and

the difference is then compared to the thresholds.
threshold – An alarm threshold for the sampled variable.

(Range: 0-2147483647)
event-index – The index of the event to use if an alarm is triggered.

If there is no corresponding entry in the event control table, then no

event will be generated. (Range: 1-65535)
name – Name of the person who created this entry. (Range: 1-127

characters)

D

EFAULT

S

ETTING

1.3.6.1.2.1.16.1.1.1.6.1 - 1.3.6.1.2.1.16.1.1.1.6.26
Taking delta samples every 30 seconds,
Rising threshold is 892800, assigned to event 0
Falling threshold is 446400, assigned to event 0

C

OMMAND

M

ODE

Global Configuration

C

OMMAND

U

SAGE

If an event is already defined for an index, the entry must be deleted

before any changes can be made with this command.

If the current value is greater than or equal to the rising threshold, and

the last sample value was less than this threshold, then an alarm will be

generated. After a rising event has been generated, another such event

will not be generated until the sampled value has fallen below the rising

threshold, reaches the falling threshold, and again moves back up to

the rising threshold.