EasyManua.ls Logo

Cisco Nexus 5600 Series - Configuring the Syslog as an EEM Publisher

Cisco Nexus 5600 Series
378 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Displays information about the system policy that you
want to override, including thresholds. Use the show
switch(config)# show event manager
policy-state system-policy
Step 2
event manager system-policy command to find the
system policy names.
Overrides a system policy and enters applet configuration
mode. The applet-name can be any case-sensitive,
switch(config)# event manager applet
applet-name override system-policy
Step 3
alphanumeric string up to 29 characters. The
system-policy must be one of the existing system policies.
(Optional)
Configures a descriptive string for the policy. The string
can be any alphanumeric string up to 80 characters.
Enclose the string in quotation marks.
switch(config-applet)# description
policy-description
Step 4
Configures the event statement for the policy. See the
Configuring Event Statements section on page 14-10.
switch(config-applet)# event
event-statement
Step 5
Configures an action statement for the policy. See the
Configuring Action Statements section on page 14-13.
switch(config-applet)# action number
action-statement
Step 6
Repeat Step 6 for multiple action statements.
(Optional)
Displays information about the configured policy.
switch(config-applet)# show event
manager policy-state name
Step 7
Saves this configuration change.switch(config-applet)# copy
running-config startup-config
Step 8
This example shows how to override a policy:
switch# configure terminal
switch(config)# show event manager policy-state _ethpm_link_flap
Policy _ethpm_link_flap
cfg count : 5
cfg time interval : 10.000000 (seconds)
Hash default, Count 0
switch(config)# event manager applet ethport override _ethpm_link_flap
switch(config-applet)# description "Overrides link flap policy"
switch(config-applet)# event policy-default count 2 time 1000
switch(config-applet)# action 1.0 syslog priority warnings msg "Link is flapping."
switch(config-applet)# show event manager policy-state ethport
switch(config-applet)# copy running-config startup-config
Configuring the Syslog as an EEM Publisher
You can monitor syslog messages from the switch.
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
OL-31641-01 247
Configuring EEM
Configuring the Syslog as an EEM Publisher

Table of Contents

Other manuals for Cisco Nexus 5600 Series

Related product manuals