792
Configuring Embedded Event Manager
Information About Embedded Event Manager
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
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.
Cisco built-in variables (available in EEM applets)
Defined by Cisco and can be read-only or read-write. The read-only variables are set by the system before an applet
starts to execute. The single read-write variable, _exit_status, allows you to set the exit status for policies triggered
from synchronous events.
Cisco-defined environment variables and Cisco system-defined environment variables might apply to one specific event
detector or to all event detectors. Environment variables that are user-defined or defined by Cisco in a sample policy are
set by using the
event manager environment
global configuration command. You must defined the variables in the EEM
policy before you register the policy.
For information about the environmental variables that EEM supports, see
Embedded Event Manager Configuration
Guide, Cisco IOS Release 15M&T
.
EEM 3.2
EEM 3.2 introduces these event detectors:
Neighbor Discovery—Provides the ability to publish a policy to respond to automatic neighbor detection when:
—
a Cisco Discovery Protocol (CDP) cache entry is added, deleted, or updated.
—
a Link Layer Discovery Protocol (LLDP) cache entry is added, deleted or updated.
Содержание IE 4000
Страница 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Страница 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Страница 108: ...104 Configuring Switch Clusters Additional References ...
Страница 128: ...124 Performing Switch Administration Additional References ...
Страница 130: ...126 Configuring PTP ...
Страница 140: ...136 Configuring CIP Additional References ...
Страница 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Страница 192: ...188 Configuring Switch Based Authentication Additional References ...
Страница 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Страница 274: ...270 Configuring SGT Exchange Protocol over TCP SXP and Layer 3 Transport Configuring Cisco TrustSec Caching ...
Страница 298: ...294 Configuring VLANs Additional References ...
Страница 336: ...332 Configuring STP Additional References ...
Страница 408: ...404 Configuring DHCP Additional References ...
Страница 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Страница 490: ...486 Configuring SPAN and RSPAN Additional References ...
Страница 502: ...498 Configuring Layer 2 NAT ...
Страница 559: ...555 Configuring Network Security with ACLs How to Configure Network Security with ACLs Creating a Numbered Extended ACL ...
Страница 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Страница 930: ...926 Configuring IP Unicast Routing Related Documents ...
Страница 956: ...952 Configuring IPv6 Unicast Routing Configuring IPv6 network 2010 AB8 2 48 network 2010 AB8 3 48 exit address family ...
Страница 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Страница 978: ...974 Dying Gasp ...
Страница 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Страница 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Страница 996: ...992 Ethernet CFM ...
Страница 1030: ...1026 Working with the Cisco IOS File System Configuration Files and Software Images Working with Software Images ...
Страница 1066: ...1062 Using an SD Card SD Card Alarms ...