213
Syntax
rmon prialarm entry-number prialarm-formula prialarm-des sampling-interval { absolute | delta }
[ startup-alarm { falling | rising | rising-falling } ] rising-threshold threshold-value1 event-entry1
falling-threshold threshold-value2 event-entry2 entrytype { forever | cycle cycle-period } [ owner
text ]
undo rmon prialarm entry-number
Default
No RMON private alarm entries exist.
Views
System view
Predefined user roles
network-admin
Parameters
entry-number: Specifies a private alarm entry index in the range of 1 to 65535.
prialarm-formula: Configures a private alarm variable formula, a string of 1 to 255 characters. The
variables in the formula must be represented in OID format that starts with a dot (.), for example,
(.1.3.6.1.2.1.2.1.10.1)*8. You can configure a formula to perform the basic math operations of
addition, subtraction, multiplication, and division on these variables. To get a correct calculation
result, make sure the following conditions are met:
The values of the variables in the formula are positive integers.
The result of each calculating step is in the value range for long integers.
prialarm-des: Configures an entry description, a case-sensitive string of 1 to 127 characters.
sampling-interval: Sets the sampling interval in the range of 10 to 65535 seconds.
absolute: Specifies absolute sampling. RMON compares the value of the variable with the rising and
falling thresholds at the end of the sampling interval.
delta: Specifies delta sampling. RMON subtracts the value of the variable at the previous sample
from the current value, and then compares the difference with the rising and falling thresholds.
startup-alarm: Specifies alarms that can be generated when the alarm entry becomes valid. If you
do not specify an alarm, RMON does the following:
Generates a rising alarm if the first sample crosses the rising threshold.
Generates a falling alarm if the first sample crosses the falling threshold.
rising: Generates a rising alarm if the first sample after the entry becomes valid is greater than or
equal to the rising threshold.
falling: Generates a falling alarm if the first sample after the entry becomes valid is less than or equal
to the rising threshold.
rising-falling: Generates a rising alarm or falling alarm if the first sample after the entry becomes
valid crosses the rising threshold or falling threshold.
rising-threshold threshold-value1 event-entry1: Sets the rising threshold. The threshold-value1
argument represents the rising threshold in the range of –2147483648 to +2147483647. The
event-entry1 argument represents the index of the event that is triggered when the rising threshold is
crossed. 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. The threshold-value2
argument represents the falling threshold in the range of –2147483648 to +2147483647. The
event-entry2 argument represents the index of the event that is triggered when the falling threshold