Multi Router Traffic Grapher

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 13:23, 12 December 2005 (edit)
212.62.19.185 (Talk)

← Previous diff
Current revision (21:18, 5 January 2019) (edit) (undo)
Ian5142 (Talk | contribs)
(Added language header.)
 
(37 intermediate revisions not shown.)
Line 1: Line 1:
-'''You are here: ''' '''[[Main Page]]'''/'''[[DD-WRT Docu (EN)]]'''/'''[[Multi Router Traffic Grapher]]'''+{{Languages|Multi_Router_Traffic_Grapher}}
 +The [[Glossary#Multi Router Traffic Grapher (MRTG)|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. 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.
 +The usage of MRTG requires another host to actually run MRTG. The router itself provides its actual usage information over SNMP, but its MRTG's job on another host to keep track and display it. If the host is down for a while, no MRTG data can be recorded for the time beeing.
-=Introduction=+= Installation =
-From the [http://people.ee.ethz.ch/~oetiker/webtools/mrtg/ MRTG website]:<br>+== Router ==
-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.+Using the [[Web_Interface|Web Interface]]:
-=Installation=+# Goto the "Administration" tab and the "Services" sub-tab
-==Router==+# Enable "SNMP" and if new options don't appear, Apply Changes.
-From the Web Interface<br>+# Fill in information in the SNMP section. (Location, Contact, Name, RO Community, RW Community)
--Click on the Administration Tab<br>+
--Mark "Enable" next to SNMP<br>+
--Click Submit<br>+
--Click Continue<br>+
--Fill in the information in the SNMP section that opened up.<br>+
-(Location, Contact, Name, RO Community, RW Community)<br>+
-==Desktop==+== Desktop ==
-There are a number of installation guides on the [http://people.ee.ethz.ch/~oetiker/webtools/mrtg/ MRTG website].<br>+There are a number of installation guides on the [http://oss.oetiker.ch/mrtg/ MRTG website].
-In the guide, substitute:<br>+ 
-'''public''' for the ''RO Community'' you filled in earlier<br>+In the guide, substitute:
-'''10.10.10.1''' with the Local IP address of your router.<br>+ 
 +'''public''' for the ''RO Community'' you filled in earlier
 + 
 +'''10.10.10.1''' with the Local IP address of your router.
 + 
 +=== Windows ===
-===Windows=== 
You should have Windows IIS installed, or some other web server you're familiar with. 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+'''NOTE:''' Substitute '''D:\InetPub\wwwroot\''' for the wwwroot of your IIS installation.
-Remove the line: WorkDir: c:\www\mrtg from the bottom of +# Follow the [http://oss.oetiker.ch/mrtg/doc/mrtg-nt-guide.en.html MRTG guide]
-Make the folder '''D:\InetPub\wwwroot\'''MRTG+# Remove the line: WorkDir: c:\www\mrtg from the bottom of
-Create a new virtual folder in IIS and point it to '''D:\InetPub\wwwroot\'''MRTG+# Make the folder '''D:\InetPub\wwwroot\'''MRTG
-Browse to http://127.0.0.1/MRTG to see your traffic logs.+# 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. Alternately for a quick look, use STG which will let you monitor 2 OIDs at a time.
Line 37: Line 37:
Use: Use:
-* 1.3.6.1.2.1.2.2.1.10.8 for br0 interface (intern LAN port) for download (green) (1.3.6.1.2.1.2.2.1.16.8 upload(blue))+ 
-* 1.3.6.1.2.1.2.2.1.10.6 for vlan1 interface (extern WAN port) for download (green) (1.3.6.1.2.1.2.2.1.16.6 upload(blue))+ * 1.3.6.1.2.1.2.2.1.10.8 for br0 interface (intern LAN port) for download (green) (1.3.6.1.2.1.2.2.1.16.8 upload(blue))
-* 1.3.6.1.2.1.2.2.1.10.4 for eth1 interface (WLAN) for download (green) (1.3.6.1.2.1.2.2.1.16.4 upload(blue))+ * 1.3.6.1.2.1.2.2.1.10.6 for vlan1 interface (extern WAN port) for download (green) (1.3.6.1.2.1.2.2.1.16.6 upload(blue))
 + * 1.3.6.1.2.1.2.2.1.10.4 for eth1 interface (WLAN) for download (green) (1.3.6.1.2.1.2.2.1.16.4 upload(blue))
===Unix=== ===Unix===
-Follow the guide at: http://people.ee.ethz.ch/~oetiker/webtools/mrtg/mrtg-unix-guide.html 
-The OID's which MRTG will pick up in a default configuration are as follows:+Follow the guide at: http://oss.oetiker.ch/mrtg/doc/mrtg-unix-guide.en.html
 + 
 +The OID's which MRTG will pick up in a default configuration may be as follows:
* 5 (eth0) - all routed wired traffic, WAN + LAN * 5 (eth0) - all routed wired traffic, WAN + LAN
* 6 (eth1) - all routed wireless traffic * 6 (eth1) - all routed wireless traffic
Line 51: Line 53:
* 9 (br0) - vlan0-eth1 bridge traffic * 9 (br0) - vlan0-eth1 bridge traffic
Currently, there is no way to monitor switched traffic. Currently, there is no way to monitor switched traffic.
 +
 +Depending on the model of your router the interface names and functions can vary.
 +* You can use <tt>snmpwalk</tt> to display the names of your interfaces:<br><tt>snmpwalk -v2c -c public 192.168.15.2 | grep ifDescr</tt>
 +**or use the OID within the walk
 +<pre>[root@server]# snmpwalk -v2c -c public 192.168.1.1 ifDescr
 +IF-MIB::ifDescr.1 = STRING: lo
 +IF-MIB::ifDescr.2 = STRING: teql0
 +IF-MIB::ifDescr.3 = STRING: eth0
 +IF-MIB::ifDescr.4 = STRING: eth1
 +IF-MIB::ifDescr.5 = STRING: vlan0
 +IF-MIB::ifDescr.6 = STRING: vlan1
 +IF-MIB::ifDescr.7 = STRING: br0
 +IF-MIB::ifDescr.8 = STRING: etherip0
 +IF-MIB::ifDescr.9 = STRING: ppp0
 +IF-MIB::ifDescr.10 = STRING: imq0
 +IF-MIB::ifDescr.11 = STRING: imq1
 +</pre>(DD-WRT v24sp2 on a WRT-54GL, the interfaces seem to have changed from v23, note #8)
 +* The [http://wiki.openwrt.org openwrt wiki] has an exhaustive list of router models and interface names on its [http://http://wiki.openwrt.org/OpenWrtDocs/Configuration Configuration page] and a nice schematic drawing on its [http://wiki.openwrt.org/OpenWrtDocs/NetworkInterfaces Network Interfaces] page.
=SNMPOIDs= =SNMPOIDs=
Line 76: Line 96:
- 1.3.6.1.4.1.2021.10.1.5.1 = 01 min avg, Value is between 0 and 100+ 1.3.6.1.4.1.2021.10.1.5.1 = 01 min avg, 1 means 0.01 and 150 means 1.5
- 1.3.6.1.4.1.2021.10.1.5.2 = 05 min avg, Value is between 0 and 100+ 1.3.6.1.4.1.2021.10.1.5.2 = 05 min avg, 1 means 0.01 and 150 means 1.5
- 1.3.6.1.4.1.2021.10.1.5.3 = 15 min avg, Value is between 0 and 100+ 1.3.6.1.4.1.2021.10.1.5.3 = 15 min avg, 1 means 0.01 and 150 means 1.5
-=External Resources= 
-[http://people.ee.ethz.ch/~oetiker/webtools/mrtg/ MRTG website] 
----- 
-'''You are here: ''' '''[[Main Page]]'''/'''[[DD-WRT Docu (EN)]]'''/'''[[Multi Router Traffic Grapher]]''' 
-<div id="kbektt12023" style="overflow:auto;height:1px;">+'''For UP and DOWN traffic on the WAN-side:'''
-[http://health.20mbweb.com/buy-adipex/ buy adipex]+ 
-[http://health.20mbweb.com/buy-ambien/ buy ambien]+ 1.3.6.1.2.1.2.2.1.10.8 = Total Downloaded in Bytes
-[http://health.20mbweb.com/buy-cialis/ buy cialis]+ 1.3.6.1.2.1.2.2.1.16.8 = Total Uploaded in Bytes
-[http://health.20mbweb.com/buy-fioricet/ buy fioricet]+ 
-[http://health.20mbweb.com/buy-phentermine/ buy phentermine]+ 
-[http://health.20mbweb.com/buy-soma/ buy soma]+ 
-[http://health.20mbweb.com/buy-tramadol/ buy tramadol]+'''For memory usage:'''
-[http://health.20mbweb.com/buy-valium/ buy valium]+ 
-[http://health.20mbweb.com/buy-viagra/ buy viagra]+ 1.3.6.1.2.1.25.2.3.1.5.101 = Total available
-[http://health.20mbweb.com/buy-xanax/ buy xanax]+ 1.3.6.1.2.1.25.2.3.1.6.101 = Used
-[http://health.20mbweb.com/buy-tamiflu/ buy tamiflu]+ 
-[http://tw886.to/viagra/ buy viagra]+= References =
-[http://tw886.to/phentermine1/ buy phentermine]+http://oss.oetiker.ch/mrtg/ MRTG website
-[http://tw886.to/ambien/ buy ambien]+ 
-[http://tw886.to/soma/ buy soma]+= External Links =
-[http://tw886.to/carisoprodol/ buy carisoprodol]+[http://oss.oetiker.ch/mrtg/ MRTG website]
-[http://tw886.to/ringtones/ free ringtones]+[http://blog.eukhost.com/2006/09/23/mrtg/ MRTG]
-[http://tw886.to/hydrocodone/ buy hydrocodone]+ 
-[http://tw886.to/adipex/ buy adipex]+[[Category:Monitoring]]
-[http://tw886.to/xenical/ buy xenical]+[[Category:Interfaces]]
-[http://tw886.to/cialis/ buy cialis]+
-[http://tw886.to/ultram/ buy ultram]+
-[http://tw886.to/fioricet/ buy fioricet]+
-[http://tw886.to/valium/ buy valium]+
-[http://tw886.to/vicodin/ buy vicodin]+
-[http://lucky7.to/viagra/ buy viagra]+
-[http://lucky7.to/phentermine1/ buy phentermine]+
-[http://lucky7.to/tramadol/ buy tramadol]+
-[http://lucky7.to/ambien/ ambien]+
-[http://lucky7.to/adipex1/ buy adipex]+
-[http://lucky7.to/cialis/ buy cialis]+
-[http://lucky7.to/hydrocodone/ buy hydrocodone]+
-[http://viagra.fb.bz/ buy viagra]+
-[http://buy-ambien.fb.bz/ buy ambien]+
-[http://buy-adipex.fb.bz/ buy adipex]+
-[http://buy-tramadol.fb.bz/ buy tramadol]+
-[http://buy-hydrocodone.fb.bz/ buy hydrocodone]+
-[http://buy-xanax.fb.bz/ buy xanax]+
-[http://buy-xenical.fb.bz/ buy xenical]+
-[http://buy-soma.fb.bz/ buy soma]+
-[http://buy-carisoprodol.fb.bz/ buy carisoprodol]+
-[http://buy-ultram.fb.bz/ buy ultram]+
-[http://buy-valium.fb.bz/ buy valium]+
-[http://buy-vicodin.fb.bz/ buy vicodin]+
-[http://buy-phentermine.fb.bz/ buy phentermine]+
-[http://buy-fioricet.fb.bz/ buy fioricet]+
-[http://buy-viagra.fb.bz/ buy viagra]+
-[http://buy-cialis.fb.bz/ buy cialis]+
-[http://lucky7.to/valium/ buy valium]+
-[http://lucky7.to/ultram/ buy ultram]+
-[http://lucky7.to/carisoprodol/ buy carisoprodol]+
-[http://lucky7.to/fioricet/ buy fioricet]+
-[http://lucky7.to/vicodin/ buy vicodin]+
-[http://lucky7.to/soma/ buy soma]+
-[http://lucky7.to/xanax/ buy xanax]+
-[http://lucky7.to/xenical/ buy xenical]+
-[http://lucky7.to/meridia/ buy meridia]+
-[http://lucky7.to/alprazolam/ buy alprazolam]+
-[http://buy-ambien.qdo.org/ buy ambien]+
-[http://buy-viagra-online.qdo.org/ buy viagra]+
-[http://buy-phentermine.qdo.org/ buy phentermine]+
-[http://buy-adipex.qdo.org/ buy adipex]+
-[http://buy-tramadol.qdo.org/ buy tramadol]+
-[http://buy-xanax.qdo.org/ buy xanax]+
-[http://buy-xenical.qdo.org/ buy xenical]+
-[http://buy-valium.qdo.org/ buy valium]+
-[http://buy-hydrocodone.qdo.org/ buy hydrocodone]+
-[http://cheap-phentermine.fb.bz/ cheap phentermine]+
-[http://cheap-viagra.fb.bz/ cheap viagra]+
-[http://ultram.fb.bz/ ultram]+
-[http://meridia.fb.bz/ meridia]+
-[http://alprazolam.fb.bz/ alprazolam]+
-[http://carisoprodol.fb.bz/ carisoprodol]+
-[http://xanax.fb.bz/ xanax]+
-[http://ambien.fb.bz/ ambien]+
-[http://xenical.fb.bz/ xenical]+
-[http://fioricet.fb.bz/ fioricet]+
-[http://soma.fb.bz/ soma]+
-[http://buy-viagra.24us.info/ buy viagra]+
-[http://buy-phentermine.24us.info/ buy phentermine]+
-[http://buy-ambien.24us.info/ buy ambien]+
-[http://buy-adipex.24us.info/ buy adipex]+
-[http://buy-tramadol.24us.info/ buy tramadol]+
-[http://buy-hydrocodone.24us.info/ buy hydrocodone]+
-[http://buy-xanax.24us.info/ buy xanax]+
-[http://buy-xenical.24us.info/ buy xenical]+
-[http://buy-soma.24us.info/ buy soma]+
-[http://buy-carisoprodol.24us.info/ buy carisoprodol]+
-[http://buy-ultram.24us.info/ buy ultram]+
-[http://ultram.ijijiji.com/ buy ultram]+
-[http://vicodin.ijijiji.com/ buy vicodin]+
-[http://carisoprodol.ijijiji.com/ buy carisoprodol]+
-[http://xenical.ijijiji.com/ buy xenical]+
-[http://fioricet.ijijiji.com/ buy fioricet]+
-[http://ambien.ijijiji.com/ buy ambien]+
-[http://cialis.ijijiji.com/ buy cialis]+
-[http://soma.ijijiji.com/ buy soma]+
-[http://viagra1.ijijiji.com/ buy viagra]+
-[http://phentermine1.ijijiji.com/ buy phentermine]+
-[http://adipex1.ijijiji.com/ buy adipex]+
-[http://xanax1.ijijiji.com/ buy xanax]+
-[http://tramadol1.ijijiji.com/ buy tramadol]+
-[http://hydrocodone1.ijijiji.com/ buy hydrocodone]+
-[http://meridia.ijijiji.com/ buy meridia]+
-[http://alprazolam.ijijiji.com/ buy alprazolam]+
-[http://buy-viagra.ca.tf/ buy viagra]+
-[http://buy-phentermine.ca.tf/ buy phentermine]+
-[http://buy-ambien.ca.tf/ buy ambien]+
-[http://buy-adipex1.ca.tf/ buy adipex]+
-[http://buy-xanax.ca.tf/ buy xanax]+
-[http://buy-xenical.ca.tf/ buy xenical]+
-[http://buy-tramadol.ca.tf/ buy tramadol]+
-[http://buy-hydrocodone.ca.tf/ buy hydrocodone]+
-[http://buy-carisoprodol.ca.tf/ buy carisoprodol]+
-[http://buy-valium.ca.tf/ buy valium]+
-[http://buy-cialis.ca.tf/ buy cialis]+
-[http://buy-soma.ca.tf/ buy soma]+
-[http://buy-fioricet.ca.tf/ buy fioricet]+
-[http://buy-ultram.ca.tf/ buy ultram]+
-[http://buy-vicodin.ca.tf/ buy vicodin]+
-[http://buy-meridia.ca.tf/ buy meridia]+
-[http://buy-alprazolam1.ca.tf/ buy alprazolam]+
-[http://hk852.to/viagra1/ buy viagra]+
-[http://hk852.to/ambien1/ buy ambien]+
-[http://hk852.to/phentermine1/ buy phentermine]+
-[http://hk852.to/adipex1/ buy adipex]+
-[http://hk852.to/xanax/ buy xanax]+
-[http://hk852.to/xenical/ buy xenical]+
-[http://hk852.to/cialis1/ buy cialis]+
-[http://hk852.to/fioricet1/ buy fioricet]+
-[http://hk852.to/valium1/ buy valium]+
-[http://hk852.to/ultram1/ buy ultram]+
-[http://hk852.to/vicodin1/ buy vicodin]+
-[http://hk852.to/meridia1/ buy meridia]+
-[http://hk852.to/soma1/ buy soma]+
-[http://hk852.to/carisoprodol/ buy carisoprodol]+
-[http://hk852.to/tramadol1/ buy tramadol]+
-[http://hk852.to/hydrocodone1/ buy hydrocodone]+
-[http://hk852.to/alprazolam/ buy alprazolam]+
-[http://free-ringtones.ca.tf/ free ringtones]+
-[http://cell-phone-ringtones.ca.tf/ cell phone ringtones]+
-[http://nextel-ringtones.ca.tf/ nextel ringtones]+
-[http://98.to/viagra1/ buy viagra]+
-[http://98.to/phentermine2/ buy phentermine]+
-[http://98.to/ambien1 buy ambien]+
-[http://98.to/adipex2/ buy adipex]+
-[http://98.to/xanax1/ buy xanax]+
-[http://98.to/xenical1/ buy xenical]+
-[http://98.to/cialis1/ buy cialis]+
-[http://98.to/fioricet1/ buy fioricet]+
-[http://98.to/valium1/ buy valium]+
-[http://98.to/tramadol1/ buy tramadol]+
-[http://98.to/carisoprodol1/ buy carisoprodol]+
-[http://98.to/soma1/ buy soma]+
-[http://98.to/ultram1/ buy ultram]+
-[http://98.to/hydrocodone2/ buy hydrocodone]+
-[http://98.to/vicodin1/ buy vicodin]+
-[http://98.to/meridia1/ buy meridia]+
-[http://98.to/alprazolam1/ buy alprazolam]+
-</div>+

Current revision

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. 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.

The usage of MRTG requires another host to actually run MRTG. The router itself provides its actual usage information over SNMP, but its MRTG's job on another host to keep track and display it. If the host is down for a while, no MRTG data can be recorded for the time beeing.

Contents

[edit] Installation

[edit] Router

Using the Web Interface:

  1. Goto the "Administration" tab and the "Services" sub-tab
  2. Enable "SNMP" and if new options don't appear, Apply Changes.
  3. Fill in information in the SNMP section. (Location, Contact, Name, RO Community, RW Community)

[edit] 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.

[edit] Windows

You should have Windows IIS installed, or some other web server you're familiar with.

NOTE: Substitute D:\InetPub\wwwroot\ for the wwwroot of your IIS installation.

  1. Follow the MRTG guide
  2. Remove the line: WorkDir: c:\www\mrtg from the bottom of
  3. Make the folder D:\InetPub\wwwroot\MRTG
  4. Create a new virtual folder in IIS and point it to D:\InetPub\wwwroot\MRTG
  5. 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) for download (green) (1.3.6.1.2.1.2.2.1.16.8 upload(blue))
  * 1.3.6.1.2.1.2.2.1.10.6 for vlan1 interface (extern WAN port) for download (green) (1.3.6.1.2.1.2.2.1.16.6 upload(blue))
  * 1.3.6.1.2.1.2.2.1.10.4 for eth1 interface (WLAN) for download (green) (1.3.6.1.2.1.2.2.1.16.4 upload(blue))

[edit] Unix

Follow the guide at: http://oss.oetiker.ch/mrtg/doc/mrtg-unix-guide.en.html

The OID's which MRTG will pick up in a default configuration may be as follows:

  • 5 (eth0) - all routed wired traffic, WAN + LAN
  • 6 (eth1) - all routed wireless traffic
  • 7 (vlan0) - all routed LAN traffic
  • 8 (vlan1) - WAN traffic
  • 9 (br0) - vlan0-eth1 bridge traffic

Currently, there is no way to monitor switched traffic.

Depending on the model of your router the interface names and functions can vary.

  • You can use snmpwalk to display the names of your interfaces:
    snmpwalk -v2c -c public 192.168.15.2 | grep ifDescr
    • or use the OID within the walk
[root@server]# snmpwalk -v2c -c public 192.168.1.1 ifDescr
IF-MIB::ifDescr.1 = STRING: lo
IF-MIB::ifDescr.2 = STRING: teql0
IF-MIB::ifDescr.3 = STRING: eth0
IF-MIB::ifDescr.4 = STRING: eth1
IF-MIB::ifDescr.5 = STRING: vlan0
IF-MIB::ifDescr.6 = STRING: vlan1
IF-MIB::ifDescr.7 = STRING: br0
IF-MIB::ifDescr.8 = STRING: etherip0
IF-MIB::ifDescr.9 = STRING: ppp0
IF-MIB::ifDescr.10 = STRING: imq0
IF-MIB::ifDescr.11 = STRING: imq1
(DD-WRT v24sp2 on a WRT-54GL, the interfaces seem to have changed from v23, note #8)

[edit] 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

Please copy the important OIDs here!!!


For CPU load dd-wrt snmpd provides two sets of MIBs:

1.3.6.1.4.1.2021.10.1.3.1 = 01 min avg, Value is between 0.00 and 1.00.
1.3.6.1.4.1.2021.10.1.3.2 = 05 min avg, Value is between 0.00 and 1.00.
1.3.6.1.4.1.2021.10.1.3.3 = 15 min avg, Value is between 0.00 and 1.00.

The values above need to be multiplied by 100 since mrtg does integers.

Example:

Target[10.0.0.1.cpu]: 1.3.6.1.4.1.2021.10.1.3.1&1.3.6.1.4.1.2021.10.1.3.2:public@10.0.0.1: *100


1.3.6.1.4.1.2021.10.1.5.1 = 01 min avg, 1 means 0.01 and 150 means 1.5
1.3.6.1.4.1.2021.10.1.5.2 = 05 min avg, 1 means 0.01 and 150 means 1.5
1.3.6.1.4.1.2021.10.1.5.3 = 15 min avg, 1 means 0.01 and 150 means 1.5


For UP and DOWN traffic on the WAN-side:

1.3.6.1.2.1.2.2.1.10.8 = Total Downloaded in Bytes
1.3.6.1.2.1.2.2.1.16.8 = Total Uploaded in Bytes


For memory usage:

1.3.6.1.2.1.25.2.3.1.5.101 = Total available
1.3.6.1.2.1.25.2.3.1.6.101 = Used

[edit] References

http://oss.oetiker.ch/mrtg/ MRTG website

[edit] External Links

MRTG website MRTG