HP 6125G Command Reference Manual page 103

Network management and monitoring
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

falling-threshold threshold-value2 event-entry2: Sets the falling threshold, where the threshold-value2
argument represents the falling threshold, in the range –2147483648 to +2147483647 and the
event-entry2 argument represents the index of the event triggered when the falling threshold is reached.
event-entry2 ranges from 1 to 65535. If 0 is specified, the alarm does not trigger any event.
owner text: Specifies the owner of the entry, a case-sensitive string of 1 to 127 characters that can contain
spaces.
Description
Use rmon alarm to create an entry in the RMON alarm table.
Use undo rmon alarm to remove an entry from the RMON alarm table.
You can create up to 60 alarm entries.
To make sure an alarm entry can take effect:
Before creating an alarm entry, use the rmon event command to define the events to be referenced.
Otherwise, the alarm entry cannot trigger events, even if it can be created.
If the alarm variable is an instance of the leaf node of the Ethernet statistics table etherStatsEntry
with the OID of 1.3.6.1.2.1.16.1.1.1, use the rmon statistics command to create a statistics entry on the
monitored Ethernet interface. If the alarm variable is an instance of the leaf node of the history
record table etherHistoryEntry with the OID of 1.3.6.1.2.1.16.2.2.1, use the rmon history command
to create a history entry on the monitored Ethernet interface. Otherwise, the alarm entry cannot
trigger events, even if it can be created.
Make sure the alarm entry has different alarm variable (alarm-variable), sampling interval
(sampling-interval), sampling type (absolute or delta), rising threshold (threshold-value1) and
falling threshold (threshold-value2) than any existing alarm entry in the system.
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.
Related commands: display rmon alarm, rmon event, rmon history, and rmon statistics.
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 1/0/1
[Sysname-GigabitEthernet1/0/1] rmon statistics 1
[Sysname-GigabitEthernet1/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 statistics of the received
packets on the interface, in bytes. In the above 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.
97

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents