Step 1 |
UCS-A#
scope
monitoring
|
|
Step 2 |
UCS-A
/monitoring #
{enable |
disable}
syslog
console
|
Enables or
disables the sending of syslogs to the console.
|
Step 3 |
(Optional) UCS-A
/monitoring #
set syslog
console level {emergencies |
alerts
|
critical}
|
(Optional)
Select the
lowest message level that you want displayed. If syslogs are enabled, the
system displays that level and above on the console.
The level options are listed in order of decreasing urgency.The default level is Critical.
|
Step 4 |
UCS-A
/monitoring #
{enable |
disable}
syslog
monitor
|
Enables or
disables the monitoring of syslog information by the operating system.
|
Step 5 |
(Optional) UCS-A
/monitoring #
set syslog
monitor level {emergencies |
alerts
|
critical |
errors
|
warnings |
notifications |
information |
debugging}
|
(Optional)
Select the
lowest message level that you want displayed. If the monitor state is enabled,
the system displays that level and above.
The level options are listed in order of decreasing urgency.The default level is Critical.
Note
|
Messages at
levels below Critical are displayed on the terminal monitor only if you have
entered the
terminal
monitor
command.
|
|
Step 6 |
UCS-A
/monitoring #
{enable |
disable}
syslog
file
|
Enables or
disables the writing of syslog information to a syslog file.
|
Step 7 |
UCS-A
/monitoring #
set syslog
file name
filename
|
The name of the
file in which the messages are logged. Up to 16 characters are allowed in the
file name.
|
Step 8 |
(Optional) UCS-A
/monitoring #
set syslog
file level {emergencies |
alerts
|
critical |
errors
|
warnings |
notifications |
information |
debugging}
|
(Optional)
Select the
lowest message level that you want stored to a file. If the file state is
enabled, the system stores that level and above in the syslog file.
The level options are listed in order of decreasing urgency.The default level is Critical.
|
Step 9 |
(Optional) UCS-A
/monitoring #
set syslog
file size
filesize
|
(Optional)
The maximum file
size, in bytes, before the system begins to write over the oldest messages with
the newest ones. The range is 4096 to 4194304 bytes.
|
Step 10 |
UCS-A
/monitoring #
{enable |
disable}
syslog
remote-destination {server-1 |
server-2 |
server-3}
|
Enables or
disables the sending of syslog messages to up to three external syslog servers.
|
Step 11 |
(Optional) UCS-A
/monitoring #
set syslog
remote-destination {server-1 |
server-2 |
server-3}
level{emergencies |
alerts |
critical |
errors |
warnings |
notifications |
information |
debugging}
|
(Optional)
Select the
lowest message level that you want stored to the external log. If the
remote-destination is enabled, the system sends that level and above to the
external server.
The level options are listed in order of decreasing urgency.The default level is Critical.
|
Step 12 |
UCS-A
/monitoring #
set syslog
remote-destination {server-1 |
server-2 |
server-3}
hostname
hostname
|
The hostname
or IP address of the specified remote syslog server. Up to 256 characters are
allowed in the hostname.
|
Step 13 |
(Optional) UCS-A
/monitoring #
set syslog
remote-destination {server-1 |
server-2 |
server-3}
facility {local0 |
local1 |
local2 |
local3 |
local4 |
local5 |
local6 |
local7}
|
(Optional)
The facility
level contained in the syslog messages sent to the specified remote syslog
server.
|
Step 14 |
UCS-A
/monitoring #
{enable |
disable}
syslog
source {audits |
events |
faults}
|
This can be
one of the following:
-
audits—Enables
or disables the logging of all audit log events.
-
events—Enables
or disables the logging of all system events.
-
faults—Enables
or disables the logging of all system faults.
|
Step 15 |
UCS-A
/monitoring #
commit-buffer
|
|