HP VPN Firewall Appliances System Management and Maintenance Command Reference

156
prialarm-des: Private alarm entry description, a string of 1 to 127 characters.
sampling-interval: Sets the sampling interval in the range of 10 to 65535 seconds.
absolute | changeratio | delta: Sets the sampling type to absolute, delta, or change ratio. Absolute
sampling is to obtain the value of the variable when the sampling time is reached. Delta sampling is to
obtain the variation value of the variable during the sampling interval when the sampling time is reached.
Change ratio sampling is not supported at present.
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, where 0 means no corresponding event is
triggered and no event action is taken when an alarm is triggered.
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.
forever: Indicates that the lifetime of the private alarm entry is infinite.
cycle cycle-period: Sets the lifetime period of the private alarm entry, in the range of 0 to 2147483647
seconds.
owner text: Specifies the entry owner, a case-sensitive string of 1 to 127 characters that can contain
spaces.
Usage guidelines
Before creating an alarm entry, use the rmon event command to define the events to be referenced in the
event table.
You cannot create an entry that has the same alarm variable formula (prialarm-formula), sampling type
(absolute changeratio or delta), rising threshold (threshold-value1), and falling threshold
(threshold-value2) as an existing private alarm entry.
You can create up to 50 private alarm entries.
The system handles private alarm entries as follows:
1. Samples the private alarm variables in the private alarm formula at the specified sampling interval.
2. Performs calculation on the sampled values with the formula.
3. Compares the calculation result with the predefined thresholds and does the following:
{ If the result is equal to or greater than the rising threshold, triggers the event specified by the
event-entry1 argument.
{ If the result is equal to or smaller than the falling threshold, triggers the event specified by the
event-entry2 argument.
Examples
# Monitor the ratio of the broadcast packets received on the interface by using the private alarm.
C a l c u l a t e t h e p r iv a t e a l a rm v a r i a b l e s w i t h t h e (1. 3. 6.1. 2.1.16.1.1.1. 6 .1 * 10 0 / .1.3. 6.1. 2.1.16.1.1.1. 5.1) f o r m u l a
and sample the corresponding variables at 10-second intervals. (Broadcast packet ratio= total number of
broadcast packets received on the interface/total number of packets received on the interface. The
formula is user configurable.)
The rising threshold (80%) triggers event 1 to log the event. The falling threshold (5%) triggers event 2, but
the event defines neither log nor trap action.