LinuxQuestions.org
Review your favorite Linux distribution.
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 07-10-2004, 08:12 AM   #1
Nichole_knc
Member
 
Registered: Mar 2004
Location: Georgia
Distribution: SlackWare 10.1+, FreeBSD 4.4-5.2, Amiga 1.3,2.1,3.1, Windors XP Pro (makes a fair answering machine)
Posts: 287

Rep: Reputation: 30
Network log viewer, Which.


I have been searching for a network log viewer to check and monitor logs located on remote servers via ssh. I have not really found anything of value via searches of the net or local. Swatch seemed promising but I ran into compilee issues with Date::Calc requireing Bit::Vector 5.07. cpan only has version 5.0 of Bit::Vector. So finishing the compile of Swatch has not happened as of yet AND I am not looking for a viewer that I must make 5-6 xtra libs for to get it to work. Given that Swatch is out.

I run Slack 10+ on my systems and on client remote servers. I currently ssh to these boxes and check the logs daily via old-school methods. I would prefer a console based interface to read and monitor these logs via my remote admin server.
Logs I wish to read/monitor on a regular interval;
messages
apache access
mail
firewall

Anyone got any good suggestion??
 
Old 07-10-2004, 08:39 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,230

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
I would use a script on all machines needed to be monitored and use the ssh public key of the machine that performs analyze of the log to upload the log at certain period of time with a cron set on all machines and another cron on the analyzer machine to execute the script.

each machines cron with shifted cron like :
15 * * * * /path/to/script <- 1st machine
20 * * * * /path/to/script <- 2nd
25 * * * * /path/to/script <- 3rd
...
55 * * * * /path/to/script <- the last is the analizer machine which run the logs analyzer script one time all the logs are uploaded.

So the scripts are runned each hour shifted each by 5 minuts.

[edit]
To limit bandwidth usage I would parse the logs before upload them to put only the new log lines.

Last edited by keefaz; 07-10-2004 at 09:00 AM.
 
Old 07-10-2004, 07:00 PM   #3
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
moodss (http://freshmeat.net/projects/moodss/) might be of interest to you.
 
  


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
Know a good apache log viewer gui? elconde Linux - Networking 5 11-19-2004 08:54 PM
Log Viewer Milly Linux - Newbie 3 09-16-2004 10:56 PM
Log Viewer for Linksys Cable Router hanserr Linux - Networking 1 02-21-2004 05:17 PM
Network Log Files Tezdread Linux - Security 3 08-17-2003 07:35 PM
log viewer BTseapig Linux - General 1 04-01-2002 02:05 PM

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

All times are GMT -5. The time now is 09:43 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