270
Use undo rising to restore the default.
Syntax
rising { event owner event-owner name event-name | value integer-value }
undo rising { event | value }
Default
The rising threshold is 0, and no rising event is specified.
Views
Trigger-threshold view
Predefined user roles
network-admin
Parameters
event owner event-owner: Specifies an event owner. Use the trigger owner as the event owner.
name event-name: Specifies an event name, a case-sensitive string of 1 to 32 characters.
value integer-value: Specifies a rising threshold in the range of –2147483648 to 2147483647. The
value must be greater than or equal to the falling threshold.
Usage guidelines
If the value of the monitored object crosses the rising threshold at two or more samplings in
succession, an event is triggered only at the first sampling.
Examples
# Set the rising threshold to 50 and specify the rising event with the owner owner1 and name event1
for the threshold test.
<Sysname> system-view
[Sysname] snmp mib event trigger owner owner1 name triggerA
[Sysname-trigger-owner1-triggerA] test threshold
[Sysname-trigger-owner1-triggerA-threshold] rising value 50
[Sysname-trigger-owner1-triggerA-threshold] rising event owner owner1 name event1
Related commands
sample
snmp mib event trigger
test
sample
Use sample to specify a sampling method.
Use undo sample to restore the default.