Specifications

15-4
System Management Software Configuration Guide for Cisco IE 2000U and Connected Grid Switches
Chapter 15 Configuring Embedded Event Manager
Information About Embedded Event Manager
Watchdog event detector (IOSWDSysMon) Publishes an event when one of these events occurs:
CPU utilization for a Cisco IOS process crosses a threshold.
Memory utilization for a Cisco IOS process crosses a threshold.
Two events can be monitored at the same time, and the event publishing criteria requires that one or
both events cross their specified thresholds.
Embedded Event Manager Actions
These actions occur in response to an event:
Modifying a named counter.
Publishing an application-specific event.
Generating an SNMP trap.
Generating prioritized syslog messages.
Reloading the Cisco IOS software.
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 script. An applet is a simple policy that is defined
within the CLI configuration. It is a concise method for defining event screening 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, which can be a bytecode (.tbc) and text (.tcl) script, is then copied to the networking device
and registered with EEM. You can also register multiple events in a .tcl file.
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 information, counter
values, and system information.
For complete information on configuring EEM policies and scripts, see the Embedded Event Manager
Configuration Guide, Cisco IOS Release 15M&T.
Embedded Event Manager Environment Variables
EEM uses environment variables in EEM policies. These variables are defined in an EEM policy tool
command language (TCL) script by running a CLI command and the event manager environment
command.
User-defined variables
Defined by the user for a user-defined policy.
Cisco-defined variables
Defined by Cisco for a specific sample policy.