birmingham@ic.fbi.gov , phoenix@ic.fbi.gov , fbise@leo.gov
NickSoft Linux Cookbook Index NickSoft Linux Cookbook
Quick howto's, Real live examples.
 
 FAQFAQ   SearchSearch   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Ifstat tool

 
Post new topic   Reply to topic    NickSoft Linux Cookbook Index -> Routing, Forward, Firewall
View previous topic :: View next topic  
Author Message
NickSoft
Site Admin


Joined: 13 Nov 2006
Posts: 22

PostPosted: Mon Nov 13, 2006 9:29 pm    Post subject: Ifstat tool Reply with quote

Here is a tool for quick monitoring of interface speed:

http://gael.roualland.free.fr/ifstat/

This tool is capable to monitor remote machines if you have running SNMP daemon on them.

Let's say that you have server A wiht IP 10.0.0.1 and two other servers with IPs 10.0.0.2 (B) and 10.0.0.3 (C), and you want to monitor interface speed on B and C from server A.

on server A install ifstat:
Code:
cd /usr/local/src
wget 'http://gael.roualland.free.fr/ifstat/ifstat-1.1.tar.gz'
tar zxf ifstat-1.1.tar.gz
cd ifstat-1.1
./configure --prefix=/usr
make
cp ifstat /usr/local/bin/


Be sure that you've installed devel package of snmp (net-snmp-devel-x.x) and you have snmp daemon installed on servers B and C.

On server B and C add this to snmpd.conf
Code:
rocommunity  public 10.0.0.1


To monitor traffic run:
Code:
#monitor server A:
ifstat
#monitor server B:
ifstat -s 10.0.0.2
#monitor eth1 on server C:
ifstat -s 10.0.0.R -i eth1


Download ifstat:
ifstat-1.1.tar.gz - Linux source
ifstat-1.1-win32.zip - Win32 binary
ifstat_1.1-1_i386.deb - Debian package
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NickSoft Linux Cookbook Index -> Routing, Forward, Firewall All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




MLDb.org Magic Eight Ball Croler Web Search Croler Web Directory Bianca Ryan MyBestMatch.net Microlab.info

Powered by 220V