Configuration Examples For Eem - Cisco Nexus 7000 Series Configuration Manual

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

Advertisement

Configuring the Embedded Event Manager
Command
show event manager event-types [event | all |
module slot]
show event manager history events [detail]
[maximum num-events] [severity {catastrophic |
minor | moderate | severe}]
show event manager policy internal [policy-name]
[inactive]
show event manager policy-state policy-name
show event manager script system [policy-name |
all]
show event manager system-policy [all]
show running-config eem
show startup-config eem
show event manager policy active [class
class-options | [detailed] [queue-type [applet] ]
show event manager policy pending [class
class-options | [detailed] [queue-type applet
[detailed] ]
show event manager scheduler thread detailed

Configuration Examples for EEM

This example shows how to override the __lcm_module_failure system policy by changing the threshold for
just module 3 hitless upgrade failures. This example also sends a syslog message. The settings in the system
policy, __lcm_module_failure, apply in all other cases.
event manager applet example2 override __lcm_module_failure
event module-failure type hitless-upgrade-failure module 3 count 2
action 1 syslog priority errors msg module 3 "upgrade is not a hitless upgrade!"
action 2 policy-default
This example shows how to override the __ethpm_link_flap system policy and shuts down the interface:
event manager applet ethport override __ethpm_link_flap
event policy-default count 2 time 1000
Purpose
Displays information about the event manager event
types.
Displays the history of events for all policies.
Displays information about the configured policies.
Displays information about the policy state, including
thresholds.
Displays information about the script policies.
Displays information about the predefined system
policies.
Displays information about the running configuration
for EEM.
Displays information about the startup configuration
for EEM.
Displays the EEM policies that are executing.
Displays the policies that are pending for execution.
Displays the scheduled activities of the EEM policies.
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
Configuration Examples for EEM
267

Advertisement

Table of Contents
loading

Table of Contents