beautypg.com

Log relay host for kernel messages, Setting up the log relay host – Allied Telesis AT-WA7400/EU User Manual

Page 187

background image

AT-WA7400 Management Software User’s Guide

187

For information on setting the network time protocol, see Chapter 18,
“Enabling the Network Time Protocol (NTP) Server” on page 202.

Log Relay Host

for Kernel

Messages

The kernel log is a comprehensive list of system events (shown in the
system log) and kernel messages such as error conditions like dropping
frames.

You cannot view kernel Log messages directly from the web pages for an
access point. You must first set up a remote server running a syslog
process and acting as a syslog log relay host on your network. Then, you
can configure the AT-WA7400 Wireless Access Point to send its syslog
messages to the remote server.

Using a remote server to collect access point syslog messages provides
several benefits. You can:

ˆ

Aggregate syslog messages from multiple access points

ˆ

Store a longer history of messages than kept on a single access point

ˆ

Trigger scripted management operations and alerts

Setting Up the Log Relay Host

To use kernel log relaying, you must configure a remote server to receive
the syslog messages. This procedure varies, depending on the type of
machine you use as the remote log host. Following is an example of how
to configure a remote Linux server using the syslog daemon.

The following steps activate the syslog daemon on a Linux server. Make
sure you have

root

user identity for these tasks:

1. Log on as root to the machine you want to use as your syslog relay

host.

The following operations require root user permissions. If you are not
already logged on as root, type su at the command line prompt to
become root (“super user”).

2. Edit /etc/init.d/sysklogd and add “-r” to the variable SYSLOGD

near the top of the file. The line you edit will look like this:

SYSLOGD="-r"

Consult the man pages to get more information on syslogd command
options. (Type man syslogd at the command line.)

3. If you want to send all the messages to a file, edit /etc/syslog.conf.

For example you can add this line to send all messages to a log file
called “AP_syslog”:

*.* -/tmp/AP_syslog