C H A P T E R 54 Configuring The Embedded Event Manager; Policies - Cisco AP776A - Nexus Converged Network Switch 5020 Configuration Manual

Cisco mds 9000 family cli configuration guide - release 4.x (ol-18084-01, february 2009)
Hide thumbs Also See for AP776A - Nexus Converged Network Switch 5020:
Table of Contents

Advertisement

About EEM
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m

Policies

An EEM policy consists of an event statement and one or more action statements. The event statement
defines the event to look for as well as the filtering characteristics for the event. The action statement
defines the action EEM takes when the event occurs.
Figure 54-1
Figure 54-1
You can configure EEM policies using the CLI or using a VSH script.
EEM policy matching is not supported on MDS switches.
Note
EEM maintains event logs on the supervisor.
Cisco NX-OS has a number of preconfigured system policies. These system policies define many
common events and actions for the device. System policy names begin with two underscore characters
(__).
You can create user policies to suit your network. If you create a user policy, any actions in your policy
occur after EEM triggers any system policy actions related to the same event as your policy. To configure
a user policy, see the
You can also override some system policies. The overrides that you configure take the place of the
system policy. You can override the event or the actions.
Use the show event manager system-policy command to view the preconfigured system policies and
determine which policies that you can override.
To configure an overriding policy, see the
You should use the show running-config eem command to check the configuration of each policy. An
Note
override policy that consists of an event statement and no action statement triggers no action and no
notification of failures.
Cisco MDS 9000 Family CLI Configuration Guide
54-2
Event statements—Events to monitor from another Cisco NX-OS component that may require some
action, workaround, or notification.
Action statements —An action that EEM can take, such as sending an e-mail, or disabling an
interface, to recover from an event.
Policies—An event paired with one or more actions to troubleshoot or recover from the event.
shows the two basic statements in an EEM policy.
EEM Policy Statements
Event Statement
Tells your system: Look for this
specific event to happen.
For example, when a card is
removed.
"Defining a User Policy Using the CLI" section on page
EEM Policy
Action Statement
Tells your system: If that event
happens, do these things.
For example, when a card is
removed, log the details.
"Overriding a Policy" section on page
Chapter 54
Configuring the Embedded Event Manager
54-6.
54-10.
OL-18084-01, Cisco MDS NX-OS Release 4.x

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents