LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-14-2009, 02:03 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Rep: Reputation: 51
Want to setup A Log Server?


I am in search of a tool which would help me setup a central Logging Server for all my 20 machine on which Unix and Linux are running?
 
Old 05-14-2009, 02:28 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
sysklogd and syslog-ng both handle remote logging without any problem. I suggest you just use the default for your distribution and configure it to accept logs from remote computers.
 
Old 05-14-2009, 03:36 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Well for syslogd systems:
Quote:
However, by default, syslogd is configured to only receive messages via the loopback adapter. To allow remote receipt (on the central receiving log server), modify the /etc/sysconfig/syslog, by adding a -r switch to the list of options in the existing SYSLOGD_OPTIONS variable.

Modify the sending log server's /etc/syslog.conf, by adding a line matching the facility and priority
that you want to forward to the IP address of the central receiving log server:

*.warn @192.168.0.101

The above will forward messages of a warning priority or higher coming from all facilities to the central server at 192.168.0.101.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
the significance and name of the 5th column of /var/log/auth.log (ubuntu server)? CoffeeKing!!! Linux - Security 4 02-05-2009 08:32 AM
Can Samhain log my entries in /var/log/secure and /var/log/mesage to a central server abefroman Linux - Software 2 04-13-2008 05:13 PM
Bash script for server log (namely var/log/messages) tenaciousbob Programming 17 05-24-2007 11:43 AM
/var/log/packages and /var/log/setup sunny_5252 Slackware 4 05-17-2007 09:17 PM
How to log conversation between server in /var/log/messages? juris Linux - Software 1 11-23-2004 10:54 AM


All times are GMT -5. The time now is 02:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration