196
CLI:
_cmd Commands that are matched.
Syslog:
_syslog_pattern Log message content.
Hotplug:
_slot ID of the IRF member device where a hot swap event occurs.
_subslot ID of the slot on which a hot swap event occurs.
Interface:
_ifname Interface name.
SNMP:
_oid OID of the MIB variable where an SNMP operation is performed.
_oid_value Value of the MIB variable.
SNMP-Notification:
_oid OID that is included in the SNMP notification.
Process:
_process_name Process name.
User-defined variables
You can use user-defined variables for all types of events.
User-defined variable names can contain digits, characters, and the underscore sign (_), except that
their leading character cannot be the underscore sign.
Configuring a user-defined EAA environment
variable
Configure a user-defined EAA environment variable before you use it in an action.
To configure a user-defined EAA environment variable:
1.
view.
system-view
N/A
2.
user-
environment
variable.
rtm environment
env-name
env-value
By default, no user-
defined environment
variables are configured. The system
provides the system-
Table 20.
Configuring a monitor policy
You can configure a monitor policy by using the CLI or Tcl.