Multi Router Traffic Grapher

From DD-WRT Wiki

Revision as of 15:51, 27 July 2005 by 213.139.154.67 (Talk)
Jump to: navigation, search

You are here: Main Page/DD-WRT Docu (EN)/Multi Router Traffic Grapher


Contents

Introduction

From the MRTG website:
The Multi Router Traffic Grapher (MRTG) is a tool to monitor the traffic load on network-links. MRTG generates HTML pages containing graphical images which provide a LIVE visual representation of this traffic. Check http://www.ee.ethz.ch/stats/mrtg/ for an example. MRTG is based on Perl and C and works under UNIX and Windows NT. MRTG is being successfully used on many sites around the net.

Installation

Router

From the Web Interface
-Click on the Administration Tab
-Mark "Enable" next to SNMP
-Click Submit
-Click Continue
-Fill in the information in the SNMP section that opened up.
(Location, Contact, Name, RO Community, RW Community)

Desktop

There are a number of installation guides on the MRTG website.
In the guide, substitute:
public for the RO Community you filled in earlier
10.10.10.1 with the Local IP address of your router.

Windows

You should have Windows IIS installed, or some other web server you're familiar with. Substitute D:\InetPub\wwwroot\ for the wwwroot of your IIS installation.

Follow the guide at: http://people.ee.ethz.ch/~oetiker/webtools/mrtg/mrtg-nt-guide.html

Remove the line: WorkDir: c:\www\mrtg from the bottom of Make the folder D:\InetPub\wwwroot\MRTG Create a new virtual folder in IIS and point it to D:\InetPub\wwwroot\MRTG Browse to http://127.0.0.1/MRTG to see your traffic logs.

Alternately for a quick look, use STG which will let you monitor 2 OIDs at a time. http://leonidvm.chat.ru/

Use:

  • 1.3.6.1.2.1.2.2.1.10.8 for br0 interface (intern LAN port) and
  • 1.3.6.1.2.1.2.2.1.10.6 for vlan1 interface (extern WAN port)

Unix

Follow the guide at: http://people.ee.ethz.ch/~oetiker/webtools/mrtg/mrtg-unix-guide.html

SNMPOIDs

If you want to monitor something other than bytes in and out, you must also know the SNMPOID of what you want to monitor.
Here is a listing of SNMPOIDs for the DD-WRT firmware.
not completed

Some SNMP OIDs can be found in this forum thread: http://forum.bsr-clan.de/ftopic1245.html

External Resources

MRTG website


You are here: Main Page/DD-WRT Docu (EN)/Multi Router Traffic Grapher