280
Parameters
boolean
: Specifies the Boolean test. This test compares the value of the monitored object with the
reference value.
existence
: Specifies the existence test. This test monitors the absence, presence, and change of
the monitored object.
threshold
: Specifies the threshold test. This test compares the value of the monitored object with the
specified thresholds, such as rising threshold and falling threshold.
Usage guidelines
For more information about the trigger tests, see the commands in the trigger-Boolean view,
trigger-existence view, and trigger-threshold view .
Examples
# Specify the existence test for a trigger.
<Sysname> system-view
[Sysname] snmp mib event trigger owner owner1 name triggerA
[Sysname-trigger-owner1-triggerA] test existence
Related commands
snmp mib event trigger
trigger enable
Use
trigger enable
to enable a trigger.
Use
undo trigger enable
to disable a trigger.
Syntax
trigger enable
undo trigger enable
Default
A trigger is disabled.
Views
Trigger view
Predefined user roles
network-admin
Usage guidelines
Before you enable a trigger, make sure the trigger meets the following conditions:
•
A monitored object is specified for the trigger.
•
The trigger sampling interval is greater than or equal to the minimum sampling interval.