hit counter script

Cisco Nexus 5600 Series Configuration Manual page 270

Nx-os system management
Hide thumbs Also See for Nexus 5600 Series:
Table of Contents

Advertisement

Configuring the Syslog as an EEM Publisher
The maximum number of searchable strings to monitor syslog messages is 10.
Note
Before You Begin
Make sure that the EEM is available for registration by syslog.
Configure and execute the syslog daemon.
Procedure
Step 1
Step 2
Step 3
Step 4
This example shows how to configure the syslog as an EEM publisher:
switch# configure terminal
switch(config)# event manager applet abc
switch(config-applet)# event syslog occurs 10
switch(config-applet)# copy running-config startup-config
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
248
Command or Action
switch# configure terminal
switch(config)# event
manager applet applet-name
switch(config)# event syslog
[tag tag] {occurs number |
period seconds | pattern
msg-text | priority priority}
switch(config)# copy
running-config startup-config
Purpose
Enters global configuration mode.
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)
Saves the change persistently through reboots and restarts by
copying the running configuration to the startup configuration.
Configuring EEM
OL-31641-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents