276
If the trigger owner has no read access to the monitored object configured in trigger view, sampling
on the object cannot be performed. For more information about SNMPv3 user access rights, see
Network Management and Monitoring Configuration Guide.
Examples
# Create a trigger with the owner owner1 and name triggerA.
<Sysname> system-view
[Sysname] snmp mib event trigger owner owner1 name triggerA
[Sysname-trigger-owner1-triggerA]
snmp-agent trap enable event-mib
Use snmp-agent trap enable event-mib to enable the Event MIB trap feature.
Use undo snmp-agent trap enable event-mib to disable the Event MIB trap feature.
Syntax
snmp-agent trap enable event-mib
undo snmp-agent trap enable event-mib
Default
The Event MIB trap feature is enabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
After you enable the Event MIB trap feature, traps are generated when object sampling fails or a
trigger condition is met and sent to the SNMP module. Traps include trigger trap, rising threshold
break trap, falling threshold break trap, trigger-condition detection failure trap, and set-action trigger
failure trap.
For the traps to be sent correctly, you must also configure SNMP on the device. For more information
about SNMP configuration, see Network Management and Monitoring Configuration Guide.
Examples
# Enable the event MIB trap feature.
<Sysname> system-view
[Sysname] snmp-agent trap enable event-mib
startup (trigger-existence view)
Use startup to specify existence trigger test types for the first sampling.
Use undo startup to remove the existence trigger test types for the first sampling.