[mrtg] Adjusting scales?

Chris Murley murley at townnews.com
Thu Jun 13 17:49:23 MEST 2002



Here is my config:

######################################################################
# this is the eth0 traffic graphing section from /proc/net/dev       #
######################################################################
Target[rhfsrv1.eth0]: `perl -e '@a=split(/[:\s]+/,qx(grep eth0
/proc/net/dev));$f="%.0f";$fmt="$f\n$f\n1\neth0 traffic\n";$s=sprintf
$fmt,$a[2],$a[10];print $s'`;
Options[rhfsrv1.eth0]: growright
MaxBytes[rhfsrv1.eth0]: 100000000000
kilo[rhfsrv1.eth0]: 1024
YLegend[rhfsrv1.eth0]: Bytes Per Second
ShortLegend[rhfsrv1.eth0]: B/s
Timezone[rhfsrv1.eth0]: CMT
Title[rhfsrv1.eth0]: RHFSRV1 - Eth0 traffic
PageTop[rhfsrv1.eth0]: <H2>RHFSRV1 - Eth0 traffic</H2>

Here is the URL: http://stats.lee.net/system_stats/mrtg/rhfsrv1.eth0.html

Why does this graph show kB/s? How can I make it show mB/s ?


I can't seem to make it show the values in megs, rather than k, does
anyone have any ideas?


thanks again for any help!

-- 
Regards,

 -Chris
__________________________________________________________________
Christopher Murley                PHONE: 309.743.0800
Senior Systems Administrator  TOLL FREE: 800.293.9576
TownNews.com \ Lee Enterprises      FAX: 309.743.0830
1521 47th Avenue                 E-Mail: murley at TownNews.com
Moline, Illinois 61265              Web: http://www.TownNews.com
------------------------------------------------------------------


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