[mrtg] Problem with graph scale

Mika Koivisto mika.koivisto at gmail.com
Fri Nov 18 21:27:14 CET 2011

I have a slight problem when mrtg-rrd.cgi is plotting the used memory
graph. The y-axis shows k bytes but the info below shows correctly
Mbytes and the numbers are the same still. It looks like the graph is
off by factor of 1000.

Here's what I have in my mrtg.cfg

. at xxxx -
. at xxxx +
PseudoZero&. at xxxx
Directory[xxxx.mem]: coeus
Title[xxxx.mem]: Memory Usage on xxxx
PageTop[xxxx.mem]: <h1>Memory Usage</h1>
WithPeak[xxxx.mem]: wmy
#Unscaled[xxxx.mem]: dwmy
MaxBytes[xxxx.mem]: 288854016
kMG[xxxx.mem]: k,M,G,T,P,X
ShortLegend[xxxx.mem]: bytes
YLegend[xxxx.mem]: bytes
LegendI[xxxx.mem]: Used
LegendO[xxxx.mem]: Buffered + Cached
Legend1[xxxx.mem]: Used
Legend2[xxxx.mem]: Buffered + Cached
Options[xxxx.mem]: growright,nopercent,gauge,unknaszero

For eth0 traffic the graph match with the numbers so I'm not quite
sure what I'm doing wrong.

I'm using mrtg v2.9.17 and mrtg-rrd.cgi v0.7

Any help would be greatly appreciated. Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mem-day.png
Type: image/png
Size: 8217 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/mrtg/attachments/20111118/c222af3e/attachment.png 

More information about the mrtg mailing list