The following example configures to monitor the Trap message with
the OID as 1.3.6.1.2.1.52.2.1 sent by the device. When the OID value
of the Trap message is larger than 1000, the policy is triggered.
Ruijie(config)#intelligence manager applet Test_1
Ruijie(config-applet)#event tag monitor_trap snmp-notification oid
1.3.6.1.2.1.52.2.1 op gt oid-val 1000
Ruijie(config-applet)#action 00 syslog msg "have trap
$_snmp_notif_oid value $_snmp_notif_oid_val"
Ruijie(config-applet)#action 10 exit 1
Ruijie(config-applet)#commit
Ruijie(config-applet)#exit
event snmp-object
This command is used to configure a monitor of the get, set, and get next operations on SNMP
objects in SEM configuration mode. The no form of this command is used to delete an event with
the specified name.
event tag event-name [correlate {andnot | and | or}] snmp-object [operate {get|getnext|set}]