CLI Reference SEM Configuration Commands
The following example configures to monitor snmp oid
1.3.6.1.2.1.2.2.1.10.1. If the value is larger than 10000, a log is
generated.
Ruijie(config)#intelligence manager applet Test_1
Ruijie(config-applet)#event tag monitor_snmp snmp oid
1.3.6.1.2.1.2.2.1.10.1 get-type exact entry-op ge entry-val "10000"
entry-type value poll-interval 5
Ruijie(config-applet)#action 00 syslog msg "$_snmp_oid out of range"
Ruijie(config-applet)#commit
Ruijie(config-applet)#exit
Define the command line based SEM policy.
event snmp-notification
This command is used to configure a monitor of SNMP Traps 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-notification oid oid-string oid-val
comparison-value op operator [skip {yes | no}]
no event tag event-name
correlate { andnot |
and | or }
The relation between the current event and
the combination of the previous events in the
case of multiple events (optional). The
values are and, or, and andnot.
The reference value for monitoring
Indicate whether to skip the snmp trap. If it is
set to yes, the patterned snmp trap will be