Networking Forums

Networking Forums > Computer Networking > Linux Networking > Syslog

Reply
 
 
Mike
Guest
Posts: n/a

 
      02-07-2004, 07:05 PM
Hello,

I am trying to setup my routers (and other devices) to log to my Mandrake
9.2.1 box. I am having a hard time finding instructions on how to configure
Linux. I know how to configure my devices. I assume that I have to edit
the /etc/syslog.conf file?? What would the syntax be? For example, my
router's (int) address is 10.1.1.2 and I want all the logs to go to my linux
box (10.1.1.5). Any help would be greatly apprectiated!

Thanks,
Mike


 
Reply With Quote
 
 
 
 
Hactar
Guest
Posts: n/a

 
      02-07-2004, 09:01 PM
In article <1aCdnSK4C7Jv2bjdRVn-(E-Mail Removed)>,
Mike <(E-Mail Removed)> wrote:
> I am trying to setup my routers (and other devices) to log to my Mandrake
> 9.2.1 box.


You need to have syslogd invoked with the "-d" flag.

> I am having a hard time finding instructions on how to configure
> Linux.


On my system (RH 8), I change /etc/sysconfig/syslog , then run
"/etc/rc.d/rc.sysinit restart", all as root.

Also, syslog does not work from my router (USR 8054), USR tech support have
admitted it's broken as designed.

> I assume that I have to edit the /etc/syslog.conf file??


Only if you want to change what goes where.

> What would the syntax be?


"man syslog.conf" for the straight dope, but a quickie is

facility.priority /file/name
you can use multiple fac.pri pairs, separated by a semicolon
# denotes a comment
you can use * to mean "all messages" in place of fac or pri
you can use * to mean "all users' consoles" in place of /file/name
spaces separate fac.pri and /file/name
"none" means no messages of this fac or pri

--
-eben (E-Mail Removed)m home.tampabay.rr.com/hactar

Unix is user-friendly; it's just picky
about who it makes friends with.
 
Reply With Quote
 
Floyd Davidson
Guest
Posts: n/a

 
      02-08-2004, 12:11 AM
"Mike" <(E-Mail Removed)> wrote:
>Hello,
>
>I am trying to setup my routers (and other devices) to log to my Mandrake
>9.2.1 box. I am having a hard time finding instructions on how to configure
>Linux. I know how to configure my devices. I assume that I have to edit
>the /etc/syslog.conf file?? What would the syntax be? For example, my
>router's (int) address is 10.1.1.2 and I want all the logs to go to my linux
>box (10.1.1.5). Any help would be greatly apprectiated!


Mike, this doesn't sound as if you have read the man page for
syslogd. "man syslogd" will lead you to a lot of great
information.

Near the end of most man pages, and this one is an example,
there is a section titled "SEE ALSO" that lists related man
pages. One of those listed is syslog.conf(5), which means you
may need to use the command "man 5 syslog.conf" to get the right
one (except, in this case there is no lower numbered syslog.conf
man page, so it makes no difference).

--
Floyd L. Davidson <http://web.newsguy.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska) (E-Mail Removed)
 
Reply With Quote
 
Mike
Guest
Posts: n/a

 
      02-08-2004, 02:43 AM
Thanks guys!


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync + syslog Captain Dondo Linux Networking 2 02-19-2007 01:05 PM
Dlink and syslog Warren Oates Wireless Internet 3 11-06-2006 11:38 AM
Syslog parser wanted to replace Kiwi Syslog (win32) Jurgen.Turrekens@gmail.com Linux Networking 0 01-19-2006 01:08 PM
remote syslog LHradowy Linux Networking 2 10-22-2004 05:51 AM
Remote syslog tibo Linux Networking 6 10-12-2004 01:17 AM



1 2 3 4 5 6 7 8 9 10 11