Closed Thread Icon

Preserved Topic: anyone know a program/script that monitors bandwidth usage? Pages that link to <a href="https://ozoneasylum.com/backlink?for=20928" title="Pages that link to Preserved Topic: anyone know a program/script that monitors bandwidth usage?" rel="nofollow" >Preserved Topic: anyone know a program/script that monitors bandwidth usage?\

 
Author Thread
acidbox
Bipolar (III) Inmate

From: purgatory
Insane since: Mar 2001

posted posted 06-09-2001 05:41

hopefully this program/script will display the results in numerical format as well as in visual graphs.

Thanks in advance.

linear
Paranoid (IV) Inmate

From: other places
Insane since: Mar 2001

posted posted 06-09-2001 06:05

This probably isn't what you want, but it's what you asked for:

MRTG is quite nice.

From the manpage:
MRTG consists of a Perl script which uses SNMP to read the traffic counters of your routers and a fast C program which logs the traffic data and creates beautiful graphs representing the traffic on the monitored network connection. These graphs are embedded into webpages which can be viewed from any modern Web-browser.

In addition to a detailed daily view, MRTG also creates visual representations of the traffic seen during the last seven days, the last four weeks and the last twelve months. This is possible because MRTG keeps a log of all the data it has pulled from the router. This log is automatically consolidated, so that it does not grow over time, but still contains all the relevant data for all the traffic seen over the last two years. This is all performed in an efficient manner. Therefore you can monitor 200 or more network links from any halfway decent UNIX box.

MRTG is not limited to monitoring traffic though, it is possible to monitor any SNMP variable you choose. You can even use an external program to gather the data which should be monitored via MRTG. People are using MRTG, to monitor things such as System Load, Login Sessions, Modem availability and more. MRTG even allows you to accumulate two or more data sources into a single graph.

And finally, here's a sample.



edit: UBB code snafu

[This message has been edited by linear (edited 06-09-2001).]

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 06-09-2001 09:55

Almost all web server log analyzers (WebAlizer, ModLogAn, AWStats, etc.) will show you how much bandwidth you spent (in MBs, GBs, etc.). In addition to them you can also use MRTG to monitor traffic on router.

acidbox
Bipolar (III) Inmate

From: purgatory
Insane since: Mar 2001

posted posted 06-09-2001 17:53

thanks for the links guys.

max, will those analizers show all data traffic, or just www traffic? I need something that will show bandwidth usage for www, ftp, telnet, udp packets, etc.....

Do most analizers do that?

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 06-09-2001 18:15

Most of the analyzers that I mentioned are ment to work with www and ftp log files...

linear
Paranoid (IV) Inmate

From: other places
Insane since: Mar 2001

posted posted 06-09-2001 20:12

If you need to break out by protocol, you'll need a whole slew of tools to do it. I would recommend this combination:

Assuming you have a Cisco router with an IOS image that supports ip flow-export v5, you would use
cflowd to collect the netflow stats,
arts++ a library that cflowd depends on,
a patch to cflowd,
RRDTool (which replaces MRTG mostly) to maintain history,
FlowScan which is a front end to RRDTool to render the graphs.
FlowScan also depends on Perl5 and ksh (pdksh should work) plus six or seven Perl modules that are mentioned in the INSTALL file, so I won't link them here (this is getting tedious).

If you're thinking that that seems like a lot of overhead, remember that it's all free. Also, here's an example of what FlowScan outputs. Super slick. You would be a hero if you could produce that kind of output for 0$ cash outlay.



Edit: too much linkage.

[This message has been edited by linear (edited 06-09-2001).]

« BackwardsOnwards »

Show Forum Drop Down Menu