789
Cisco Systems, Inc. www.cisco.com
Configuring Embedded Event Manager
Embedded Event Manager (EEM) is a distributed and customized approach to event detection and recovery within a Cisco
IOS device. EEM offers the ability to monitor events and take informational, corrective, or any other EEM action when the
monitored events occur or when a threshold is reached. An EEM policy defines an event and the actions to be taken when
that event occurs.
This chapter describes how to configure EEM and how to use it to monitor and manage the Cisco Industrial Ethernet
Switches, hereafter referred to as switch.
Note: For complete syntax and usage information for the commands used in this chapter, see the documents listed in
the Related Documents, page 796.
This chapter includes these sections:
Information About Embedded Event Manager, page 789
Prerequisites, page 793
Guidelines and Limitations, page 793
Default Settings, page 793
Configuring Embedded Event Manager, page 793
Verifying Configuration, page 795
Configuration Example, page 795
Related Documents, page 796
Information About Embedded Event Manager
EEM monitors key system events and then acts on them through a set policy. This policy is a programmed script that you
can use to customize a script to invoke an action based on a given set of events occurring. The script generates actions
such as generating custom syslog or Simple Network Management Protocol (SNMP) traps, invoking CLI commands,
forcing a failover, and so forth. The event management capabilities of EEM are useful because not all event management
can be managed from the switch and because some problems compromise communication between the switch and the
external network management device. Network availability is improved if automatic recovery actions are performed
without rebooting the switch.
Figure 96 on page 790 shows the relationship between the EEM server, the core event publishers (event detectors), and
the event subscribers (policies). The event publishers screen events and when there is a match on an event specification
that is provided by the event subscriber. Event detectors notify the EEM server when an event occurs. The EEM policies
then implement recovery based on the current state of the system and the actions specified in the policy for the given
event.