rmon event
rmon event
event-entry
description
event-description
{
{
execute
batch_id
|
log-and-execute
batch_id
|
log-trap-and-execute
community_string
batch_id
|
trap-and-execute
community_string
batch_id
}
[
argument
string
]
|
log
|
trap
community_string
|
log-and-trap
community_string
}
owner
event-ownerno rmon event
event-entry
description
event-description
{
{
execute
batch_id
|
log-and-execute
batch_id
|
log-trap-and-execute
community_string
batch_id
|
trap-and-execute
community_string
batch_id
}
[
argument
string
]
|
log
|
trap
community_string
|
log-and-trap
community_string
}
owner
event-ownerAn RMON event is not configured.
- execute batch_id
- Executes listed batch command arguments in CLI privilege mode and stores related output in the log file when the event fires.
- log-trap-and-execute community_string batch_id
- Generates an RMON log and SNMP trap and executes a batch command when the event fires.
- trap-and-execute community_string batch_id
- Generates an SNMP trap and executes a batch command when the event fires.
- log
- Generates an RMON log that is included in the
show rmon logcommand output when the event fires.
Global configuration mode
The no form of the command
removes the configured RMON event.
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.
Use the following command to display output from command execution that has been stored in the log:
device# show log debug management rmond_event all
The following examples configure an RMON event.
device(config)# rmon event 1 description ‘testing a longer string’ trap cmty1 owner nyc02
| Release version | Command history |
|---|---|
| 09.0.00 | The command was deprecated. |
| 09.0.10c | Support for the command was restored. |