Blade ICE G8000 manual RMON group 9-Events, Configure RMON events, Example

Models: G8000

1 145
Download 145 pages 21.85 Kb
Page 118
Image 118
1.Configure the RMON Alarm parameters to track ICMP messages.

RackSwitch G8000 Application Guide

Example 2

1.Configure the RMON Alarm parameters to track ICMP messages.

RS G8000 (config)# rmon alarm 1 oid 1.3.6.1.2.1.5.8.0

RS G8000

 

alarm-type rising rise-event

110

(config)# rmon alarm 1

interval-time 60

200

RS G8000

(config)# rmon alarm 1

rising-threshold

RS

G8000

(config)#

rmon

alarm

1

sample-type delta

icmpInEchos"

RS

G8000

(config)#

rmon

alarm

1

owner "Alarm for

This configuration creates an RMON alarm that checks icmpInEchos on the switch once every minute. If the statistic exceeds 200 within a 60 second interval, an alarm is generated that triggers event index 110.

RMON group 9—Events

The RMON Event Group allows you to define events that are triggered by alarms. An event can be a log message, an SNMP trap, or both.

When an alarm is generated, it triggers a corresponding event notification. Use the following commands to correlate an Event index to an alarm:

RS G8000 (config)# rmon alarm <alarm number> rise-event<event number> RS G8000 (config)# rmon alarm <alarm number> fall-event<event number>

RMON events use SNMP and syslogs to send notifications. Therefore, an SNMP trap host must be configured for trap event notification to work properly.

RMON uses a syslog host to send syslog messages. Therefore, an existing syslog host must be configured for event log notification to work properly. Each log event generates a syslog of type RMON that corresponds to the event.

Configure RMON events

1.Configure the RMON event parameters.

RS G8000

(config)# rmon event 110

type log-only

RS

G8000

(config)#

rmon

event

110

description “SYSLOG_this_alarm”

RS

G8000

(config)#

rmon

event

110

owner “log icmpInEchos alarm”

This configuration creates an RMON event that sends a syslog message each time it is trig- gered by an alarm.

118 „ Chapter 7: Remote Monitoring

BMD00041, November 2008

Page 118
Image 118
Blade ICE G8000 manual RMON group 9-Events, Configure RMON events, Example, Configure the RMON event parameters