Article View: comp.os.linux.networking
Article #460Re: syslogd
From: John Murtari
Date: Thu, 06 Apr 2000 00:00
Date: Thu, 06 Apr 2000 00:00
36 lines
1946 bytes
1946 bytes
Erik Verhagen wrote:
>
> The gateway of my LAN to Internet is a ZyXEL router which can send
> statistics and error messages to a UNIX box using SYSLOG. My question
> is, how can I configurate syslogd on my linux server to log those
> messages on it ?
Don't know about a ZyXEL, but this did it on a CISCO:
1. In the router, turn on logging, set a facility name, and identify the
log host:
====
logging facility local1
logging 216.42.99.195
====
2. On your linux box, in the syslogd.conf, add that facility and where
you
want the output to go. On our box we put it in a separate file:
====
# router stuff
local1.* /var/log/router
3. When you start syslogd, add the "-r" parameter so that it accepts
network
logging, i.e.
====
root 770 1 0 Mar24 ? 00:02:43 syslogd -m 10 -r
====
Hope this helps!
-
John
______________________________________________________
Customer Service Sofware Workshop Inc.
jmurtari@thebook.com "TheBook.Com" (TM)
315-635-1968, x-211 http://www.thebook.com/
Technical Details
Message-ID:
<38ECBF77.6E008FB0@thebook.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<38EA6758.4A5E5A54@rocketmail.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f4b73,4b6128157017b0f5 X-Google-Attributes: gidf4b73,public X-Google-Thread: 10669a,4b6128157017b0f5 X-Google-Attributes: gid10669a,public From: John Murtari <jmurtari@thebook.com> Subject: Re: syslogd Date: 2000/04/06 Message-ID: <38ECBF77.6E008FB0@thebook.com> X-Deja-AN: 607623578 Content-Transfer-Encoding: 7bit References: <38EA6758.4A5E5A54@rocketmail.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@verio.net X-Trace: nuq-read.news.verio.net 955039676 216.42.99.250 (Thu, 06 Apr 2000 16:47:56 GMT) Organization: Software Workshop Inc. MIME-Version: 1.0 NNTP-Posting-Date: Thu, 06 Apr 2000 16:47:56 GMT Newsgroups: comp.os.linux.networking,ch.comp.os.linux