University of Mining
and Geology "St. Ivan Rilski"
Sofia, Bulgaria
Volin Karagiozov
V.Karagiozov@mgu.bg
Multi Router Traffic
Grapher

Version 2.4, 4th July 1997
Original site http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html
Programming by Tobias
Oetiker <oetiker@ee.ethz.ch>, Dave
Rand <dlr@bungi.com> and a number of other people from
the Global-Village.
Documentation by Tobias Oetiker <oetiker@ee.ethz.ch>
What is
The Multi Router Traffic Grapher (MRTG)
- a tool to monitor
the traffic load on network-links.
- generates HTML pages containing
GIF images which provide a
LIVE visual representation of
this traffic.
- based on Perl
and C and works under UNIX
and Windows NT
- consists of a Perl
script which uses SNMP
to read the traffic counters of your routers
- a fast C
program which logs the
traffic data
- creates beautiful graphs
representing the traffic on the monitored network connection.
- The graphs are embedded into
webpages
which can be viewed from any modern Web-browser
Highlights of MRTG
- Works on most UNIX
platforms and Windows NT
- Uses Perl for easy customization
- Has a highly
portable SNMP implementation
written entirely in Perl thanks to Simon Leinen. There is no
need to install any external SNMP package.
- MRTG's logfiles
do NOT grow. Thanks to
the use of a unique data consolidation algorithm.
- MRTG comes with a semi-automatic
configuration tool.
- MRTG's query engine checks for
port reconfigurations on the router and warns the user when they occur.
- Time critical routines are written
in C thanks to the initiative of Dave Rand Co-Author
- Graphics are
generated directly in GIF format, using the GD
library by Thomas Boutell.
- The look of the webpages produced
by MRTG is highly configurable.
- MRTG is available under the
GNU PUBLIC LICENSE.
Systems MRTG is
running on
- Linux 1.2.13, 2.0.X (Intel and Alpha)
- SunOS 4.1.3
- Solaris 2.4, 2.5, 2.5.1
- AIX 4.1.4
- HPUX 10.20
- WindowsNT
- IRIX 6.2
- BSDI BSD/OS 2.1
- NetBSD (sparc)
- FreeBSD 2.1.x
- Digital Unix 4.0
- SCO Open Server 5.0
Devices monitored with
MRTG
- Cisco CS500, 1003pro, 25XX, 7xxx, 4000-M, 4500, 4500-M,
4700, AGS+, LS1010 ATM-Switch, 5000 Ethernet Switch
- 3com etherswitches and hubs
- Morningstar terminal servers/routers
- US-Robotics Total Control Modemracks
- 3Com NETBuilders, LANplex 6012 and 2500
- Squid Web cache
Special applications
apart from traffic monitoring
MRTG on Windows NT
The prerequisites for running MRTG are:
- Having TCP/IP
installed and functioning correctly on your
NT machine.
- Having Perl
for Win32 installed. Check the Perl
for Win32 FAQ
(http://www.ActiveState.com/pw32/)
for more info.
- A version of rateup program compiled with Watcom C/C++
10.6 and a statically linked GD library is available here
(http://www.testlab.orst.edu/traffic/rateup.zip).
- a NT cron
daemon that works well available from most
of the SimTel mirrors