278
Default
The threshold trap type for the first sampling is
rising-or-falling
.
Views
Trigger-threshold view
Predefined user roles
network-admin
Parameters
falling
: Specifies the falling trap.
rising
: Specifies the rising trap.
rising-or-falling
: Specifies the rising or falling trap.
Usage guidelines
If the trap type for the first sampling is
rising
or
rising-or-falling
, a rising trap is triggered when the
first sample value is greater than or equal to the rising threshold.
If the trap type for the first sampling is
rising
or
rising-or-falling
, a falling trap is triggered when the
first sample value is smaller than or equal to the rising threshold.
If the first sampling fails or the monitored object does not exist at the first sampling, the second
sampling is considered the first sampling.
Examples
# Specify the rising trap for the first sampling.
<Sysname> system-view
[Sysname] snmp mib event trigger owner owner1 name triggerA
[Sysname-trigger-owner1-triggerA] test threshold
[Sysname-trigger-owner1-triggerA-threshold] startup rising
Related commands
sample
snmp mib event trigger
test
startup enable
Use
startup enable
to enable an event to be triggered for the first Boolean sampling.
Use
undo startup enable
to disable an event to be triggered for the first Boolean sampling.
Syntax
startup enable
undo startup enable