CLI Reference SEM Configuration Commands
oid oid-value type value istable {yes | no} 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.
operate
{get|getnext|set}
(Optional) SNMP operation type.
Indicate whether SNMP OID is a table.
(Optional) indicate whether to skip the SNMP
operation, the default setting is no.
The following example configures to monitor the modification of SNMP
OID 1.3.6.1.2.1.1.4. When it is modified, a log is generated.
Ruijie(config)#intelligence manager applet Test_1
Ruijie(config-applet)#event tag monitor-snmpobj snmp-object oid
1.3.6.1.2.1.1.4 type octet sync yes
Ruijie(config-applet)#action 00 syslog msg "_snmp_oid : $_snmp_oid
_snmp_request_type : $_snmp_request_type _snmp_value :
$_snmp_value"
Ruijie(config-applet)#action 10 exit 1
Ruijie(config-applet)#commit