Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

bandwidth monitor

Status
Not open for further replies.

marlonn

ISP
Feb 26, 2003
9
0
0
PH
Hello....

How do i check may bandwidth utilization on any interface on a router?

I would like to know how to set it up...And Secondly, I heard about MRTG. Can MRTG run on a router? or this will be hosted on a separate server?

I'm fairly new on this...so bear with me guys...
Thanks in Advance!!!
 
We are trying this product also. It needs it's own web server to run properly we are finding out.
 
It runs on windows, unix and linux
Getting it to work the first time can be a little difficult At least if you are from the windows world.
It's not because MRTG is difficult, but some of the stuff is totaly strange to someone who has only worked with windows.
 
mrtg runs on a seperate server
i have set this up for my company on red het 6 and also for windows 2000 (do not use win98 or 95.....crap)

it is actually pretty simple after the initial culture shock

it works like this:
there is a configuration file, and an output directory (where the html pages are made)

making sure that you have perl, snmpd, and installed


you initially create the configuration file by running the configmaker script:

i.e.
./cfgmaker --global 'WorkDir: /home/httpd/html/mrtg/' SNMPPASSWD@TARGETDEVICE --output /usr/local/bin/mrtg/mrtg-2.9.25/bin/mrtg.cfg

this creates the configuration file in /usr/local/bin/mrtg/mrtg-version/bin (if you installed it in /usr/local/bin/
and creates the web page in /home/httpd/html/mrtg/ :
munipulate the configuration file for your OS and have it run as a daemon (constantly, to update every 5 minutes)

here is a snippet from the top half of my config file

# Created by
# ./cfgmaker --global 'WorkDir: /home/httpd/html/mrtg/' SNMPPASSWD@TARGETDEVICE --output /usr/local/bin/mrtg/mrtg-2.9.25/bin/mrtg.cfg


### Global Config Options

# for UNIX
# WorkDir: /home/http/mrtg

# or for NT
# WorkDir: c:\mrtgdata

### Global Defaults

# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits

WorkDir: /home/httpd/html/mrtg/
RunAsDaemon: Yes
Options[_]: growright, bits

#########################################################

it will get data from the device via snmp such as device name, ips on interfaces, interface traffic (at that moment), etc and it will be listed under the above snippet of my config

when you start the perl script:
perl mrtg mrtg.conf

perl will gather the above info and present it as a web page




 
oh yeah, silly me,
and theres always the
'show interfaces' cmd

check for the tx (transmitting) and rx (recieving) 'Load' parameters
 
try cyberguage from neon.com you can monitor incoming and outgoing traffic of serial or eth int.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top