Event Detectors - Cisco 3032 Software Configuration Manual

Hide thumbs Also See for 3032:
Table of Contents

Advertisement

Chapter 33
Configuring Embedded Event Manager
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 the Cisco IOS Network
Management Configuration Guide, Release 12.4T.
Configuring Embedded Event Manager
These sections contain this configuration information:
For complete information about configuring embedded event manager, see the Cisco IOS Network
Management Configuration Guide, Release 12.4T.
Registering and Defining an Embedded Event Manager Applet
Beginning in privileged EXEC mode, perform this task to register an applet with EEM and to define the
EEM applet using the event applet and action applet configuration commands.
Only one event applet command is allowed in an EEM applet. Multiple action applet commands are
Note
permitted. If you do not specify the no event and no action commands, the applet is removed when you
exit configuration mode.
Command
Step 1
configure terminal
Step 2
event manager applet applet-name
Step 3
event snmp oid oid-value get-type
{exact | next} entry-op {eq | ge | gt | le |
lt | ne} entry-val entry-val [exit-comb
{or | and}] [exit-op {eq | ge | gt | le | lt |
ne}] [exit-val exit-val] [exit-time
exit-time-val] poll-interval poll-int-val
OL-12247-04
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.
Registering and Defining an Embedded Event Manager Applet, page 33-5
Registering and Defining an Embedded Event Manager TCL Script, page 33-6
Purpose
Enter global configuration mode.
Register the applet with EEM and enter applet configuration mode.
Specify the event criteria that causes the EEM applet to run.
(Optional) Exit criteria. If exit criteria are not specified, event monitoring
is re-enabled immediately.
Cisco Catalyst Blade Switch 3130 and 3032 for Dell Software Configuration Guide
Configuring Embedded Event Manager
33-5

Advertisement

Table of Contents
loading

This manual is also suitable for:

3130

Table of Contents