[mrtg] Newbie - Unit in graph doesn't match unit in legend

Corstian corstian at consonare.nl
Mon Apr 4 07:59:34 MEST 2005


My last problem is a unit problem.

I configured mrtg to use a Factor of 1024, but this factor only works on
the  Legends of my graphs.

So, for example, my disk space in the legend is: 4295.3 MB, while the
legend on de Y-axis shows 4.4MB

Can anybody tell me, how I can multiply the legend on the Y-axis as well,
so this will show 4.4GB instead of 4.4MB ??

Below you can find an example of my disk space section in the mrtg.conf

thanks in advance!
Corstian


###
### Disk space of /dev/hda1 partition on mounted on /
###

Target[disk.hda1]:      `/home/corstian/bin/mrtg/partition_space /dev/hda1`
Options[disk.hda1]:     gauge,growright,nopercent
Title[disk.hda1]:       Disk Usage of /dev/hda1 mounted on /
MaxBytes[disk.hda1]:    10000000000
Factor[disk.hda1]:      1024
LegendO[disk.hda1]:     Total
LegendI[disk.hda1]:     Used
Legend1[disk.hda1]:     Total diskspace
Legend2[disk.hda1]:     Used diskspace
YLegend[disk.hda1]:     Bytes
ShortLegend[disk.hda1]: B
PageTop[disk.hda1]:     <H1>Disk Usage of /dev/hda1 mounted on / </H1>

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