ifcfg_traff

by Fany Siswanto <djava8z@unsoed.ac.id>

A quick shell script for mrtg that could measure  up
values from RX and TX from ethernet without using snmp.
configured for linux use.

some configuration example:

Target[eth0]: `/usr/local/mrtg-2/script/ifcfg_traff`
Options[eth0]: nopercent,growright,noinfo,nobanner
Title[eth0]: eth0 Traffic
PageTop[eth0]: <h1>eth0 Traffic</h1>
MaxBytes[eth0]: 10000000000
kilo[eth0]: 1024
YLegend[eth0]: bytes
ShortLegend[eth0]: bytes
LegendI[eth0]: &nbsp;eth0 Traffic:
LegendO[eth0]:
Legend1[eth0]: eth0 Traffic in bytes