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
PurposeCommand 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