User-defined variables – H3C Technologies H3C S6300 Series Switches User Manual

Page 210

Advertising
background image

197

Event-specific variable—Available only for a type of event.

Table 20

shows all system-defined variables.

Table 20 System-defined EAA environment variables by event type

Variable name

Description

Any event:

_event_id Event

ID.

_event_type Event

type.

_event_type_string

Event type description.

_event_time

Time when the event occurs.

_event_severity

Severity level of an event.

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.

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 (_), but 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:

Advertising