Cisco Systems UCSCPCIEBTG, 57712 Sending the Cimc Log to a Remote Server, Local-syslog-severity

Models: 57712 UCSCPCIEBTG

1 288
Download 288 pages 20.54 Kb
Page 184
Image 184

Viewing Logs

Sending the CIMC Log to a Remote Server

 

Command or Action

Purpose

 

 

 

Note

CIMC does not log any messages with a severity

 

 

 

below the selected severity. For example, if you

 

 

 

select error, then the CIMC log will contain all

 

 

 

messages with the severity Emergency, Alert,

 

 

 

Critical, or Error. It will not show Warning, Notice,

 

 

 

Informational, or Debug messages.

Step 4

Server /cimc/log # commit

Commits the transaction to the system configuration.

Step 5

Server /cimc/log # show

(Optional)

 

local-syslog-severity

Displays the configured severity level.

This example shows how to configure the logging of messages with a minimum severity of Warning:

Server# scope cimc

Server /cimc # scope log

Server /cimc/log

# set local-syslog-severity warning

Server /cimc/log

*# commit

Server

/cimc/log

# show local-syslog-severity

Local Syslog

Severity: warning

Server

/cimc/log

#

Sending the CIMC Log to a Remote Server

You can configure profiles for one or two remote syslog servers to receive CIMC log entries.

Before You Begin

The remote syslog server must be configured to receive logs from a remote host.

The remote syslog server must be configured to receive all types of logs, including authentication-related logs.

The remote syslog server's firewall must be configured to allow syslog messages to reach the syslog server.

Procedure

 

Command or Action

Purpose

Step 1

Server# scope cimc

Enters the CIMC command mode.

Step 2

Server /cimc # scope log

Enters the CIMC log command mode.

Step 3

Server /cimc/log # set

(Optional)

 

remote-syslog-severity level

The severity level can be one of the following, in decreasing

 

 

order of severity:

 

 

emergency

 

 

alert

 

Cisco UCS C-Series Servers Integrated Management Controller CLI Configuration Guide, Release 1.5

168

OL-28893-01

Page 184
Image 184
Cisco Systems UCSCPCIEBTG Sending the Cimc Log to a Remote Server, Local-syslog-severity, Remote-syslog-severity level