HP VPN Firewall Appliances System Management and Maintenance Command Reference

152
so on) of the etherStatsEntry entry, the instance of the leaf node (like ifInOctets, ifInUcastPkts,
ifInNUcastPkts, and so on) of the ifEntry entry.
sampling-interval: Sets the sampling interval in the range of 5 to 65535 seconds.
absolute: Sets the sampling type to absolute. The system obtains the value of the variable when the
sampling time is reached.
delta: Sets the sampling type to delta. The system obtains the variation value of the variable during the
sampling interval when the sampling time is reached.
rising-threshold threshold-value1 event-entry1: Sets the rising threshold, where the threshold-value1
argument represents the rising threshold in the range of –2147483648 to +2147483647, and the
event-entry1 argument represents the index of the event triggered when the rising threshold is reached.
The value range for the event-entry1 argument is 0 to 65535. If 0 is specified, the alarm does not trigger
any event.
falling-threshold threshold-value2 event-entry2: Sets the falling threshold, where the threshold-value2
argument represents the falling threshold in the range of –2147483648 to +2147483647 and the
event-entry2 argument represents the index of the event triggered when the falling threshold is reached.
The value range for the event-entry2 argument is 1 to 65535. If 0 is specified, the alarm does not trigger
any event.
owner text: Specifies the entry owner, a case-sensitive string of 1 to 127 characters that can contain
spaces.
Usage guidelines
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
w i t h t h e O I D o f 1. 3 . 6 .1. 2.1.16 .1.1.1, u s e t h e 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.
Examples
# Add entry 1 in the alarm table and sample the node 1.3. 6 .1. 2 .1.16 .1.1.1. 4 .1 a t a s a m p l i n g i n t e r v a l o f 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