home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / index / routstat.txt < prev    next >
Text File  |  1997-09-22  |  3KB  |  68 lines

  1. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  2. INDEX ENTRY FOR ROUTER-STATS:
  3. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  4.  
  5. Name: router-stats - Summarizes usage of Cisco routers
  6.  
  7. Version: 2.20 beta
  8.  
  9. Author(s): Iain Lea <iain@ecrc.de>
  10.  
  11.            Iain Lea
  12.            Kreigenbrunnerstr 28
  13.            91056 Erlangen
  14.            Germany
  15.  
  16. On the CD-ROM in: network/routstat.tar
  17.  
  18. Ftp source: ftp.sbs.de:/pub/networking/router-stats
  19.  
  20. Size on the CD: 174 KB (uncompressed)
  21.  
  22. Description:
  23.  
  24.     I needed to know how much data was pumping through our Internet
  25.     routers so that I could convince management that we needed to
  26.     upgrade our connection. To that end I developed a set of scripts
  27.     written in Perl5 that gather the relevant statistics and create
  28.     bargraphs of the collected data. Mangement now gets presented
  29.     with snazzy bargraphs and I get a faster connection         
  30.     without the associated hassles :).  
  31.  
  32.     The script get-router-stats is periodically run from cron and
  33.     accesses the specified router(s) and executes a show interface
  34.     command, parses the input and output rates (and thruput), writes
  35.     them to a file and exits. Support for SNMP is also included. New
  36.     methods can easily be added. The following access methods are
  37.     supported: Telnet-Cisco, Telnet-Socks-Cisco, Snmp-Cisco and
  38.     Snmp-Standard.      
  39.  
  40.     The script gen-router-stats is run as needed from cron to
  41.     generate bargraphs of the gathered statistics. Daily, weekly by
  42.     hour, weekly by day and monthly statistics are generated. Note:
  43.     by default only daily bargraphs are generated.      
  44.  
  45.     HTML pages are generated that link the different bargraphs to one
  46.     another by showing thumbnail images of the full size graphs.        
  47.  
  48.     The script cron-router-stats is an harness that drives the
  49.     gen-router-stats script with appropiate options read from the
  50.     router-stats.info file for each router.     
  51.  
  52.     -- Quoted from the 2.20 README file by Iain Lea
  53.  
  54. Advertised architectures:
  55.  
  56.     Not stated, but should run most anywhere
  57.  
  58. Prerequisites: 
  59.  
  60.     You'll need the following software *installed* to use these scripts:
  61.     
  62.     perl5    ftp://ftp.sbs.de/pub/tools/perl/perl/perl5.001m.tar.gz
  63.     gnuplot  ftp://ftp.sbs.de/pub/gnu/gnuplot-3.5.tar.gz
  64.     netpbm   ftp://ftp.sbs.de/pub/graphics/unix/netpbm/netpbm-1mar1994.tar.gz
  65.     giftool  ftp://ftp.sbs.de/pub/www/tools/giftool/giftool.tar.gz
  66.     cmu-snmp ftp://ftp.net.cmu.edu/pub/snmp-dist                 [SNMP only]
  67.     cmu-snmp ftp://ftp.ibr.cs.tu-bs.de/pub/local/linux-cmu-snmp  [SNMP only]
  68.