home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Unix System Administration Handbook 1997 October
/
usah_oct97.iso
/
index
/
routstat.txt
< prev
next >
Wrap
Text File
|
1997-09-22
|
3KB
|
68 lines
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
INDEX ENTRY FOR ROUTER-STATS:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Name: router-stats - Summarizes usage of Cisco routers
Version: 2.20 beta
Author(s): Iain Lea <iain@ecrc.de>
Iain Lea
Kreigenbrunnerstr 28
91056 Erlangen
Germany
On the CD-ROM in: network/routstat.tar
Ftp source: ftp.sbs.de:/pub/networking/router-stats
Size on the CD: 174 KB (uncompressed)
Description:
I needed to know how much data was pumping through our Internet
routers so that I could convince management that we needed to
upgrade our connection. To that end I developed a set of scripts
written in Perl5 that gather the relevant statistics and create
bargraphs of the collected data. Mangement now gets presented
with snazzy bargraphs and I get a faster connection
without the associated hassles :).
The script get-router-stats is periodically run from cron and
accesses the specified router(s) and executes a show interface
command, parses the input and output rates (and thruput), writes
them to a file and exits. Support for SNMP is also included. New
methods can easily be added. The following access methods are
supported: Telnet-Cisco, Telnet-Socks-Cisco, Snmp-Cisco and
Snmp-Standard.
The script gen-router-stats is run as needed from cron to
generate bargraphs of the gathered statistics. Daily, weekly by
hour, weekly by day and monthly statistics are generated. Note:
by default only daily bargraphs are generated.
HTML pages are generated that link the different bargraphs to one
another by showing thumbnail images of the full size graphs.
The script cron-router-stats is an harness that drives the
gen-router-stats script with appropiate options read from the
router-stats.info file for each router.
-- Quoted from the 2.20 README file by Iain Lea
Advertised architectures:
Not stated, but should run most anywhere
Prerequisites:
You'll need the following software *installed* to use these scripts:
perl5 ftp://ftp.sbs.de/pub/tools/perl/perl/perl5.001m.tar.gz
gnuplot ftp://ftp.sbs.de/pub/gnu/gnuplot-3.5.tar.gz
netpbm ftp://ftp.sbs.de/pub/graphics/unix/netpbm/netpbm-1mar1994.tar.gz
giftool ftp://ftp.sbs.de/pub/www/tools/giftool/giftool.tar.gz
cmu-snmp ftp://ftp.net.cmu.edu/pub/snmp-dist [SNMP only]
cmu-snmp ftp://ftp.ibr.cs.tu-bs.de/pub/local/linux-cmu-snmp [SNMP only]