[mrtg] [DF 993k-2kd0k] Graph thinks it's Gigabytes instead of Bytes

i @ downfire i at downfire.com
Wed Oct 6 03:58:58 MEST 2004


I'v got a bit of a problem. I'v made a script so i can see in a graph how
many bytes got in and got out.
This works, but the problem is that the graph thinks it GB instead of B. I
have been all over internet and in the doc but i can't seem to find this.

This is the script:

Target[in_packets]: `/usr/local/mrtg-2/bin/iptab`
MaxBytes[in_packets]: 1500
Title[in_packets]: Inbound packets

PageTop[in_packets]: <h1>Inbound Packet Stats</h1>
Suppress[in_packets]: ymw
PNGTitle[in_packets]: INBOUND BYTES
Background[in_packets]: #FFFFFF

$IPTABLES -nvxL | grep INPUT | awk '{ print $7 }'
$IPTABLESi -nvxL | grep OUTPUT | awk '{ print $7 }'

Does someone know how i tell the MRTG script that it's Bytes and not
GigaBytes ?


Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the mrtg mailing list