![Asante FriendlyNET VR2004 Series Скачать руководство пользователя страница 69](http://html.mh-extra.com/html/asante/friendlynet-vr2004-series/friendlynet-vr2004-series_user-manual_2980493069.webp)
User’s Manual
69
Appendix H. Configuring a System Log Server
Because the router’s memory cannot hold as many messages as a computer
with a hard drive, you can have the router send its System Log messages to a
server on the network.
The ability to receive system log messages is most common on Unix-type sys-
tems. The following section describes how to set up a syslog server on Red Hat
Linux.
H.1 Red Hat Linux
All Linux distributions run a syslog daemon by default, but usually the daemon
won't listen for system log messages from the network. You will need root ac-
cess to carry out the following steps:
1.
First we need to configure the syslog daemon to listen on the network:
Edit
/etc/sysconfig/syslog
and add the options
-r -x
to the line
SYS-
LOGD_OPTIONS
. Save the file.
# Options to syslogd
# -m 0 disables 'MARK' messages.
# -r enables logging from remote machines
# -x disables DNS lookups on messages received with -r
# See syslogd(8) for more details
SYSLOGD_OPTIONS=" -r -x -m 0"
2.
We also want to configure the system logger to use a specific file for mes-
sages from the router. We'll assume that the router has been configured to
use facility local5.
Edit
/etc/syslog.conf
and add a line for the router:
# Router is using local5
local5.* /var/log/router.log
This says that all messages with facility local5 should be logged in
/var/log/
router.log.
(Note that the two portions of the line in syslog must be sepa-
rated by tabs. Don't put any spaces between the two.)
3.
Now restart the syslog daemon:
Содержание FriendlyNET VR2004 Series
Страница 1: ...FriendlyNET VR2004 Series VPN Security Routers User s Manual ...
Страница 10: ...FriendlyNET VPN Security Router 10 ...
Страница 12: ...FriendlyNET VPN Security Router 12 ...
Страница 40: ...FriendlyNET VPN Security Router 40 ...
Страница 50: ...FriendlyNET VPN Security Router 50 ...
Страница 54: ...FriendlyNET VPN Security Router 54 ...
Страница 60: ...FriendlyNET VPN Security Router 60 ...
Страница 62: ...FriendlyNET VPN Security Router 62 ...
Страница 64: ...FriendlyNET VPN Security Router 64 ...