237
Examples
# Specify the object list with the owner owner1 and name objectA for the trigger-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] object list owner owner1 name objectA
Related commands
snmp mib event trigger
test
oid (action-notification view)
Use oid to specify a notification to be sent when the notification action is triggered.
Use undo oid to restore the default.
Syntax
oid object-identifier
undo oid
Default
The OID is 0.0. No notification is specified for a notification action.
Views
Action-notification view
Predefined user roles
network-admin
Parameters
object-identifier: Specifies a notification OID, a case-sensitive string of 1 to 255 characters. It must
be a trap node.
Usage guidelines
The notification OID configured by using this command will be carried in the notification when the
notification action is taken.
Examples
# Specify the notification OID 1.3.6.1.2.1.14.16.2.1 for the event with the owner owner1 and name
EventA.
<Sysname> system-view
[Sysname] snmp mib event owner owner1 name EventA
[Sysname-event-owner1-EventA] action notification
[Sysname-event-owner1-EventA-notification] oid 1.3.6.1.2.1.14.16.2.1
Related commands
action
snmp mib event owner
oid (action-set view)
Use oid to specify a set-action object.