Verifying The Eem Configuration - Cisco Nexus 7000 Series Configuration Manual

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Verifying the EEM Configuration

Step 2
Step 3
Step 4
Verifying the EEM Configuration
To display EEM configuration information, use one of the following commands:
Command
show event manager environment [variable-name
| all]
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
266
Command or Action
event manager applet applet-name
Example:
switch(config)# event manager
applet abc
switch(config-applet)#
event syslog [tag tag] {occurs
number | period seconds | pattern
msg-text | priority priority}
Example:
switch(config-applet)# event
syslog occurs 10
copy running-config startup-config
Example:
switch(config)# copy
running-config startup-config
Configuring the Embedded Event Manager
Purpose
Registers an applet with EEM and enters applet configuration
mode.
Monitors syslog messages and invokes the policy based on
the search string in the policy.
• The tag tag keyword-argument pair identifies this
specific event when multiple events are included in the
policy.
• The occurs number keyword-argument pair specifies
the number of occurrences. The range is from 1 to
65000.
• The period seconds keyword-argument pair specifies
the interval during which the event occurs. The range
is from 1 to 4294967295.
• The pattern msg-text keyword-argument pair specifies
the matching regular expression. The pattern can contain
character text, an environment variable, or a
combination of the two. If the string contains embedded
blanks, it is enclosed in quotation marks.
• The priority priority keyword-argument pair specifies
the priority of the syslog messages. If this keyword is
not selected, all syslog messages are set at the
informational priority level.
(Optional)
Copies the running configuration to the startup configuration.
Purpose
Displays information about the event manager
environment variables.

Advertisement

Table of Contents
loading

Table of Contents

Save PDF