LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 09-16-2005, 05:16 PM   #1
prov3.6
LQ Newbie
 
Registered: Sep 2005
Distribution: Fedora & Linspire
Posts: 3

Rep: Reputation: 0
Monitoring LAN Traffic


I have set up a 10+ user network and I'm now trying to find a good way to monitor the performance of these users (uptime, etc.). My Fedora3 computer is on the LAN, but is not the router. How do I do this? I can install a different dist. if necessary. Also, pretend that I know very little about Linux, then pretend that you are not pretending.
 
Old 09-16-2005, 05:58 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi.

If the network is switched (it probably is), then you won't be able to monitor traffic from each machine. You could set up a script to ping each machine every few seconds to see if it's up, but that's about it. It is possible to find out a machine's uptime using TCP timestamps, using tcpdump, but you have to know what operating system is running on each machine in order to convert the timestamp to a wall-time uptime.
Have a look here:
http://www.0xdecafbad.com/TCP-Timest...-Remotely.html
and here
http://uptime.netcraft.com/up/accuracy.html

Dave
 
Old 09-16-2005, 06:09 PM   #3
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
It's possible to get Windows machines (I'm assuming the network consists of Windows machines...) to report events to the syslog demon which will be running on your Linux machine too.

You'll have to buy some software to do it though.
http://www.adiscon.com/Common/en/Art...-From-Unix.php

If the machines on the network are Linux machines, then they can already do this and would just have to be configured to send logs to your machine.

Dave
 
Old 09-16-2005, 06:13 PM   #4
prov3.6
LQ Newbie
 
Registered: Sep 2005
Distribution: Fedora & Linspire
Posts: 3

Original Poster
Rep: Reputation: 0
Perhaps I used the wrong words. I want to be able to see when each computer's network connection is lost, not computer uptime. They are all running XP. I don't know if this will actually change my possible options. Right now, I am running an XP program called Look@LAN, which pings each address in an IP range every 10 minutes to see what is connected. It can also make reports showing when each connection was on and off during a week (for example). However, it crashes more than you can imagine, and is pretty annoying, so I would like to find something similar, but without crashing.

Jason
 
Old 09-16-2005, 06:53 PM   #5
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
You can use 'nmap' to do this.

If you do 'nmap -sP 192.168.0.0/24' it will scan 192.168.0.1 to 192.168.0.254, and tell you what IPs respond. This could be scripted to run every few minutes, and a log file created.

Dave
 
Old 09-19-2005, 04:53 PM   #6
prov3.6
LQ Newbie
 
Registered: Sep 2005
Distribution: Fedora & Linspire
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks, that's perfect.

Jason
 
  


Reply



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
LAN traffic monitoring tool?? kartheekpn Linux - Software 1 05-06-2005 05:39 AM
Traffic monitoring and limiting AlexJ Linux - Networking 2 04-14-2005 09:28 AM
Monitoring traffic? orange400 Linux - Networking 2 06-19-2004 07:32 AM
Monitoring traffic on ports.. EL3CTRO Linux - Networking 4 07-16-2003 06:51 PM
Network traffic monitoring ?? TechnoBod Linux - Networking 1 02-10-2003 01:47 PM

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

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