R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101

153
rmon prialarm
Syntax
rmon prialarm entry-number prialarm-formula prialarm-des sampling-interval { absolute | changeratio |
delta } rising-threshold threshold-value1 event-entry1 falling-threshold threshold-value2 event-entry2
entrytype { forever | cycle cycle-period } [ owner text ]
undo rmon prialarm entry-number
View
System view
Default level
2: System level
Parameters
entry-number: Index of a private alarm entry, which ranges from 1 to 65535.
prialarm-formula: Private alarm variable formula, a string of 1 to 256 characters. The variables in the
formula must be represented in OID format that starts wi t h a p o i nt " . " , t h e f o rm u l a ( .1.3 . 6.1. 2.1. 2.1.10 .1) * 8
for example. You can customize the formula and perform the basic operations of addition, subtraction,
multiplication, and division on these variables. The operations should yield a long integer. To prevent
errors, make sure that the result of each calculating step falls into the value range for long integers.
prialarm-des: Private alarm entry description, a string of 1 to 127 characters.
sampling-interval: Sampling interval, which ranges from 10 to 65,535 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 threshold-value1
represents the rising threshold, in the range –2,147,483,648 to +2,147,483,647, and event-entry1
represents the index of the event triggered when the rising threshold is reached. event-entry1 ranges from
0 to 65,535. If 0 is specified, the alarm does not trigger any event.
falling-threshold threshold-value2 event-entry2: Sets the falling threshold, where threshold-value2
represents the falling threshold, in the range2,147,483,648 to +2,147,483,647 and event-entry2
represents the index of the event triggered when the falling threshold is reached. event-entry2 ranges
from 1 to 65,535. If 0 is specified, the alarm does not trigger any event.
forever: Indicates that the lifetime of the private alarm entry is infinite.
cycle cycle-period: Sets the lifetime period of the private alarm entry, which ranges from 0 to
2,147, 483 ,6 47 s e c o n ds .
owner text: Owner of the entry, a case-sensitive string of 1 to 127 characters that can contain spaces.
Description
Use rmon prialarm to create an entry in the private alarm table of RMON.
Use undo rmon prialarm to remove a private alarm entry from the private alarm table of RMON.
Before creating an alarm entry, use the rmon event command to define the events to be referenced in the
event table.