IBM SC30-3681-08 manual Retrieve, Syntax Remove, Syntax Restore

Models: SC30-3681-08

1 773
Download 773 pages 40.79 Kb
Page 233
Image 233

ELS Monitoring Commands (Talk 5)

Example:

remote range gw 19 22 log_user log_info

Causes the event gw.19, gw.20, gw.21, and gw.22 to be logged remotely to the ®les speci®ed by thesyslog_facility value of log_user and the syslog_level value of log_info.

subsystem subsystem.name message_level syslog_facility syslog_level

Where subsystem.name is the name of the subsystem and message_level is the level of messages selected in the subsystem.

Causes the events within the speci®edsubsystem.name whose message_level agrees with the speci®edmessage_level to be logged remotely based on the syslog_facility and syslog_level. See ªthe remote event commandº on page 196.

Message_level is a value such as ªALL,º ªERROR,º ªINFO,º or ªTRACEº . See ªLogging Levelº on page 149. The value speci®ed in theremote command must agree with the value as coded on the particular event within the subsystem, or that event within the subsystem will not be remotely logged.

Example:

remote subsystem TKR all log_user log_info

In the above example, all messages in subsystem TKR (ªallº includes any messages coded for ªerror,º ªinfo,º or ªtraceº) will be logged remotely to ®les speci®ed by log_user and log_info at the remote host.

Use the list event and list active commands to verify what you set with the remote and noremote commands.

Remove

Use the remove command to free up memory by erasing stored information. If you have previously saved the current con®guration with thesave command, remove allows you to erase the saved con®guration.

Syntax:

remove

Restore

Use the restore command to clear all current settings (except counters) and reload the initial ELS con®guration. To retain the current settings, use thesave command before restoring the initial con®guration.

Syntax:

restore

Retrieve

Use the retrieve command to reload the saved ELS con®guration. If you have previously saved the current con®guration with thesave command, use retrieve to reload it. Retrieve does not erase the saved con®guration after it executes. To erase the saved con®guration, use theremove command.

Chapter 13. Con®guring and Monitoring the Event Logging System (ELS) 197

Page 233
Image 233
IBM SC30-3681-08 manual Retrieve, Syntax Remove, Syntax Restore