33-4
Cisco Catalyst Blade Switch 3130 for Dell Software Configuration Guide
OL-13270-01
Chapter33 Configuring Embedded Event Manager
Understanding Embedded Event Manager
Embedded Event Manager Actions
EEM provides actions that occur in response to an event. EEM suppor ts t he se a c tions :
Modifying a named counter.
Publishing an application-specific event.
Generating an SNMP trap.
Generating prioritized syslog messages.
Reloading the Cisco IOS software.
Reloading the switch stack.
Reloading the master switch in the event of a master switchover. If this occurs, a new master switch
is elected.
Embedded Event Manager Policies
EEM can monitor events and provide information, or take corrective action when the monitored events
occur or a threshold is reached. An EEM policy is an entity that defines an event and the actions to be
taken when that event occurs.
There are two types of EEM policies: an applet or a scrip t. A n appl et is a simpl e p o licy that i s define d
within the CLI configuration. It is a concise method for defining event scr eening criteria and the actions to
be taken when that event occurs. Scripts are defined on the networking device by using an ASCII editor.
The script is then copied to the networking device and registered with EEM.
You use EEM to write and implement your own policies using the EEM policy tool command language
(TCL) script. When you configure a TCL script on the master swi tc h and t he file is a utom atic all y sent
to the member switches. The user-defined TCL scripts must be available in the member switches so that
if the master switch changes, the TCL scripts policies continue to work.
Cisco enhancements to TCL in the form of keyword extensions facilitate the development of EEM
policies. These keywords identify the detected event, the subsequent action, utility inf ormation, counter
values, and system information.
For complete information on configuring EEM policies and scripts, see the Cisco IOS Network Management
Configuration Guide, Release 12.4T.
Embedded Event Manager Environment Variables
EEM uses environment variables in EEM policies. These variables are defined in a EEM policy tool
command language (TCL) script by running a CLI command and the event manager e nvironment
command. These environment variables can be defined in EE M :
User-defined variables
Defined by the user for a user-defined policy.
Cisco-defined variables
Defined by Cisco for a specific sample policy.