Administrative Tasks

Syslog Messages

Extract Syslog Messages

Log File Maintenance

Syslog messages are sent to a logging facility to inform a system administrator of important system conditions, to record additional information about these conditions, or to record the occurrence of an event. Each message has an associated priority that determines how the logging facility processes the message.

Console messages are viewed from a shell window on the FileServ system console.

Because certain unsolicited messages are not passed to FileServ for display at the FileServ system console, ADIC recommends that the host syslog monitor be displayed from the FileServ system console.

The fsextlog command extracts information from any of the standard UNIX syslog files.

Note

For more information on the fsextlog command, refer to the Command Reference book.

The information is returned to stdout. All information in the specified log is extracted by default. The time range (-t) option extracts information stored in the log only over the specified time period.

The script newfslog retains copies of syslogs messages. The script increments each message by adding an extension to each message; *.0, *.1, … Seven messages are retained by default; however, the script can be modified to retain more messages based on the sites need. The script is executed by the cron process.

4-6

Trouble- shooting Tools

600716 Rev A

Page 158
Image 158
ADIC FileServ Version 4.0 600716 Rev A manual Extract Syslog Messages Log File Maintenance