Rmon Event - H3C SR6600 Command Reference Manual

Network management and monitoring command reference
Hide thumbs Also See for SR6600:
Table of Contents

Advertisement

When the alarm condition in an alarm entry occurs, its associated event is triggered to handle the alarm.
The system regularly samples the monitored alarm variables, compares the sampled values with the
predefined thresholds, and does the following:
If the rising threshold is reached, triggers the event specified by the event-entry1 argument.
If the falling threshold is reached, triggers the event specified by the event-entry2 argument.
Examples
# Add entry 1 in the alarm table and sample the node 1.3.6.1.2.1.16.1.1.1.4.1 at a sampling interval of 10
seconds in absolute sampling type. Trigger event 1 when the sampled value is greater than or equal to
the rising threshold of 5000, and event 2 when the sampled value is less than or equal to the falling
threshold of 5. Set the owner of the entry to be user1.
<Sysname> system-view
[Sysname] rmon event 1 log
[Sysname] rmon event 2 none
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] rmon statistics 1
[Sysname-GigabitEthernet2/0/1] quit
[Sysname] rmon alarm 1 1.3.6.1.2.1.16.1.1.1.4.1 10 absolute rising-threshold 5000 1
falling-threshold 5 2 owner user1
1.3.6.1.2.1.16.1.1.1.4 is the OID of the leaf node etherStatsOctets. It represents the incoming packet
statistics in bytes for interfaces. In this example, you can use etherStatsOctets.1 to replace the parameter
1.3.6.1.2.1.16.1.1.1.4.1, where 1 indicates the serial number of the interface statistics entry. If you execute
the rmon statistics 5 command, you can use etherStatsOctets.5 to replace the parameter.
This example enables the RMON agent to do the following:
Samples and monitors interface GigabitEthernet 2/0/1.
Obtains the incoming-packet count in its absolute value. If the total number of incoming bytes
reaches 5000, the system logs the event. If the total number of incoming bytes is no more than 5,
the system takes no action.
Related commands
display rmon alarm

rmon event

rmon history
rmon statistics
rmon event
Use rmon event to create an entry in the RMON event table.
Use undo rmon event to remove an entry from the RMON event table.
Syntax
rmon event entry-number [ description string ] { log | log-trap log-trapcommunity | none | trap
trap-community } [ owner text ]
undo rmon event entry-number
Views
System view
144

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sr6600-x

Table of Contents