Configuring Description Of An Eem Applet Examples - Cisco Catalyst 2960 series Configuration Manual

Consolidated platform configuration guide, ios release 15.2(4)e
Hide thumbs Also See for Catalyst 2960 series:
Table of Contents

Advertisement

description "APPLET SNMP-OBJ-1"
event snmp-object oid 1.3.6.1.2.1.31.1.1.1.18 type string sync no skip no istable yes
default 0
action 1 syslog msg "SNMP-OBJ1:TRIGGERED" facility "SNMP_OBJ"
action 2 context save key myoid variable "_snmp_oid"
action 3 context save key myvalue variable "_snmp_value"

Configuring Description of an EEM Applet Examples

The following example shows how to add or modify the description for an Embedded Event Manager (EEM)
applet that is run by sampling Simple Network Management Protocol (SNMP):
event manager applet test
description "This applet looks for the word count in syslog messages"
event syslog pattern "count"
action 1 syslog msg hi
Additional References
The following sections provide references related to writing EEM policies Using the Cisco IOS CLI.
Related Documents
Related Topic
Cisco IOS commands
EEM commands: complete command syntax, defaults,
command mode, command history, usage guidelines,
and examples
Embedded Event Manager overview
Embedded Event Manager policy writing using Tcl
Configuring enhanced object tracking
Standards
Standard
No new or modified standards are supported, and
support for existing standards has not been modified.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
Document Title
Cisco IOS Master Commands List, All Releases
Cisco IOS Embedded Event Manager Command
Reference
Embedded Event Manager Overview module
Writing Embedded Event Manager Policies Using
Tcl module
Configuring Enhanced Object Tracking module
Title
--
Additional References
1759

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents