D-Link DWL-3500AP Administration Guide - Page 94

Configuring the Log Relay Host for Kernel Messages, Example of Using Linux syslogd

Page 94 highlights

D-Link Unified Access Point Administrator's Guide Configuring the 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 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 Unified Access Point to send syslog messages to the remote server. Remote log server collection for access point syslog messages provides the following features: • Allows aggregation of syslog messages from multiple access points • Stores a longer history of messages than kept on a single access point • Triggers scripted management operations and alerts To use Kernel Log relaying, you must configure a remote server to receive the syslog messages. The procedure to configure a remote log host depends on the type of system you use as the remote host. The following example describes 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/sysklogd and add "-r" to the variable SYSLOGD near the top of the file. The line you edit will look like this: SYSLOGD="-r" To view the Linux manual page to get more information about the SYSLOGD command options, enter man syslogd at the command prompt. 3. To send all the messages to a file, edit /etc/syslog.conf. For example you can add the following line to send all messages to a log file called AP_syslog: *.* -/tmp/AP_syslog To view the Linux manual page to get more information about the syslog.conf command options, enter man syslogd at the command prompt. 4. Restart the syslog server by typing the following at the command line prompt: /etc/init.d/sysklogd restart NOTE: The syslog process will default to use port 514. We recommend keeping this default port. However; If you choose to reconfigure the log port, make sure that the port number you assign to syslog is not being used by another process. 94 © 2001-2008 D-Link Corporation. All Rights Reserved.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166

94
© 2001-2008 D-Link Corporation. All Rights Reserved.
D-Link Unified Access Point Administrator’s Guide
Configuring the 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 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 Unified Access Point to send
syslog messages to the remote server.
Remote log server collection for access point syslog messages provides the following features:
Allows aggregation of syslog messages from multiple access points
Stores a longer history of messages than kept on a single access point
Triggers scripted management operations and alerts
To use Kernel Log relaying, you must configure a remote server to receive the syslog
messages. The procedure to configure a remote log host depends on the type of system you use
as the remote host. The following example describes 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/sysklogd
and add
“-r”
to the variable SYSLOGD near the top of the
file. The line you edit will look like this:
SYSLOGD=“-r”
To view the Linux manual page to get more information about the SYSLOGD command
options, enter
man syslogd
at the command prompt.
3.
To send all the messages to a file, edit
/etc/syslog.conf
.
For example you can add the following line to send all messages to a log file called
AP_syslog
:
*.*
-/tmp/AP_syslog
To view the Linux manual page to get more information about the syslog.conf command
options, enter
man syslogd
at the command prompt.
4.
Restart the syslog server by typing the following at the command line prompt:
/etc/init.d/sysklogd restart
NOTE:
The syslog process will default to use port 514. We recommend keeping this
default port. However; If you choose to reconfigure the log port, make sure
that the port number you assign to syslog is not being used by another
process.