rmon event

Defines the action to be taken when an alarm is reported and collects and stores reported events for retrieval by an Remote Monitoring (RMON) application.
Syntax
rmon event event-entry description event-description { { execute | log-and-execute | log-trap-and-execute | trap-and-execute } [ argument string ] | log | trap | log-and-trap} owner event-owner
no rmon event event-entry description event-description { { execute | log-and-execute | log-trap-and-execute | trap-and-execute } [ argument string ] | log | trap | log-and-trap} owner event-owner
Command Default

An RMON event is not configured.

Parameters
event-entry
Specifies the event number.
description event-description
Configures the event description.
execute
Executes a batch command when the event fires.
log-and-execute
Generates an RMON log and execute batch command when the event fires.
log-trap-and-execute
Generates an RMON log and SNMP trap and executes a batch command when the event fires.
trap-and-execute
Generates an SNMP trap and executes a batch command when the event fires.
argument string
Specifies the batch command argument.
log
Generates an RMON log when the event fires.
trap
Generates an SNMP trap when the event fires.
log-and-trap
Generates an RMON log and SNMP trap when the event fires.
owner event-owner
Specifies the batch command owner.
Modes

Global configuration mode

Usage Guidelines

There are two elements to the Event Group: the event control table and the event log table. The event control table defines the action to be taken when an alarm is reported. Defined events can be found by entering the CLI command show event. The event log table collects and stores reported events for retrieval by an RMON application.

The no form of the command removes the configured RMON event.

Examples

The following example configures an RMON event.

device(config)# rmon event 1 description ‘testing a longer string’ trap owner nyc02