Configuring Description of an Embedded Event Manager Applet
Perform this task to describe an EEM applet. The description of an applet can be added in any order, before
or after any other applet configuration. Configuring a new description for an applet that already has a description
overwrites the current description. An applet description is optional.
Perform this task to configure a new description for an applet.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
event manager applet
applet-name
4.
description line
5.
event syslog pattern regular-expression
6.
action label syslog msg msg-text
7.
end
DETAILED STEPS
Purpose
Command or Action
Enables privileged EXEC mode.
enable
Step 1
Example:
Device> enable
•
Enter your password if prompted.
Enters global configuration mode.
configure terminal
Example:
Device# configure terminal
Step 2
Registers the applet with the EEM and enters applet
configuration mode.
event manager applet
applet-name
Example:
Device(config)# event manager applet
increment
Step 3
Adds or modifies the description of an EEM applet that is run
by sampling Simple Network Management Protocol (SNMP).
description line
Example:
Device(config-applet)# description "This
Step 4
applet looks for the word count in syslog
messages"
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1743
How to Write EEM Policies Using the Cisco IOS CLI
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......