LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-05-2004, 01:59 AM   #1
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 614

Rep: Reputation: 32
logfile analyse


Hy!

We have now about 10 Linux servers (SLES).

Whats bad about that ?

I just do not have any fun in controlling all the log files 10 * messages, 10 * warn .....

Does anybody of you know a tool with which i can make this job more easy ????

My first idea was that I set up a central management server ??? What do you think about that idea ?

Thanks!
 
Old 11-05-2004, 02:09 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

If you are talking about syslog related logfiles/messages, this is one sollution (in a nutshell):

Send all messages from all 10 machines to one server (could be a dedicated machine or on of the 10 that can handle the extra load). This functionality is already present in syslog, 'just' need to set it up.

Get a tool that checks the logfile(s) and reports anomalies. Logcheck being one of those tools.

If set up correctly you will be notified when something is not ok.

Hope this helps.
 
Old 11-19-2004, 05:03 AM   #3
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 614

Original Poster
Rep: Reputation: 32
Thanks for your answer!

But what tools would help to analyse the logs ?
 
Old 11-19-2004, 08:39 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Thanks for your answer!
No problem

Quote:
But what tools would help to analyse the logs ?
I already mentioned logcheck, which can help you.

Personally I use logcheck and make sure that all facilities have their own logs and within that all priorities have their own log (ie: kernel.0.log -> kernel.7.log, mail.0.log -> mail.7.log etc).

I also have an allmessages file, which is used by logcheck. Logcheck sends me mail if it is triggered by a 'suspicious' logentry. Although logcheck has a set of predifined triggers, I had to spend a lot of time to tailer/add these.

There must be other analyse tools around, although I don't have any experience with them.

Hope this helps.
 
Old 03-30-2005, 05:14 AM   #5
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 614

Original Poster
Rep: Reputation: 32
Thank you!

We now use logmail for 5 linux server.

It really works nice.
 
  


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
Shell scripting: Print output to logfile, error to logfile & screen stefanlasiewski Programming 18 05-22-2008 12:47 PM
help analyse grub types.h ewt3y Programming 1 08-14-2005 04:43 PM
Events on Log analyse dough29 Programming 2 11-07-2004 01:20 PM
Can anyone analyse this message? Fraxis Linux - Software 6 01-02-2002 06:36 PM
want help to analyse networking in kernel cybercop12us Programming 1 10-24-2001 03:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:58 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
Open Source Consulting | Domain Registration