Action Syslog - Cisco Nexus 3548 Command Reference Manual

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

Advertisement

action syslog

action syslog
To configure a syslog message to generate when an Embedded Event Manager (EEM) applet is triggered,
use the action syslog command. To disable the syslog message, use the no form of this command.
Syntax Description
label num1 [.num2] Unique identifier that can be any string value. Actions are sorted and run in an
priority
priority
priority-string
msg message-text
Defaults
None
Command Modes
Embedded event manager configuration mode
Command History
Release
5.0(3)A1(1)
Usage Guidelines
Messages written to the syslog from an EEM applet are not screened for EEM syslog events, which might
lead to recursive EEM syslog events. Messages that are sent from an EEM applet include the applet name
for identification.
This command does not require a license.
Cisco Nexus 3548 Switch NX-OS System Management Command Reference
16
action label num1 [.num2] syslog [priority {priority | priority-string}] msg message-text
no action label num1 [.num2] syslog [priority {priority | priority-string}] msg message-text
ascending alphanumeric sequence using the label as the sort key. The range for
num1 is from 1 to 16 and the range for num2 is from 0 to 9.
(Optional) Specifies the priority level of the syslog messages. If this keyword is
not selected, all syslog messages are set at the informational priority level. If this
keyword is selected, the priority level argument must be defined.
Priority level as follows:
emergencies—Specifies the system is unusable.
alerts—Specifies immediate action is needed.
critical—Specifies critical conditions.
errors—Specifies error conditions.
warnings— Specifies warning conditions.
notifications—Specifies normal but significant conditions.
informational—Specifies informational messages. This is the default.
debugging—Specifies debugging messages.
$-prefixed parameter that you previously set to a priority level.
Specifies the message to be logged. The message-text can contain any
alphanumeric string up to 256 characters.
Modification
This command was introduced.
System Management Commands
OL-27851-02

Advertisement

Table of Contents
loading

Table of Contents