Chapter 11: Maintenance And Monitoring
Log Relay Host For Kernel Messages
Psion Teklogix 9160 G2 Wireless Gateway User Manual 125
You cannot view Kernel Log messages directly from the Administration Web UI 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 9160 G2 Wireless
Gateway to send its syslog messages to the remote server.
Using a remote server to collect access point syslog messages affords you 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.
11.2.4.2 Setting Up The Log Relay Host
To use Kernel Log relaying, you must configure a remote server to receive the syslog mes-
sages. This procedure will vary depending on the type of machine you use as the remote log
host. The following is an example of how to configure a remote Linux server using the
syslog daemon.
Example Of Using Linux syslogd
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/syslogd
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
Consult the man pages to get more information on
syslog.conf
command options. (Type
man
syslog.conf
at the command line.)
4. Restart the syslog server by typing the following at the command line prompt:
/etc/init.d/sysklogd restart
Comentarios a estos manuales