279
Default
An event is triggered for the first Boolean sampling.
Views
Trigger-Boolean view
Predefined user roles
network-admin
Usage guidelines
For an event to be triggered when a trigger condition is met at the first Boolean sampling, execute the
startup enable
command.
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
# Trigger an event for the first Boolean sampling.
<Sysname> system-view
[Sysname] snmp mib event trigger owner owner1 name triggerA
[Sysname-trigger-owner1-triggerA] test boolean
[Sysname-trigger-owner1-triggerA-boolean] startup enable
Related commands
comparison
value
test
Use
test
to specify a trigger test type and enter its view.
Use
undo test
to remove a trigger test type.
Syntax
test
{
boolean
|
existence
|
threshold
}
undo test
{
boolean
|
existence
|
threshold
}
Default
No test type is specified for a trigger.
Views
Trigger view
Predefined user roles
network-admin