Configuring Syslog As An Eem Publisher - Cisco Nexus 3548 series Configuration Manual

Nx-os system management, release 7.x
Hide thumbs Also See for Nexus 3548 series:
Table of Contents

Advertisement

Configuring Embedded Event Manager
Step 3
Step 4
Step 5
Step 6
Step 7
Step 8

Configuring Syslog as an EEM Publisher

Configuring syslog as an EEM publisher allows you to monitor syslog messages from the switch.
Note
The maximum number of searchable strings to monitor syslog messages is 10.
Command or Action
(seconds)
Hash default, Count 0
event manager applet applet-name override
system-policy
Example:
switch(config-applet)# event manager
applet
ethport override __ethpm_link_flap
switch(config-applet)#
description policy-description
Example:
switch(config-applet)# description
"Overrides link flap policy"
event event-statement
Example:
switch(config-applet)# event
policy-default count 2 time 1000
section number action-statement
Example:
switch(config-applet)# action 1.0 syslog
priority warnings msg "Link is
flapping."
(Optional) show event manager policy-state
name
Example:
switch(config-applet)# show event
manager policy-state ethport
(Optional) copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x

Configuring Syslog as an EEM Publisher

Purpose
Overrides a system policy and enters applet
configuration mode.
The applet-name can be any case-sensitive,
alphanumeric string up to 80 characters.
The system-policy must be one of the system
policies.
Configures a descriptive string for the policy.
The policy-description can be any
case-sensitive, alphanumeric string up to 80
characters, but it must be enclosed in quotation
marks.
Configures the event statement for the policy.
Configures an action statement for the policy.
For multiple action statements, repeat this step.
Displays information about the configured
policy.
Saves the change persistently through reboots
and restarts by copying the running
configuration to the startup configuration.
131

Advertisement

Table of Contents
loading

Table of Contents