Rmon event – Microsens MS453490M Management Guide User Manual

Page 577

Advertising
background image

C

HAPTER

23

| Remote Monitoring Commands

– 577 –

such event will not be generated until the sampled value has risen

above the falling threshold, reaches the rising threshold, and again

moves back down to the failing threshold.

E

XAMPLE

Console(config)#rmon alarm 1 1 1.3.6.1.2.1.16.1.1.1.6.1 interval 15 delta

rising-threshold 100 event 1 falling-threshold 30 event 1 owner mike

Console(config)#

rmon event

This command creates a response event for an alarm. Use the no form to

remove an event.

S

YNTAX

rmon event index [log] | [trap community] | [description string] |

[owner name]

no rmon event index

index – Index to this entry. (Range: 1-65535)
log – Generates an RMON log entry when the event is triggered.

Log messages are processed based on the current configuration

settings for event logging (see

"Event Logging" on page 529

).

trap – Sends a trap message to all configured trap managers (see

"snmp-server host" on page 560

).

community – A password-like community string sent with the trap

operation to SNMP v1 and v2c hosts. Although this string can be set

using the rmon event command by itself, it is recommended that

the string be defined using the

snmp-server community

command

(

page 557

) prior to using the rmon event command. (Range: 1-32

characters)
string – A comment that describes this event. (Range: 1-127

characters)
name – Name of the person who created this entry. (Range: 1-127

characters)

D

EFAULT

S

ETTING

One default event is configured as follows:
event Index = 1

Description: RMON_TRAP_LOG

Event type: log & trap

Event community name is public

Owner is RMON_SNMP

C

OMMAND

M

ODE

Global Configuration

Advertising